Function at 0x419100
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5454c8
push eax
mov eax, 0x1028
mov dword fs:[0], esp
call fcn.005322e0
mov eax, dword [esp + 0x1038]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edx
lea eax, [esi + 0x14]
push 1
push 4
push eax
call ebx
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x18]
push eax
push 1
push 0x10
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x28]
push edx
push 1
push 4
push eax
call ebx
mov ecx, dword [0x67a8cc]
lea ebp, [esi + 0x2c]
push ecx
push 1
push 4
push ebp
call ebx
mov edx, dword [0x67a8cc]
add esp, 0x4c
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
push edx
push 9
lea eax, [esp + 0x1c]
push 4
push eax
call ebx
mov eax, dword [esp + 0x24]
xor edi, edi
add esp, 0x10
cmp eax, edi
je 0x419266
mov ecx, dword [0x67a8cc]
push edi
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov eax, dword [ebp]
push edx
push eax
lea eax, [esp + 0x4c]
push 4
push eax
call ebx
mov ebx, dword [ebp]
lea ecx, [ebx + ebx*2]
lea edx, [ecx*4 + 4]
push edx
call sub.MFC42u.DLL_operatornew
add esp, 0x20
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x1040], edi
je 0x419220
push 0x417f30
push fcn.00417f20
lea edi, [eax + 4]
push ebx
push 0xc
push edi
mov dword [eax], ebx
call fcn.0053230f
mov eax, dword [ebp]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1040], 0xffffffff
mov dword [esi + 0x30], edi
jle 0x419266
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x38]
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x30]
push eax
add ecx, edx
call fcn.00417f50
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
inc ebx
add edi, 4
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x41923f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41927d
test byte [esi + 0x14], 1
je 0x41927d
push eax
lea ecx, [esi + 0x34]
call fcn.004181d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x419294
test byte [esi + 0x14], 2
je 0x419294
push eax
lea ecx, [esi + 0x50]
call fcn.0043ca50
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4192f2
test byte [esi + 0x14], 4
je 0x4192f2
push 0x58
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4192be
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004406b0
jmp 0x4192c0
xor eax, eax
mov dword [esi + 0x6c], eax
mov cl, byte [eax]
test cl, 1
je 0x4192f2
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4192ea
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00495db0
jmp 0x4192ec
xor eax, eax
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x419309
test byte [esi + 0x14], 8
je 0x419309
push eax
lea ecx, [esi + 0x70]
call fcn.0043ca50
mov eax, dword [esp + 0x28]
test eax, eax
je 0x419323
test byte [esi + 0x14], 0x10
je 0x419323
push eax
lea ecx, [esi + 0x8c]
call fcn.00417fd0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41936c
push 0x470
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1040], 1
je 0x419359
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00415890
jmp 0x41935b
xor eax, eax
mov dword [esp + 0x1040], 0xffffffff
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41939e
test byte [esi + 0x14], 0x80
je 0x41939e
push 8
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x419396
mov edx, dword [esp + 0x30]
mov ecx, eax
push edx
call fcn.00418d80
jmp 0x419398
xor eax, eax
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4193ec
mov eax, dword [esi + 0x14]
test ah, 1
je 0x4193ec
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1040], 2
je 0x4193d9
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00418dc0
jmp 0x4193db
xor eax, eax
mov dword [esp + 0x1040], 0xffffffff
mov dword [esi + 0x9c], eax
push 0x24
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1040], 3
je 0x419413
push esi
mov ecx, eax
call fcn.004182f0
jmp 0x419415
xor eax, eax
mov ecx, esi
mov dword [esp + 0x1040], 0xffffffff
mov dword [esi + 0xa0], eax
call fcn.004190c0
mov ecx, esi
mov edi, eax
call fcn.004190e0
lea edx, [edi*4]
mov ebx, eax
push edx
call fcn.00478e60
mov dword [esi + 0xb0], eax
add esp, 4
xor eax, eax
test edi, edi
jle 0x41946c
lea ecx, [ebx + 2]
mov ebx, dword [esi + 0xb0]
xor edx, edx
mov dl, byte [ecx]
add ecx, 0x10
mov dword [ebx + eax*4], edx
inc eax
cmp eax, edi
jl 0x419457
mov ecx, dword [esp + 0x1038]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1034
ret 4