Function at 0x42f2b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4318c6
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c510]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4bc]
mov ebp, dword [esp + 0x4c0]
mov ecx, esi
call fcn.004296c0
mov eax, dword [esi + 4]
test eax, eax
jne 0x42f311
mov eax, 0xffffe89d
jmp 0x42f521
push 0
push 0xffffffffffffffff
push 0x433d40
lea ecx, [esp + 0x20]
call fcn.00429a30
push 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x4bc], 0
call fcn.00429cc0
mov ecx, dword [esp + 0x24]
cmp eax, 0xffffffff
push ecx
setne bl
mov dword [esp + 0x4b8], 0xffffffff
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
test bl, bl
jne 0x42f45a
mov ecx, esi
call fcn.004296c0
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x4c]
push ecx
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x42f493
mov ecx, esi
call fcn.004296c0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2a0]
push ecx
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
je 0x42f447
cmp edi, 0x20a
jbe 0x42f3c8
mov eax, 0xffffe8c1
jmp 0x42f521
push edi
lea edx, [esp + 0x2a0]
push edx
lea ecx, [esp + 0x1c]
call fcn.00429590
lea esi, [esp + 0x14]
mov dword [esp + 0x4b4], 1
call fcn.0042f0a0
test eax, eax
je 0x42f416
xor eax, eax
mov ecx, esi
mov dword [ebp], 2
mov dword [ebp + 4], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
call fcn.004293e0
jmp 0x42f51f
mov ax, word [esp + edi*2 + 0x29a]
lea ecx, [esp + edi*2 + 0x29a]
call fcn.0042f080
test al, al
jne 0x42f464
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42f451
cmp eax, 3
je 0x42f451
lea ecx, [esp + 0x14]
call fcn.004293e0
mov eax, 1
jmp 0x42f521
lea ecx, [esp + 0x14]
call fcn.004293e0
mov eax, 0xffffe8c2
jmp 0x42f521
lea eax, [esp + 0x4c]
mov word [ecx], 0
push eax
lea ecx, [esp + 0x2a0]
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42f42e
lea ecx, [esp + 0x14]
mov dword [esp + 0x4b4], 0xffffffff
call fcn.004293e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [esp + 0x4c]
and dl, 0x10
neg dl
sbb edx, edx
neg edx
add edx, 1
cmp dword [esp + 0x68], 0
mov dword [ebp], edx
je 0x42f4dd
push 0
push 0xffffffffffffffff
push str.file_size_larger_than_4GB_encountered
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], vtable.RSException.0
call fcn.00429a30
push 0x435564
lea eax, [esp + 0x34]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x60]
push edx
mov dword [ebp + 4], ecx
call fcn.0042f710
add esp, 4
cmp dword [esp + 0x50], 0
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
jne 0x42f50c
cmp dword [esp + 0x54], 0
jne 0x42f50c
mov ecx, edx
mov dword [ebp + 0xc], ecx
jmp 0x42f51c
lea edx, [esp + 0x50]
push edx
call fcn.0042f710
add esp, 4
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
xor eax, eax
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.0042fac4
add esp, 0x4a4
ret