Function at 0x40708d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
sub esp, 0x228
lea ebp, [esp - 4]
mov eax, dword [0x44bd40]
xor eax, ebp
mov dword [ebp + 0x228], eax
push 0x128
mov eax, 0x439016
call fcn.0042501a
mov esi, dword [ebp + 0x234]
xor ebx, ebx
push ebx
push 0x43d9b0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00401a10
cmp eax, 0xffffffff
jne 0x407327
push ebx
push 0x43c560
mov ecx, esi
call fcn.00401a10
cmp eax, 0xffffffff
jne 0x407327
mov esi, 0x103
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00421e30
push esi
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.00421e30
lea eax, [ebp]
push eax
push 0x104
call fcn.0040f65b
add esp, 0x20
test eax, eax
je 0x40732a
mov esi, str._6.6s_3.3lu
lea edi, [ebp + 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp + 0x214]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
push ebx
push str.SETUP
mov ecx, edi
call fcn.00401a10
test eax, eax
jne 0x407170
push str._5.5s_4.4lu
lea eax, [ebp + 0x208]
push 0x20
push eax
call fcn.00421daf
add esp, 0xc
mov dword [ebp - 0x18], ebx
mov esi, str..log
jmp 0x40717d
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x18], 0x10
jb 0x40718a
add edi, 4
mov eax, dword [edi]
jmp 0x40718d
lea eax, [edi + 4]
push dword [ebp - 0x18]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp + 0x104]
push 0x104
push eax
call fcn.00422cc0
add esp, 0x14
inc dword [ebp - 0x18]
push esi
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov edi, eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], ebx
call fcn.004033c0
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.004033c0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00403650
push edi
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 3
call fcn.00403650
add esp, 0x18
cmp dword [eax + 0x18], 0x10
jb 0x407216
mov eax, dword [eax + 4]
jmp 0x407219
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne byte [ebp - 0xd]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x70]
call fcn.00401ec0
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.00401ec0
push ebx
push edi
lea ecx, [ebp - 0xfc]
call fcn.00401ec0
push ebx
push edi
lea ecx, [ebp - 0x134]
call fcn.00401ec0
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x38]
call fcn.00401ec0
cmp byte [ebp - 0xd], bl
jne 0x40717a
push esi
lea ecx, [ebp - 0x8c]
call fcn.004033c0
mov esi, eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 4
call fcn.004033c0
mov edi, eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.004033c0
push edi
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 6
call fcn.00403650
push esi
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 7
call fcn.00403650
add esp, 0x18
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.00402630
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xe0]
call fcn.00401ec0
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401ec0
push ebx
push esi
lea ecx, [ebp - 0x118]
call fcn.00401ec0
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.00401ec0
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00401ec0
mov eax, esi
jmp 0x40732a
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x228]
xor ecx, ebp
call fcn.00421e14
add ebp, 0x22c
leave
ret