Function at 0x40264d
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], esi
call fcn.004055a8
cmp dword [esi + 0x18], 0
je 0x41630c
mov eax, dword [esi + 0x10]
push ebx
push edi
push 0xfffffffffffffff1
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x228], eax
call fcn.00402625
push 0x4013b0
mov esi, 0x40d988
push esi
push 4
call fcn.004173ad
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, 0x249f0
add esp, 0xc
push 2
push 0x4ff
push ebx
lea eax, [ebp - 0x228]
push eax
push 1
call edi
test eax, eax
je 0x41642f
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x416336
cmp eax, 0x102
jne 0x4163fe
push 0x401880
push esi
push 4
call fcn.004173ad
add esp, 0xc
and dword [ebp - 0x224], 0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 0x210], 0
jge 0x40272c
push 0
lea ecx, [ebp - 0x218]
call fcn.00402625
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, dword [eax + 0x18]
call fcn.00402951
cmp dword [ebp - 0x210], 0xfffffff1
mov dword [ebp - 0x21c], eax
jle 0x40276f
push 0xfffffffffffffff1
lea ecx, [ebp - 0x218]
call fcn.00402625
cmp dword [ebp - 0x21c], 0
jl 0x402834
lea eax, [ebp - 0x20c]
push eax
push 0x402820
push esi
push 4
call fcn.004173ad
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416371
push 0x4027f4
push esi
push 4
call fcn.004173ad
add esp, 0xc
inc dword [ebp - 0x224]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [ebp - 0x20c], 0
jne 0x402700
push 0xfffffffffffffff1
lea ecx, [ebp - 0x218]
call fcn.00402625
push 0x4013b0
push esi
push 4
call fcn.004173ad
jmp 0x4026b5
push dword [ebp - 0x21c]
push 0x402850
push esi
push 3
call fcn.004173ad
add esp, 0x10
jmp 0x4027d4
push 0x416580
push 0x40d988
push 1
call fcn.004173ad
add esp, 0xc
push dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00402625
jmp 0x416488
push ecx
jmp 0x416355
cmp dword [ebp - 0x240], 0x12
je 0x416475
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4027d4
jmp 0x416339
cmp dword [ebp - 0x210], eax
jge 0x416385
push eax
lea ecx, [ebp - 0x218]
call fcn.00402625
lea eax, [ebp - 0x20c]
push eax
push 0x416554
push esi
push 4
call fcn.004173ad
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x18]
call fcn.004250ea
test eax, eax
jge 0x4163d2
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4164f8
push esi
push 1
call fcn.004173ad
add esp, 0x14
jmp 0x4027a8
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x18]
call fcn.00407f60
test eax, eax
jge 0x4027a8
push eax
push 0x416498
push esi
push 1
call fcn.004173ad
add esp, 0x10
jmp 0x4027a8
cmp eax, 0xc0
jne 0x41641a
push 0x4017b0
push esi
push 4
call fcn.004173ad
add esp, 0xc
jmp 0x4027d4
lea edx, [eax - 0x80]
cmp edx, ecx
ja 0x416441
push eax
push 0x41ad70
push esi
push 4
jmp 0x402842
push 0x41ad48
push esi
push 4
call fcn.004173ad
add esp, 0xc
jmp 0x416475
cmp eax, 0xffffffff
jne 0x416465
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41645a
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x41ad08
push esi
push 1
jmp 0x41646d
push eax
push 0x41aca8
push esi
push ecx
call fcn.004173ad
add esp, 0x10
push dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00402625
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004013d7
leave
ret