Function at 0x4905c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c955a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov esi, edx
push esi
mov edi, ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x490704
mov eax, edi
call fcn.004909a0
test eax, eax
jl 0x490704
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], 0x80004005
call fcn.00431e70
lea ecx, [esp + 0x48]
push ecx
xor ebp, ebp
lea ecx, [esp + 0x84]
mov dword [esp + 0xb0], ebp
call fcn.0048bd20
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 1
call fcn.0048b5f0
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 3
call fcn.004035c0
push eax
lea ecx, [esp + 0x38]
call fcn.0041f790
mov byte [esp + 0xac], 4
mov edx, dword [edi + 0xc]
mov edi, dword [eax]
mov esi, dword [edx]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
push edx
call ecx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.0041f760
cmp esi, ebp
jge 0x49070e
mov byte [esp + 0xac], 2
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4906e6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x64]
call fcn.004069c0
lea ecx, [esp + 0x80]
call fcn.004069c0
lea ecx, [esp + 0x48]
call fcn.004069c0
mov eax, 0x80004005
jmp 0x49096b
mov dword [esp + 0x28], ebp
mov byte [esp + 0xac], 5
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.004035c0
push eax
lea ecx, [esp + 0x20]
call fcn.00409320
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 6
mov esi, dword [edi]
push ecx
mov ecx, eax
add esi, 0x30
call fcn.004636c0
mov edx, dword [esi]
push eax
push edi
call edx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00401020
cmp esi, ebp
jge 0x490798
mov byte [esp + 0xac], 3
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x490777
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xac], 2
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4906e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4906e6
mov dword [esp + 0x24], ebp
mov byte [esp + 0xac], 7
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
cmp eax, ebp
jge 0x4907d3
mov byte [esp + 0xac], 5
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x49075f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x49075f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebp
jl 0x4907b9
cmp dword [esp + 0x2c], ebp
jle 0x490901
mov dword [esp + 0x20], 0
mov ecx, ebp
mov word [esp + 0x34], 3
mov dword [esp + 0x3c], ecx
mov byte [esp + 0xac], 9
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
lea eax, [esp + 0x20]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
lea ecx, [esp + 0x34]
setl bl
call fcn.0041f760
test bl, bl
jne 0x4908e9
lea ecx, [esp + 0x1c]
call fcn.0041dc10
mov byte [esp + 0xac], 0xa
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
lea ecx, [esp + 0x1c]
mov edi, eax
add esi, 0x24
call fcn.0042cf10
push eax
mov eax, dword [esi]
push edi
call eax
test eax, eax
jl 0x4908e0
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.004636c0
push eax
call fcn.004a35b4
add esp, 8
test eax, eax
je 0x4908d0
lea ecx, [esp + 0x1c]
call fcn.00401020
mov byte [esp + 0xac], 7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4908c1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x4907f6
jmp 0x490901
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x1c]
call fcn.00401020
mov byte [esp + 0xac], 7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x490901
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xac], 5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x490919
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xac], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x490931
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xac], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x490949
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x64]
call fcn.004069c0
lea ecx, [esp + 0x80]
call fcn.004069c0
lea ecx, [esp + 0x48]
call fcn.004069c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004a1723
add esp, 0x9c
ret 4