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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af582
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x170], 0
call fcn.0040a0e0
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [edi], 0
jne 0x42c433
xor ecx, ecx
jmp 0x42c447
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c438
sub ecx, ebx
mov ebx, dword [ebp - 0x150]
push ecx
push edi
mov ecx, edx
call fcn.00404ba0
lea ecx, [ebp - 0x2c]
call fcn.0042cb00
add esp, 0x18
push 1
push ecx
push 0x5fc9bc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00422780
test eax, eax
js 0x42c57b
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c496
test al, 0x10
jne 0x42c57b
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.0042b970
test eax, eax
je 0x42c57b
lea eax, [ebp - 0x2c]
mov edx, 0x5fc9c8
push eax
lea ecx, [ebp - 0x14c]
call fcn.00408140
add esp, 4
push 0x5fc9c0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00405aa0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x42c513
cmp dword [ebp - 0x5c], 0x10
jb 0x42c4f8
push dword [ebp - 0x70]
call fcn.00448708
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404560
cmp dword [ebp - 0x120], 0x10
jb 0x42c52a
push dword [ebp - 0x134]
call fcn.00448708
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x10
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jb 0x42c560
push dword [ebp - 0x14c]
call fcn.00448708
add esp, 4
lea eax, [ebp - 0x74]
mov byte [ebp - 0x74], 0
push eax
mov ecx, esi
mov dword [ebp - 0x3c], 3
call fcn.00413070
jmp 0x42c9b5
push 0xa8
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00574900
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.0042dfd0
push 0x40
push 0x22
push edi
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.0042e280
test eax, eax
lea ecx, [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
jne 0x42c5d6
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42c5e5
or eax, 4
jmp 0x42c5e5
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00404290
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x110], 6
je 0x42c84a
cmp byte [edi], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jne 0x42c62c
xor ecx, ecx
jmp 0x42c63a
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c631
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x134]
call fcn.00404ba0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 4
push eax
mov edx, 0x5fc9dc
lea ecx, [ebp - 0x14c]
call fcn.00405a10
add esp, 4
push 0x5fc9d4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
call fcn.00405aa0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x42c6b3
cmp dword [ebp - 0x5c], 0x10
jb 0x42c698
push dword [ebp - 0x70]
call fcn.00448708
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404560
cmp dword [ebp - 0x154], 0x10
jb 0x42c6ca
push dword [ebp - 0x168]
call fcn.00448708
add esp, 4
cmp dword [ebp - 0x138], 0x10
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], 0
mov byte [ebp - 0x168], 0
jb 0x42c6fc
push dword [ebp - 0x14c]
call fcn.00448708
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x120], 0x10
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jb 0x42c732
push dword [ebp - 0x134]
call fcn.00448708
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0042e340
test eax, eax
jne 0x42c769
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42c761
or eax, 4
push 0
push eax
call fcn.00404290
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00413070
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x120], eax
lea ecx, [ebp - 0x118]
call fcn.0042d750
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x120], eax
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xbc], vtable.std::ios_base.0
call fcn.0059290e
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x42c7fb
push dword [ebp - 0x2c]
call fcn.00448708
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x42c81e
push dword [ebp - 0x58]
call fcn.00448708
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x42c9e0
push dword [ebp - 0x70]
call fcn.00448708
add esp, 4
jmp 0x42c9e0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x11c]
cdq
push edx
push eax
push ebx
call fcn.0042d420
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x110], 6
je 0x42c968
push edi
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x74], 0
call fcn.00404430
push eax
mov edx, 0x5fc9f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x168]
call fcn.00405a10
add esp, 4
push 0x5fc9e8
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14c]
call fcn.00405aa0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x42c8e9
cmp dword [ebp - 0x5c], 0x10
jb 0x42c8ce
push dword [ebp - 0x70]
call fcn.00448708
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404560
cmp dword [ebp - 0x138], 0x10
jb 0x42c900
push dword [ebp - 0x14c]
call fcn.00448708
add esp, 4
cmp dword [ebp - 0x154], 0x10
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jb 0x42c932
push dword [ebp - 0x168]
call fcn.00448708
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x120], 0x10
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], 0
mov byte [ebp - 0x168], 0
jb 0x42c968
push dword [ebp - 0x134]
call fcn.00448708
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0042e340
test eax, eax
jne 0x42c99f
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42c997
or eax, 4
push 0
push eax
call fcn.00404290
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00413070
lea ecx, [ebp - 0x11c]
call fcn.0042ca00
cmp dword [ebp - 0x18], 0x10
jb 0x42c9c6
push dword [ebp - 0x2c]
call fcn.00448708
add esp, 4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004066d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005705f2
mov esp, ebp
pop ebp
ret