Function at 0x40c90f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0040c90f
xor esi, esi
xor edi, edi
mov ecx, 0x424
push esi
dec ecx
jne 0x40c92b
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040a867
mov eax, 0x1000
mov esi, eax
lea ebx, [ebp - 0x10f4]
mov eax, ebx
mov dword [ebp - 0x1100], eax
fild qword [0x186cd88]
mov edx, 1
call fcn.0045c92e
push 0
push 0
xor eax, eax
lea ebx, [esp + 4]
push ebx
mov dword [ebx], eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add esp, 4
mov ebx, 0x4001
call fcn.0045c8f6
call fcn.0045c274
fcompp
fnstsw ax
sahf
je 0x40cc74
fild dword [0x186d864]
mov eax, dword [ebp + 0xc]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
ja 0x40ca30
nop
push 0
push 0
lea ebx, [ebp - 0x10fc]
mov dword [ebx], edi
push ebx
mov eax, esi
push eax
push dword [ebp - 0x1100]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x10fc]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x40c9e5
jmp 0x40ca2b
mov eax, edi
push eax
push dword [ebp - 0x1100]
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040bd3e
mov eax, edi
mov ecx, dword [ebp - 0x1104]
add eax, ecx
mov dword [ebp - 0x1104], eax
mov eax, dword [ebp + 0xc]
call fcn.0045c27b
mov eax, dword [ebp - 0x1104]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jb 0x40ca29
jmp 0x40ca2b
jmp 0x40c9b0
jmp 0x40cc74
mov dword [ebp - 0x110c], 0x3e8
nop
nop
nop
nop
nop
nop
push 0
push 0
lea ebx, [ebp - 0x10fc]
mov dword [ebx], edi
push ebx
mov eax, esi
push eax
push dword [ebp - 0x1100]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x10fc]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x40ca75
jmp 0x40ca92
mov eax, edi
push eax
push dword [ebp - 0x1100]
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040bd3e
dec dword [ebp - 0x110c]
jne 0x40ca40
mov eax, 0x3e8
sub eax, dword [ebp - 0x110c]
inc eax
mov dword [ebp - 0x110c], eax
mov eax, dword [ebp + 0xc]
call fcn.0045c27b
mov eax, dword [ebp + 0x10]
call fcn.0045c27b
faddp st(1)
fild dword [0x186d868]
fimul dword [0x186d86c]
fsubp st(1)
call fcn.0045c2a2
mov dword [ebp - 0x1108], eax
fild qword [0x186cd88]
mov edx, 1
call fcn.0045c92e
push 0
push 0
xor eax, eax
lea ebx, [esp + 4]
push ebx
mov dword [ebx], eax
push dword [ebp - 0x1108]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add esp, 4
mov ebx, 0x4001
call fcn.0045c8f6
call fcn.0045c274
fcompp
fnstsw ax
sahf
je 0x40cb94
mov dword [ebp - 0x110c], 0x3e8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 0
lea ebx, [ebp - 0x10fc]
mov dword [ebx], edi
push ebx
mov eax, esi
push eax
push dword [ebp - 0x1100]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x10fc]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x40cb65
jmp 0x40cb82
mov eax, edi
push eax
push dword [ebp - 0x1100]
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040bd3e
dec dword [ebp - 0x110c]
jne 0x40cb30
mov eax, 0x3e8
sub eax, dword [ebp - 0x110c]
inc eax
mov dword [ebp - 0x110c], eax
fild dword [0x186d70c]
mov eax, dword [ebp + 0xc]
call fcn.0045c27b
fdivrp st(1)
call fcn.0045c2a2
mov dword [ebp - 0x1108], eax
fild qword [0x186cd88]
mov edx, 1
call fcn.0045c92e
push 0
push 0
xor eax, eax
lea ebx, [esp + 4]
push ebx
mov dword [ebx], eax
push dword [ebp - 0x1108]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add esp, 4
mov ebx, 0x4001
call fcn.0045c8f6
call fcn.0045c274
fcompp
fnstsw ax
sahf
je 0x40cc74
mov dword [ebp - 0x110c], 0x1f4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 0
lea ebx, [ebp - 0x10fc]
mov dword [ebx], edi
push ebx
mov eax, esi
push eax
push dword [ebp - 0x1100]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x10fc]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x40cc45
jmp 0x40cc62
mov eax, edi
push eax
push dword [ebp - 0x1100]
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040bd3e
dec dword [ebp - 0x110c]
jne 0x40cc10
mov eax, 0x1f4
sub eax, dword [ebp - 0x110c]
inc eax
mov dword [ebp - 0x110c], eax
lea ebx, [ebp - 0xf4]
push ebx
call fcn.0040c119
call fcn.0045d0d1
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp - 0x98]
call fcn.0045c2a9
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc