Function at 0x4146b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489c70
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.0044d630
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4146fc
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], ebx
call fcn.0044d630
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41472a
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
movsx eax, byte [ebp + 0xc]
mov byte [esp + 0x48], 1
mov ecx, dword [0x4b9260]
push ecx
push eax
lea edx, [esp + 0x18]
push str._c:RECYCLER88_sparam_
push edx
call fcn.004067e0
mov edi, dword [esp + 0x20]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4147ca
add edi, 0xfffffff0
push edi
call fcn.00406990
mov ecx, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [ecx], eax
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x48], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4147a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414998
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x414998
cmp dword [ebp + 0x10], ebx
je 0x414947
mov ecx, edi
call fcn.004143d0
test eax, eax
je 0x414947
lea ecx, [esp + 0x28]
call fcn.0045449c
push str.hj.dat
lea ecx, [esp + 0x18]
push 0x4b9120
push ecx
mov byte [esp + 0x54], 2
call fcn.00406070
add esp, 0xc
push ebx
mov byte [esp + 0x4c], 3
mov eax, dword [eax]
push 0x3001
push eax
lea ecx, [esp + 0x34]
call fcn.004544b2
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], ebx
je 0x414920
lea ecx, [esp + 0x14]
call fcn.00401f40
push ebx
mov byte [esp + 0x4c], 4
call fcn.004695bc
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov esi, str._y__m__d__H:_M:_S
lea edi, [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.0040bed0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 5
call fcn.00406820
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4148b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
movsx eax, byte [ebp + 0xc]
mov edi, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._c__s_r_n
push ecx
call fcn.004067e0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x28]
add esp, 0x10
push 2
push ebx
push ebx
lea ecx, [esp + 0x34]
call eax
mov esi, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x2c]
call fcn.00454681
lea ecx, [esp + 0x28]
call fcn.00454857
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41491c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
add edi, 0xfffffff0
push edi
call fcn.00406990
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
call fcn.00454893
jmp 0x414780
mov ecx, dword [ebp + 8]
push 0x494704
call fcn.00406500
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x48], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x48], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414998
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret