Function at 0x45f740
Capabilities:
Terminate process

Disassembly:
sub esp, 0x38
fild dword [esp + 0x40]
push ebx
push ebp
push esi
fdivr qword [0x4a8820]
push edi
push 0
mov dword [esp + 0x28], ecx
fst qword [esp + 0x34]
fldz
fst qword [esp + 0x1c]
fstp qword [esp + 0x14]
call fcn.0049bb70
sub esp, 8
lea eax, [esp + 0x24]
fstp qword [esp]
push eax
call fcn.0049ae1c
fld qword [esp + 0x40]
add esp, 0x10
push 0
call fcn.0049ba40
sub esp, 8
lea ecx, [esp + 0x1c]
fstp qword [esp]
push ecx
call fcn.0049ae1c
fld qword [esp + 0x28]
mov esi, dword [esp + 0x60]
fstp qword [esp + 0x38]
fld qword [esp + 0x20]
lea edx, [esi*4]
shr edx, 1
fstp qword [esp + 0x40]
push edx
call fcn.00484fe0
mov edi, eax
mov eax, esi
shl eax, 4
shr eax, 1
add esp, 0x14
push eax
mov dword [esp + 0x14], edi
call fcn.00484fe0
add esp, 4
test edi, edi
mov ebx, eax
mov dword [esp + 0x18], ebx
je 0x45fa25
test ebx, ebx
je 0x45fa25
mov eax, esi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
cmp esi, 2
jne 0x45f833
mov eax, dword [esp + 0x4c]
fld dword [eax + 4]
mov ecx, dword [esp + 0x54]
fadd dword [eax]
push edi
fstp qword [ecx]
fldz
fst qword [ecx + 8]
fld dword [eax]
fsub dword [eax + 4]
fstp qword [ecx + 0x10]
fstp qword [ecx + 0x18]
call fcn.00484599
add esp, 4
push ebx
call fcn.00484599
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc
mov ebx, dword [esp + 0x4c]
xor esi, esi
cmp ebp, 4
jl 0x45f8a9
lea esi, [ebp - 4]
shr esi, 2
add esi, 1
mov dword [esp + 0x50], esi
lea edx, [edi + 0xc]
sub edi, ebx
add esi, esi
lea ecx, [ebx + 4]
lea eax, [ebx + 0xc]
mov dword [esp + 0x4c], edi
add esi, esi
jmp 0x45f864
mov edi, dword [esp + 0x4c]
fld dword [eax - 8]
add ecx, 0x10
fstp dword [edx - 0xc]
add edx, 0x10
fld dword [eax - 0xc]
add eax, 0x20
sub dword [esp + 0x50], 1
fstp dword [ecx - 0x14]
fld dword [eax - 0x20]
fstp dword [edi + ecx - 0x10]
fld dword [eax - 0x24]
fstp dword [ecx - 0x10]
fld dword [eax - 0x18]
fstp dword [edx - 0x14]
fld dword [eax - 0x1c]
fstp dword [ecx - 0xc]
fld dword [eax - 0x10]
fstp dword [edx - 0x10]
fld dword [eax - 0x14]
fstp dword [ecx - 8]
jne 0x45f860
mov edi, dword [esp + 0x10]
cmp esi, ebp
jge 0x45f8cc
mov ecx, edi
lea eax, [ebx + esi*4]
sub ecx, ebx
fld dword [ebx + esi*8 + 4]
add esi, 1
fstp dword [eax + ecx]
add eax, 4
cmp esi, ebp
fld dword [ebx + esi*8 - 8]
fstp dword [eax - 4]
jl 0x45f8b4
xor esi, esi
cmp ebp, 4
jl 0x45f913
lea edx, [ebp - 4]
shr edx, 2
add edx, 1
lea ecx, [edi + 8]
lea eax, [ebx + ebp*4]
lea esi, [edx*4]
lea esp, [esp]
fld dword [ecx - 8]
add eax, 0x10
fstp dword [eax - 0x10]
add ecx, 0x10
sub edx, 1
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
fld dword [ecx - 0xc]
fstp dword [eax - 4]
jne 0x45f8f0
cmp esi, ebp
jge 0x45f92c
lea ecx, [esi + ebp]
lea eax, [edi + esi*4]
lea edi, [ebx + ecx*4]
mov ecx, ebp
sub ecx, esi
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
push esi
push ebp
push ebx
call fcn.0045f740
mov ecx, dword [esp + 0x24]
mov edx, ebp
shl edx, 4
add esi, edx
push esi
push ebp
lea eax, [ebx + ebp*4]
push eax
call fcn.0045f740
test ebp, ebp
mov dword [esp + 0x50], 0
jle 0x45fa05
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x54]
mov eax, ebx
add esi, 8
sub eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x28]
lea edi, [esp + 0x38]
call fcn.0045fba0
fld qword [eax]
fld qword [eax + 8]
mov eax, dword [esp + 0x4c]
fld qword [eax]
mov ecx, dword [esp + 0x54]
fld qword [eax + 8]
add eax, 0x10
fld st(1)
add esi, 0x10
fmul st(4)
add ebx, 0x10
fld st(1)
mov dword [esp + 0x4c], eax
fmul st(4)
fsubp st(1)
fxch st(3)
fmulp st(2)
fmulp st(3)
faddp st(2)
fld qword [esi - 0x18]
fstp qword [ebx - 0x10]
fld qword [esi - 0x10]
fstp qword [ecx + esi - 0x10]
mov ecx, dword [esp + 0x50]
fld qword [ebx - 8]
add ecx, 1
cmp ecx, ebp
fld qword [ebx - 0x10]
fadd st(2)
mov dword [esp + 0x50], ecx
fxch st(1)
fadd st(3)
fxch st(1)
fstp qword [esi - 0x18]
fstp qword [esi - 0x10]
fld qword [ebx - 8]
fld qword [ebx - 0x10]
fsubrp st(2)
fsubrp st(2)
fstp qword [eax - 0x10]
fstp qword [eax - 8]
jl 0x45f97b
mov edi, dword [esp + 0x10]
push edi
call fcn.00484599
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.00484599
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc
push str._nNot_enough_memory___
call fcn.0048577a
add esp, 4
push 1
call fcn.00484136
int3