Function at 0x42fe80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
push ebp
push esi
lea eax, [edx*8]
push edi
sub eax, edx
mov dword [esp + 0x14], 0
fld dword [0x45c690]
lea eax, [eax + eax*4]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
lea esi, [eax*4 + 0x4ad4d0]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 8]
test eax, eax
jle 0x42ff77
mov edi, eax
fld dword [esp + 0x14]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
je 0x42fee3
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
fld dword [ecx + 4]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x42fef6
fstp st(0)
fld dword [ecx + 4]
fld dword [ecx + 8]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x42ff0b
fld dword [ecx + 8]
fstp dword [esp + 0x18]
fld dword [ecx]
fchs
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42ff22
fstp dword [esp + 0x14]
jmp 0x42ff24
fstp st(0)
fld dword [ecx + 4]
fchs
fstp dword [esp + 0x24]
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x42ff3e
fstp st(0)
fld dword [esp + 0x24]
fld dword [ecx + 8]
fchs
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42ff56
fstp dword [esp + 0x18]
jmp 0x42ff58
fstp st(0)
fld dword [ecx + 4]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x42ff6d
fld dword [ecx + 4]
fstp dword [esp + 0x10]
add ecx, 0x2c
dec edi
jne 0x42fed0
cmp edx, 6
jge 0x42ffa6
movsx ecx, word [esi + 0x84]
movsx edx, word [esi + 0x40]
sub ecx, edx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42ffa4
fstp dword [esp + 0x14]
jmp 0x42ffa6
fstp st(0)
fld dword [esp + 0x14]
fadd dword [0x45c714]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fsub dword [0x45c714]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fchs
call fcn.004474b4
mov bx, ax
fld st(0)
mov word [esp + 0x10], bx
mov word [esi + 0x20], bx
call fcn.004474b4
fld dword [esp + 0x18]
mov bp, ax
mov word [esi + 0x22], bp
call fcn.004474b4
fld dword [esp + 0x14]
mov di, ax
mov word [esi + 0x24], di
call fcn.004474b4
fld dword [esp + 0x18]
mov word [esi + 0x28], ax
mov word [esi + 0x2a], bp
mov word [esi + 0x2c], di
mov word [esi + 0x30], bx
fchs
mov word [esp + 0x24], ax
mov word [esi + 0x32], bp
call fcn.004474b4
mov bx, ax
mov ax, word [esp + 0x24]
mov word [esi + 0x38], ax
mov eax, dword [esp + 0x28]
cmp eax, 6
mov word [esi + 0x34], bx
mov word [esi + 0x3a], bp
mov word [esi + 0x3c], bx
jge 0x430062
movsx ecx, word [esi + 0x82]
fstp st(0)
movsx edx, word [esi + 0x42]
sub edx, ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [0x45c710]
mov bp, word [esp + 0x10]
fld st(0)
fchs
mov word [esi], bp
call fcn.004474b4
mov cx, word [esp + 0x24]
mov word [esi + 2], ax
fld st(0)
mov word [esi + 4], di
mov word [esi + 8], cx
mov word [esi + 0xa], ax
mov word [esi + 0xc], di
mov word [esi + 0x10], bp
mov word [esi + 0x12], ax
mov word [esi + 0x14], bx
mov word [esi + 0x18], cx
mov word [esi + 0x1a], ax
mov word [esi + 0x1c], bx
call fcn.004474b4
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld st(1)
fmul st(2)
mov word [esi + 0x86], ax
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
call fcn.004474b4
mov word [esi + 0x80], ax
mov eax, dword [esp + 0x28]
cmp eax, 6
fstp st(0)
jl 0x430136
fld dword [esp + 0x14]
fmul dword [0x45c70c]
fsubr dword [esp + 0x14]
fld st(0)
fchs
call fcn.004474b4
mov bp, ax
mov word [esi + 0x72], 0
mov word [esi + 0x70], bp
mov word [esi + 0x74], di
call fcn.004474b4
xor ecx, ecx
mov word [esi + 0x78], ax
mov word [esi + 0x7a], cx
mov word [esi + 0x7c], di
mov word [esi + 0x60], bp
mov word [esi + 0x62], cx
mov word [esi + 0x64], bx
mov word [esi + 0x68], ax
mov word [esi + 0x6a], cx
mov word [esi + 0x6c], bx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret