Function at 0x420ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x43800c]
push esi
mov esi, dword [0x438ed4]
push edi
mov dword [ebp - 0x28], ecx
lea ecx, [esi*8]
push ecx
push eax
push ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x438f94]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], 1
jmp 0x420f30
mov ecx, dword [0x438f94]
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push ecx
push 1
lea edx, [ebp - 0x38]
push 4
push edx
call edi
add esp, 0x10
cmp eax, 1
jne 0x4210b9
mov ecx, dword [0x43925c]
push eax
mov eax, dword [0x439254]
add eax, ecx
imul eax, dword [ebp - 0x38]
add eax, ecx
mov ecx, dword [0x438f94]
add eax, eax
add eax, eax
add eax, eax
cdq
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fseeki64]
add esp, 0x10
cmp dword [0x438da0], 0
je 0x420f9a
mov edx, dword [0x438f94]
push edx
push 1
push 8
lea eax, [ebp - 0x44]
push eax
jmp 0x420fa9
mov ecx, dword [0x438f94]
push ecx
push 1
push 0xd
lea edx, [ebp - 0x18]
push edx
call edi
add esp, 0x10
test eax, eax
je 0x4210b9
cmp dword [0x438da0], 0
push 1
push 0
je 0x420fcd
mov eax, dword [0x438f94]
push 8
push eax
jmp 0x420fd6
mov ecx, dword [0x438f94]
push 0xd
push ecx
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov edx, dword [0x438f94]
add esp, 0x10
push edx
push 1
lea eax, [esi*8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call edi
add esp, 0x10
test eax, eax
je 0x4210b9
cmp dword [0x438da0], 0
jne 0x42102d
mov edx, dword [ebp - 0x28]
push 0xd
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.MSVCR100.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4210b9
cmp dword [0x438da0], eax
je 0x42103e
mov eax, dword [ebp - 0x28]
fld qword [eax]
fld qword [ebp - 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4210b9
xor edi, edi
cmp esi, 4
jl 0x421092
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
add edx, 0xfffffffc
lea ecx, [esi + 0x18]
shr edx, 2
sub esi, ebx
inc edx
lea eax, [ebx + 8]
lea edi, [edx*4]
fld qword [ecx - 0x18]
add eax, 0x20
fadd qword [eax - 0x28]
add ecx, 0x20
dec edx
fstp qword [eax - 0x28]
fld qword [esi + eax - 0x20]
fadd qword [eax - 0x20]
fstp qword [eax - 0x20]
fld qword [ecx - 0x28]
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
fld qword [ecx - 0x20]
fadd qword [eax - 0x10]
fstp qword [eax - 0x10]
jne 0x421061
mov esi, dword [ebp - 0x24]
cmp edi, esi
jge 0x4210b1
mov edx, dword [ebp - 0x20]
mov ecx, esi
sub edx, ebx
lea eax, [ebx + edi*8]
sub ecx, edi
fld qword [eax + edx]
add eax, 8
dec ecx
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x4210a2
inc dword [ebp - 0x1c]
jmp 0x420f30
xor ecx, ecx
cmp esi, 4
jl 0x4210fc
fild dword [ebp - 0x1c]
lea edx, [esi - 4]
shr edx, 2
inc edx
lea eax, [ebx + 0x10]
lea ecx, [edx*4]
fld qword [eax - 0x10]
add eax, 0x20
dec edx
fdiv st(1)
fstp qword [eax - 0x30]
fld qword [eax - 0x28]
fdiv st(1)
fstp qword [eax - 0x28]
fld qword [eax - 0x20]
fdiv st(1)
fstp qword [eax - 0x20]
fld qword [eax - 0x18]
fdiv st(1)
fstp qword [eax - 0x18]
jne 0x4210d4
fstp st(0)
cmp ecx, esi
jge 0x421113
fild dword [ebp - 0x1c]
fld qword [ebx + ecx*8]
inc ecx
fdiv st(1)
fstp qword [ebx + ecx*8 - 8]
cmp ecx, esi
jl 0x421103
fstp st(0)
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [0x438f94]
push 0
push ecx
push edx
push eax
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov ecx, dword [ebp - 8]
add esp, 0x10
pop edi
xor ecx, ebp
pop esi
call fcn.0042e325
mov esp, ebp
pop ebp
ret