Function at 0x462290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e751
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
call fcn.00463620
push eax
lea ecx, [ebp - 0x94]
call fcn.004710d0
mov dword [ebp - 4], 0
call fcn.00463630
mov ecx, eax
call fcn.00472200
movzx eax, al
test eax, eax
je 0x46233a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004716d0
lea ecx, [ebp - 0x94]
call fcn.00471590
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462335
mov byte [ebp - 0x3cd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3cd]
jmp 0x462698
jmp 0x462679
call fcn.00463630
push eax
lea ecx, [ebp - 0x94]
call fcn.004716a0
mov dword [ebp - 0x3d8], 0
call fcn.00463a20
movzx edx, al
test edx, edx
je 0x462371
call fcn.00463640
mov dword [ebp - 0x3d8], eax
jmp 0x4623f6
call fcn.00463650
push eax
lea ecx, [ebp - 0x19c]
call fcn.004710d0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x19c]
call fcn.00471590
push eax
call fcn.0046c450
add esp, 8
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x94]
call fcn.00471590
push eax
call fcn.00477a30
add esp, 8
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3e4], 0
je 0x4623e7
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.004f19f5
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.00471320
cmp dword [ebp - 0x3d8], 0
jne 0x462423
mov byte [ebp - 0x3ce], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3ce]
jmp 0x462698
mov dword [ebp - 0x3e8], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call fcn.00471110
mov byte [ebp - 4], 2
push 0x540924
push 0x540370
lea ecx, [ebp - 0x118]
call fcn.004725c0
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x3e8]
push edx
push 1
lea ecx, [ebp - 0x118]
call fcn.00471590
push eax
mov eax, dword [ebp - 0x3d8]
push eax
call fcn.00476d40
add esp, 0x14
test eax, eax
je 0x4624b9
mov byte [ebp - 0x3cf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3cf]
jmp 0x462698
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0
jne 0x462501
mov byte [ebp - 0x3d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3d0]
jmp 0x462698
cmp dword [ebp - 0x3dc], 0x400000
jbe 0x462540
mov byte [ebp - 0x3d1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3d1]
jmp 0x462698
mov edx, dword [ebp - 0x3dc]
push edx
call fcn.004f1bf5
add esp, 4
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.004782a0
add esp, 0x10
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x462609
cmp dword [ebp - 0x3ec], 0x600
je 0x462609
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3f8], edx
mov eax, dword [ebp - 0x3f8]
push eax
call fcn.004f19f5
add esp, 4
call fcn.00463a20
movzx ecx, al
test ecx, ecx
jne 0x4625d6
mov edx, dword [ebp - 0x3d8]
push edx
call fcn.00476980
add esp, 4
mov byte [ebp - 0x3d2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3d2]
jmp 0x462698
call fcn.00463a20
movzx eax, al
test eax, eax
jne 0x462624
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.00476980
add esp, 4
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.004f19f5
add esp, 4
mov dword [ebp - 0x3e0], 0
mov byte [ebp - 0x3d3], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3d3]
jmp 0x462698
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
mov al, byte [ebp - 0x3d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 4