Function at 0x4332ec
Capabilities:
Check if file exists

Disassembly:
push 0x49c
mov eax, 0x43597d
call fcn.004343d2
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x470], ebx
call fcn.0042f6ee
cmp dword [ebx + 4], 0
jne 0x43331e
mov eax, 0xffffe89d
jmp 0x433561
xor esi, esi
lea ecx, [ebp - 0x488]
push esi
push 0xffffffffffffffff
push 0x438300
call fcn.0042ec3f
push esi
lea eax, [ebp - 0x488]
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
call fcn.0042f4ee
cmp eax, 0xffffffff
lea ecx, [ebp - 0x478]
setne bl
or dword [ebp - 4], 0xffffffff
call fcn.00425f00
lea ecx, [ebp - 0x480]
call fcn.00425f00
test bl, bl
je 0x433373
mov eax, 0xffffe8c2
jmp 0x433561
mov ebx, dword [ebp - 0x470]
mov ecx, ebx
call fcn.0042f6ee
lea ecx, [ebp - 0x46c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4334c0
mov ecx, ebx
call fcn.0042f6ee
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ebx, eax
test ebx, ebx
jne 0x4333c4
inc eax
jmp 0x433561
cmp ebx, 0x105
jbe 0x4333d6
mov eax, 0xffffe8c1
jmp 0x433561
push ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x488]
call fcn.0042ec91
lea eax, [ebp - 0x488]
mov dword [ebp - 4], 1
push eax
call fcn.004330af
pop ecx
test eax, eax
je 0x433418
mov dword [edi], 2
mov dword [edi + 4], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
jmp 0x433483
movzx eax, word [ebp + ebx*2 - 0x21e]
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x433469
lea ebx, [ebx*2 - 2]
cmp ebx, 0x20a
jae 0x43350e
xor eax, eax
mov word [ebp + ebx - 0x21c], ax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x470], eax
cmp eax, 0xffffffff
jne 0x4334a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43347e
cmp eax, 3
je 0x43347e
xor esi, esi
inc esi
jmp 0x433483
mov esi, 0xffffe8c2
lea ecx, [ebp - 0x478]
call fcn.00425f00
lea ecx, [ebp - 0x480]
call fcn.00425f00
mov eax, esi
jmp 0x433561
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.00425f00
lea ecx, [ebp - 0x480]
call fcn.00425f00
mov eax, dword [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x46c], 0x10
push 0
pop eax
setne al
inc eax
cmp dword [ebp - 0x450], 0
mov dword [edi], eax
je 0x433513
push esi
push 0xffffffffffffffff
push str.file_size_larger_than_4GB_encountered
lea ecx, [ebp - 0x4a4]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.0042ec3f
push 0x439d00
lea eax, [ebp - 0x4a8]
push eax
call sub.MSVCR120.dll__CxxThrowException
call fcn.00433d64
mov eax, dword [ebp - 0x44c]
lea esi, [edi + 0x10]
mov dword [edi + 4], eax
lea eax, [ebp - 0x458]
push esi
push eax
call fcn.0043329d
cmp dword [ebp - 0x468], 0
pop ecx
pop ecx
jne 0x43354d
cmp dword [ebp - 0x464], 0
jne 0x43354d
mov eax, dword [esi]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
jmp 0x43355f
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0043329d
pop ecx
pop ecx
xor eax, eax
call fcn.00434390
ret