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

Disassembly:
push ebp
sub esp, 0x228
lea ebp, [esp - 4]
mov eax, dword [0x491d88]
xor eax, ebp
mov dword [ebp + 0x228], eax
push 0x128
mov eax, 0x46d201
call fcn.0045736a
mov esi, dword [ebp + 0x234]
xor ebx, ebx
push ebx
push 0x475a9c
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00405a90
cmp eax, 0xffffffff
jne 0x4203b7
push ebx
push 0x472e4c
mov ecx, esi
call fcn.00405a90
cmp eax, 0xffffffff
jne 0x4203b7
mov esi, 0x103
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.004530b0
push esi
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.004530b0
lea eax, [ebp]
push eax
push 0x104
call fcn.00420bd8
add esp, 0x20
test eax, eax
je 0x4203ba
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.00405a90
test eax, eax
jne 0x420200
push str._5.5s_4.4lu
lea eax, [ebp + 0x208]
push 0x20
push eax
call fcn.004542fb
add esp, 0xc
mov dword [ebp - 0x18], ebx
mov esi, str..log
jmp 0x42020d
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x18], 0x10
jb 0x42021a
add edi, 4
mov eax, dword [edi]
jmp 0x42021d
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.004543d1
add esp, 0x14
inc dword [ebp - 0x18]
push esi
lea ecx, [ebp - 0x38]
call fcn.004043b0
mov edi, eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], ebx
call fcn.004043b0
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.004043b0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00406ca0
push edi
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 3
call fcn.00406ca0
add esp, 0x18
cmp dword [eax + 0x18], 0x10
jb 0x4202a6
mov eax, dword [eax + 4]
jmp 0x4202a9
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.00402f50
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.00402f50
push ebx
push edi
lea ecx, [ebp - 0xfc]
call fcn.00402f50
push ebx
push edi
lea ecx, [ebp - 0x134]
call fcn.00402f50
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x38]
call fcn.00402f50
cmp byte [ebp - 0xd], bl
jne 0x42020a
push esi
lea ecx, [ebp - 0x8c]
call fcn.004043b0
mov esi, eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 4
call fcn.004043b0
mov edi, eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.004043b0
push edi
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 6
call fcn.00406ca0
push esi
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 7
call fcn.00406ca0
add esp, 0x18
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.00403cf0
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xe0]
call fcn.00402f50
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00402f50
push ebx
push esi
lea ecx, [ebp - 0x118]
call fcn.00402f50
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.00402f50
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00402f50
mov eax, esi
jmp 0x4203ba
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.0045309e
add ebp, 0x22c
leave
ret