Function at 0x43ac40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54887b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x583008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
jle 0x43ac72
fld1
fstp qword [ebp - 0x7c]
jmp 0x43ac7b
fld qword [0x54ead0]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
fstp qword [ebp - 0x24]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
push 0x551044
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0051b92b
add esp, 0xc
test eax, eax
jne 0x43ae4f
mov edx, dword [ebp - 0x14]
push edx
push 1
push 2
mov eax, dword [ebp + 0x10]
push eax
call fcn.0051f1c4
add esp, 0x10
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx]
test edx, edx
jle 0x43ad3f
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax]
mov dword [ebp - 0x68], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x68]
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fdfb5
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0x43ad25
push fcn.004d30b0
mov eax, dword [ebp - 0x68]
push eax
push 0x10
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00424810
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x80], edx
jmp 0x43ad2c
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x43ad4a
jmp 0x43ae67
mov edx, dword [ebp - 0x14]
push edx
push 1
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.0051f1c4
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x43ad70
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
movsx edx, word [ebp - 0x18]
cmp dword [ebp - 0x10], edx
jge 0x43ad8f
mov eax, dword [ebp - 0x14]
push eax
push 4
push 8
lea ecx, [ebp - 0x64]
push ecx
call fcn.0051f1c4
add esp, 0x10
jmp 0x43ad67
mov edx, dword [ebp - 0x14]
push edx
push 1
push 2
lea eax, [ebp - 0x40]
push eax
call fcn.0051f1c4
add esp, 0x10
movsx ecx, word [ebp - 0x40]
movsx edx, word [ebp - 0x18]
cmp ecx, edx
je 0x43adb4
jmp 0x43ae4f
mov dword [ebp - 0x10], 0
jmp 0x43adc6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx]
cmp dword [ebp - 0x10], edx
jge 0x43ae2e
mov eax, dword [ebp - 0x14]
push eax
call fcn.0051dfe0
add esp, 4
test eax, eax
je 0x43ade3
jmp 0x43ae4f
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043a7e0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
shl ecx, 4
add ecx, dword [ebp - 0x28]
call fcn.004d3340
fld qword [ebp - 0x34]
fstp qword [eax]
fld qword [ebp - 0x24]
fmul qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
shl ecx, 4
add ecx, dword [ebp - 0x28]
fstp qword [ebp - 0x88]
call fcn.004d3330
fld qword [ebp - 0x88]
fstp qword [eax]
jmp 0x43adbd
cmp dword [ebp - 0x14], 0
je 0x43ae40
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0051b57d
add esp, 4
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, 1
jmp 0x43ae8a
cmp dword [ebp - 0x28], 0
je 0x43ae67
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.004fdfef
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x43ae79
mov eax, dword [ebp - 0x14]
push eax
call fcn.0051b57d
add esp, 4
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret