Function at 0x464620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54afc2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x673114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00402160
push 0xc
call fcn.00474d5d
add esp, 4
test eax, eax
je 0x464675
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x464677
xor eax, eax
push 0
push 0
push 0
push 0
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x50], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004e6eec
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004daa5a
add esp, 8
test eax, eax
jne 0x4646ba
push 1
push 0x6578fc
lea ecx, [ebp - 0x40]
call fcn.00404240
push 2
push 0x5b4d64
lea ecx, [ebp - 0x40]
call fcn.00404240
push 4
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00463f50
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.004dadb1
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00404370
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46470d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x464739
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407e30
push 4
push str..exe
lea ecx, [ebp - 0x40]
call fcn.00404240
lea esi, [edi + 0x14]
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x46475e
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402880
mov ecx, edi
call fcn.00457470
cmp dword [esi + 0x14], 8
jb 0x46476f
mov eax, dword [esi]
jmp 0x464771
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x4647f9
mov eax, dword [0x675ab8]
test eax, eax
jne 0x4647b3
push 0x39c
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4647a8
mov ecx, eax
call fcn.00431000
jmp 0x4647aa
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x675ab8], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00431ce0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x4647cc
mov ecx, dword [esi]
jmp 0x4647ce
mov ecx, esi
cmp dword [eax + 0x14], 8
jb 0x4647d6
mov eax, dword [eax]
push ecx
push eax
call fcn.004dbc4b
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x4647f9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
cmp dword [esi + 0x14], 8
jb 0x464803
mov eax, dword [esi]
jmp 0x464805
mov eax, esi
push eax
call fcn.004dc06d
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x464818
mov eax, dword [esi]
jmp 0x46481a
mov eax, esi
push eax
call edi
test eax, eax
jne 0x4648ba
mov eax, dword [0x675ab8]
test eax, eax
jne 0x46485a
push 0x39c
call fcn.00474d5d
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x46484f
mov ecx, eax
call fcn.00431000
jmp 0x464851
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x675ab8], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00431ce0
mov edi, eax
cmp esi, edi
je 0x4648a5
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46487e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402750
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x464896
mov eax, dword [esi]
jmp 0x464898
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004041d0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4648ba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4648cf
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474d9e
mov esp, ebp
pop ebp
ret