Function at 0x4197b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x52f74a
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.0051c710
mov eax, dword [esp + 0x1034]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [0x659a18]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
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 [0x659a18]
lea ecx, [esi + 0x18]
push eax
push 1
push 0x10
push ecx
call ebx
mov edx, dword [0x659a18]
lea eax, [esi + 0x28]
push edx
push 1
push 4
push eax
call ebx
mov ecx, dword [0x659a18]
lea ebp, [esi + 0x2c]
push ecx
push 1
push 4
push ebp
call ebx
mov edx, dword [0x659a18]
add esp, 0x4c
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
push edx
push 8
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 0x419916
mov ecx, dword [0x659a18]
push edi
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
mov eax, dword [ebp]
push edx
push eax
lea eax, [esp + 0x48]
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 + 0x103c], edi
je 0x4198d0
push 0x418850
push fcn.00418840
lea edi, [eax + 4]
push ebx
push 0xc
push edi
mov dword [eax], ebx
call fcn.0051c73f
mov eax, dword [ebp]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x103c], 0xffffffff
mov dword [esi + 0x30], edi
jle 0x419916
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x30]
push eax
add ecx, edx
call fcn.00418870
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 0x4198ef
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41992d
test byte [esi + 0x14], 1
je 0x41992d
push eax
lea ecx, [esi + 0x34]
call fcn.00418af0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x419944
test byte [esi + 0x14], 2
je 0x419944
push eax
lea ecx, [esi + 0x50]
call fcn.00439a00
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4199a2
test byte [esi + 0x14], 4
je 0x4199a2
push 0x58
call fcn.00470250
add esp, 4
test eax, eax
je 0x41996e
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x419970
xor eax, eax
mov dword [esi + 0x6c], eax
mov cl, byte [eax]
test cl, 1
je 0x4199a2
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x41999a
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
jmp 0x41999c
xor eax, eax
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4199b9
test byte [esi + 0x14], 8
je 0x4199b9
push eax
lea ecx, [esi + 0x70]
call fcn.00439a00
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4199d3
test byte [esi + 0x14], 0x10
je 0x4199d3
push eax
lea ecx, [esi + 0x8c]
call fcn.004188f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x419a1c
push 0x46c
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x103c], 1
je 0x419a09
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00416650
jmp 0x419a0b
xor eax, eax
mov dword [esp + 0x103c], 0xffffffff
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x419a4e
test byte [esi + 0x14], 0x80
je 0x419a4e
push 8
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x419a46
mov edx, dword [esp + 0x30]
mov ecx, eax
push edx
call fcn.00419550
jmp 0x419a48
xor eax, eax
mov dword [esi + 0x98], eax
push 0x24
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x103c], 2
je 0x419a75
push esi
mov ecx, eax
call fcn.00418c10
jmp 0x419a77
xor eax, eax
mov ecx, dword [esp + 0x1034]
mov dword [esi + 0x9c], eax
xor eax, eax
pop edi
mov al, byte [esi + 0x1a]
mov dword [esi + 0xac], eax
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1030
ret 4