Function at 0x41a6f0
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 [0x659a18]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x659a18]
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 [0x659a18]
lea ebp, [ebx + 0x18]
push ecx
push 1
push 4
push ebp
call esi
mov edx, dword [0x659a18]
lea edi, [ebx + 0x1c]
push edx
push 1
push 4
push edi
call esi
mov eax, dword [0x659a18]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x58]
push 4
push edx
call esi
mov eax, dword [0x659a18]
add esp, 0x4c
lea ecx, [ebx + 0x24]
push eax
push 1
push 0x10
push ecx
call esi
mov edx, dword [0x659a18]
lea eax, [ebx + 0x34]
push edx
push 1
push 4
push eax
call esi
mov ecx, dword [0x659a18]
lea eax, [ebx + 0x38]
push ecx
push 1
push 4
push eax
call esi
mov edx, dword [0x659a18]
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 0x41a7fa
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x41a7d9
mov ecx, eax
call fcn.00418840
jmp 0x41a7db
xor eax, eax
push esi
mov ecx, eax
mov dword [ebp], eax
call fcn.0041a190
mov ebp, dword [ebp]
mov ecx, dword [0x659a54]
test dword [ebp], ecx
je 0x41a7fa
mov edx, dword [ebp + 8]
mov dword [ebx + 8], edx
mov esi, dword [edi]
test esi, esi
jle 0x41a870
lea eax, [esi + esi*4]
lea ecx, [esi + eax*2]
lea edx, [ecx*4 + 4]
push edx
call fcn.00470280
add esp, 4
test eax, eax
je 0x41a834
push 0x422300
push 0x41a940
lea ebp, [eax + 4]
push esi
push 0x2c
push ebp
mov dword [eax], esi
call fcn.0051c73f
jmp 0x41a836
xor ebp, ebp
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [ebx + 0x20], ebp
jle 0x41a870
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.00421db0
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 0x41a849
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x41a8c3
push 0x58
call fcn.00470250
add esp, 4
test eax, eax
je 0x41a892
mov ecx, dword [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x41a894
xor eax, eax
mov dword [ebx + 0x34], eax
mov cl, byte [eax]
test cl, 1
je 0x41a8c3
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x41a8be
mov edx, dword [ebx + 0x34]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
jmp 0x41a8c0
xor eax, eax
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x41a924
push 0x2c
call fcn.00470250
add esp, 4
test eax, eax
je 0x41a8e5
mov ecx, dword [ebx + 0x38]
push ecx
mov ecx, eax
call fcn.0043cab0
jmp 0x41a8e7
xor eax, eax
mov dword [ebx + 0x38], eax
mov cl, byte [eax]
test cl, 1
je 0x41a924
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x41a91f
mov edx, dword [ebx + 0x38]
push 0
add edx, 0xc
mov ecx, eax
push edx
call fcn.00489020
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