Function at 0x419fae
Capabilities:
Check if file exists

Disassembly:
push 0x49c
mov eax, 0x48b98a
call fcn.0045cdd3
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x470], ebx
call fcn.00418bd8
cmp dword [ebx + 4], 0
jne 0x419fe0
mov eax, 0xffffe89d
jmp 0x41a223
xor esi, esi
lea ecx, [ebp - 0x488]
push esi
push 0xffffffffffffffff
push 0x49fb30
call fcn.00417813
push esi
lea eax, [ebp - 0x488]
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
call fcn.00418999
cmp eax, 0xffffffff
lea ecx, [ebp - 0x478]
setne bl
or dword [ebp - 4], 0xffffffff
call fcn.0041394e
lea ecx, [ebp - 0x480]
call fcn.0041394e
test bl, bl
je 0x41a035
mov eax, 0xffffe8c2
jmp 0x41a223
mov ebx, dword [ebp - 0x470]
mov ecx, ebx
call fcn.00418bd8
lea ecx, [ebp - 0x46c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x41a182
mov ecx, ebx
call fcn.00418bd8
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 0x41a086
inc eax
jmp 0x41a223
cmp ebx, 0x105
jbe 0x41a098
mov eax, 0xffffe8c1
jmp 0x41a223
push ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x488]
call fcn.00417865
lea eax, [ebp - 0x488]
mov dword [ebp - 4], 1
push eax
call fcn.00411cc9
pop ecx
test eax, eax
je 0x41a0da
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 0x41a145
movzx eax, word [ebp + ebx*2 - 0x21e]
push eax
call fcn.00411cc9
add esp, 4
test al, al
je 0x41a12b
lea ebx, [ebx*2 - 2]
cmp ebx, 0x20a
jae 0x41a1d0
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 0x41a162
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x41a140
cmp eax, 3
je 0x41a140
xor esi, esi
inc esi
jmp 0x41a145
mov esi, 0xffffe8c2
lea ecx, [ebp - 0x478]
call fcn.0041394e
lea ecx, [ebp - 0x480]
call fcn.0041394e
mov eax, esi
jmp 0x41a223
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.0041394e
lea ecx, [ebp - 0x480]
call fcn.0041394e
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 0x41a1d5
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.00417813
push 0x4b0a7c
lea eax, [ebp - 0x4a8]
push eax
call sub.MSVCR120.dll__CxxThrowException
call fcn.00411cc9
mov eax, dword [ebp - 0x44c]
lea esi, [edi + 0x10]
mov dword [edi + 4], eax
lea eax, [ebp - 0x458]
push esi
push eax
call fcn.00411cc9
cmp dword [ebp - 0x468], 0
pop ecx
pop ecx
jne 0x41a20f
cmp dword [ebp - 0x464], 0
jne 0x41a20f
mov eax, dword [esi]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
jmp 0x41a221
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00411cc9
pop ecx
pop ecx
xor eax, eax
call fcn.0045cd82
ret