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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
fld qword [0x40a448]
fld qword [0x40a448]
fld qword [0x40a448]
fld qword [0x40a448]
fld qword [0x40a448]
fld qword [0x40a448]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
fst qword [esp + 0x74]
test ebx, ebx
push edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x416312d0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x4197d784
jle 0x402d4a
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, ecx
sub edi, ecx
sub edx, eax
lea esi, [edx + eax]
add eax, 8
dec ebx
fld qword [esi + edi]
fmul qword [eax - 8]
faddp st(2)
fld qword [eax - 8]
fmul qword [esi]
faddp st(1)
fxch st(5)
fadd qword [eax - 8]
fxch st(5)
jne 0x402c2d
fstp qword [esp + 0x78]
mov ebx, dword [ebp + 0x14]
fdiv st(4)
test ebx, ebx
fstp qword [esp + 0x90]
fld qword [esp + 0x78]
fdiv st(4)
fstp qword [esp + 0x78]
jle 0x402de9
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
sub esi, ecx
sub edx, ecx
fld qword [ecx + esi]
fcomp qword [esp + 0x80]
fnstsw ax
test ah, 0x41
jne 0x402c96
fld qword [ecx + esi]
fstp qword [esp + 0x80]
fld qword [ecx + esi]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 1
je 0x402cb1
fld qword [ecx + esi]
fstp qword [esp + 0x88]
fld qword [ecx]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x402ccb
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
fld qword [ecx]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x402ce5
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
fld qword [ecx]
fsub qword [esp + 0x78]
fld st(0)
fld st(0)
fmul st(1)
fstp qword [esp + 0x70]
fstp st(0)
fld qword [esp + 0x70]
fmul qword [edx + ecx]
faddp st(4)
fld qword [ecx + esi]
fsub qword [esp + 0x90]
fld st(0)
fld st(0)
fmul st(1)
fstp qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x10]
fmul qword [edx + ecx]
faddp st(4)
fld st(0)
fmul st(2)
fst qword [esp + 0x38]
fmul qword [edx + ecx]
faddp st(3)
fmul qword [esp + 0x10]
fmul qword [edx + ecx]
fcom qword [0x40a448]
fnstsw ax
test ah, 0x41
jne 0x402d51
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
jmp 0x402d5d
fstp st(0)
jmp 0x402c53
fld qword [esp + 0x28]
fsub st(1)
fstp qword [esp + 0x28]
fstp st(0)
fld qword [esp + 0x70]
fmul st(1)
fmul qword [edx + ecx]
fcom qword [0x40a448]
fnstsw ax
test ah, 0x41
jne 0x402d7d
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
jmp 0x402d89
fld qword [esp + 0x50]
fsub st(1)
fstp qword [esp + 0x50]
fstp st(0)
fld qword [esp + 0x38]
fmul st(1)
fmul qword [edx + ecx]
fcom qword [0x40a448]
fnstsw ax
test ah, 0x41
jne 0x402da9
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
jmp 0x402db5
fld qword [esp + 0x18]
fsub st(1)
fstp qword [esp + 0x18]
fstp st(0)
fmul qword [esp + 0x10]
fmul qword [edx + ecx]
fcom qword [0x40a448]
fnstsw ax
test ah, 0x41
jne 0x402dd3
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
jmp 0x402ddf
fld qword [esp + 0x48]
fsub st(1)
fstp qword [esp + 0x48]
fstp st(0)
add ecx, 8
dec edi
jne 0x402c7b
fld st(1)
fadd st(3)
mov eax, dword [ebp + 0x18]
fstp qword [esp + 0x10]
fld st(1)
fsub st(3)
fst qword [esp + 0x70]
fld st(0)
fmulp st(1)
fld st(1)
fmul st(2)
fmul qword [0x40a4c0]
faddp st(1)
fsqrt
fld qword [esp + 0x10]
fsub st(1)
fmul qword [0x40a4b8]
fstp qword [esp + 0x38]
fxch st(3)
fsub st(2)
fadd st(3)
fxch st(1)
fadd st(0), st(0)
fdivp st(1)
fld1
fpatan
fmul qword [0x40a4b0]
fstp qword [eax]
fxch st(1)
fstp st(0)
fstp st(0)
fld qword [esp + 0x38]
fsub qword [esp + 0x90]
fld qword [esp + 0x90]
fadd qword [esp + 0x38]
fdivp st(1)
fstp qword [eax + 8]
fld qword [esp + 0x70]
fdiv qword [esp + 0x10]
fadd qword [0x40a450]
fmul qword [0x40a4b8]
fstp qword [eax + 0x10]
fld qword [esp + 0x10]
fdiv st(1)
fsqrt
fadd st(0), st(0)
fld qword [esp + 0x30]
fsub qword [esp + 0x60]
fld qword [esp + 0x80]
fsub qword [esp + 0x88]
fmulp st(1)
fsqrt
fdivp st(1)
fstp qword [eax + 0x18]
fstp st(0)
fld qword [esp + 0x40]
fsub qword [esp + 0x28]
fld qword [esp + 0x28]
fadd qword [esp + 0x40]
fdivp st(1)
fadd qword [0x40a450]
fmul qword [0x40a4b8]
fstp qword [eax + 0x20]
fld qword [esp + 0x58]
fsub qword [esp + 0x50]
fld qword [esp + 0x50]
fadd qword [esp + 0x58]
pop edi
pop esi
fdivp st(1)
pop ebx
fadd qword [0x40a450]
fmul qword [0x40a4b8]
fstp qword [eax + 0x28]
fld qword [esp + 0x5c]
fsub qword [esp + 0x3c]
fld qword [esp + 0x3c]
fadd qword [esp + 0x5c]
fdivp st(1)
fadd qword [0x40a450]
fmul qword [0x40a4b8]
fstp qword [eax + 0x30]
fld qword [esp + 0x14]
fsub qword [esp + 0xc]
fld qword [esp + 0xc]
fadd qword [esp + 0x14]
fdivp st(1)
fadd qword [0x40a450]
fmul qword [0x40a4b8]
fstp qword [eax + 0x38]
mov esp, ebp
pop ebp
ret