Function at 0x46f410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e90a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x258]
add ecx, 0x8cc
call fcn.00418300
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46f48b
push 0x5839d4
mov ecx, dword [ebp + 8]
call fcn.0041a130
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 8]
jmp 0x46f6ab
cmp dword [ebp - 0x1c], 1
jne 0x46f4b4
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a130
mov edx, dword [ebp - 0x254]
or edx, 1
mov dword [ebp - 0x254], edx
mov eax, dword [ebp + 8]
jmp 0x46f6ab
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.00473100
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x258]
add ecx, 0x8cc
call fcn.0047d500
push eax
lea ecx, [ebp - 0x18]
call fcn.00459350
movzx eax, al
test eax, eax
je 0x46f51c
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x8cc
call fcn.00417ae0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.0047d8a0
jmp 0x46f571
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x258]
add ecx, 0x8cc
call fcn.00417ae0
push eax
lea ecx, [ebp - 0x18]
call fcn.00459350
movzx edx, al
test edx, edx
je 0x46f569
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x8cc
call fcn.0047d500
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
jmp 0x46f571
lea ecx, [ebp - 0x18]
call fcn.0047d8a0
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0053c870
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
call fcn.00472ad0
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
lea eax, [ebp - 0x22c]
push eax
call fcn.0041a130
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00487940
mov edx, dword [eax]
push edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x258]
call fcn.004725f0
lea ecx, [ebp - 0x10]
call fcn.00438030
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00487940
mov ecx, dword [eax]
call fcn.00476080
mov ecx, eax
call fcn.00406410
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x5839d8
lea ecx, [ebp - 0x10]
push ecx
call fcn.004386c0
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f66c
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00438050
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov eax, dword [ebp + 8]
jmp 0x46f6ab
push 0x5839e4
mov ecx, dword [ebp + 8]
call fcn.0041a130
mov ecx, dword [ebp - 0x254]
or ecx, 1
mov dword [ebp - 0x254], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov eax, dword [ebp + 8]
jmp 0x46f6ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 8