Function at 0x41a0f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x41c]
mov ecx, dword [0x67a8cc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [ebx + 0x14]
push 4
push eax
call esi
mov ecx, dword [0x67a8cc]
lea ebp, [ebx + 0x18]
push ecx
push 1
push 4
push ebp
call esi
mov edx, dword [0x67a8cc]
lea edi, [ebx + 0x1c]
push edx
push 1
push 4
push edi
call esi
mov eax, dword [0x67a8cc]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x58]
push 4
push edx
call esi
mov eax, dword [0x67a8cc]
add esp, 0x4c
lea ecx, [ebx + 0x24]
push eax
push 1
push 0x10
push ecx
call esi
mov edx, dword [0x67a8cc]
lea eax, [ebx + 0x34]
push edx
push 1
push 4
push eax
call esi
mov ecx, dword [0x67a8cc]
lea eax, [ebx + 0x38]
push ecx
push 1
push 4
push eax
call esi
mov edx, dword [0x67a8cc]
lea eax, [ebx + 0x3c]
push edx
push 1
push 4
push eax
call esi
mov esi, dword [ebp]
add esp, 0x40
test esi, esi
je 0x41a1fa
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a1d9
mov ecx, eax
call fcn.00417f20
jmp 0x41a1db
xor eax, eax
push esi
mov ecx, eax
mov dword [ebp], eax
call fcn.00419ba0
mov ebp, dword [ebp]
mov ecx, dword [0x67a904]
test dword [ebp], ecx
je 0x41a1fa
mov edx, dword [ebp + 8]
mov dword [ebx + 8], edx
mov esi, dword [edi]
test esi, esi
jle 0x41a270
lea eax, [esi + esi*4]
lea ecx, [esi + eax*2]
lea edx, [ecx*4 + 4]
push edx
call fcn.004784e0
add esp, 4
test eax, eax
je 0x41a234
push 0x4221f0
push 0x41a340
lea ebp, [eax + 4]
push esi
push 0x2c
push ebp
mov dword [eax], esi
call fcn.0053230f
jmp 0x41a236
xor ebp, ebp
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [ebx + 0x20], ebp
jle 0x41a270
mov dword [esp + 0x10], esi
lea ebp, [esp + 0x14]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x20]
push eax
add ecx, edx
call fcn.00421ca0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
inc esi
add ebp, 4
add ecx, 0x2c
cmp esi, eax
mov dword [esp + 0x10], ecx
jl 0x41a249
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x41a2c3
push 0x58
call fcn.004784b0
add esp, 4
test eax, eax
je 0x41a292
mov ecx, dword [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.004406b0
jmp 0x41a294
xor eax, eax
mov dword [ebx + 0x34], eax
mov cl, byte [eax]
test cl, 1
je 0x41a2c3
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x41a2be
mov edx, dword [ebx + 0x34]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00495db0
jmp 0x41a2c0
xor eax, eax
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x41a324
push 0x2c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x41a2e5
mov ecx, dword [ebx + 0x38]
push ecx
mov ecx, eax
call fcn.004405a0
jmp 0x41a2e7
xor eax, eax
mov dword [ebx + 0x38], eax
mov cl, byte [eax]
test cl, 1
je 0x41a324
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x41a31f
mov edx, dword [ebx + 0x38]
push 0
add edx, 0xc
mov ecx, eax
push edx
call fcn.00495db0
pop edi
pop esi
mov dword [ebx + 0x40], eax
pop ebp
pop ebx
add esp, 0x404
ret 4
xor eax, eax
mov dword [ebx + 0x40], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret 4