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

Disassembly:
sub esp, 0x90
push ebx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], 0
call fcn.00403ae0
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x9c]
fld dword [edi]
mov eax, ebx
fsub dword [ebx + 0x30]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fld dword [edi + 4]
fsub dword [ebx + 0x34]
mov eax, dword [eax + 8]
fld dword [edi + 8]
mov dword [esp + 0x5c], edx
fsub dword [ebx + 0x38]
mov dword [esp + 0x58], ecx
fld dword [esp + 0x5c]
mov dword [esp + 0x60], eax
fmul st(2)
lea ecx, [ebx + 0x10]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
fld dword [esp + 0x58]
fmul st(4)
mov ecx, dword [ecx + 8]
mov dword [esp + 0x6c], eax
faddp st(1)
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], ecx
fld dword [esp + 0x60]
fmul st(2)
lea edx, [ebx + 0x20]
mov eax, dword [edx]
faddp st(1)
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
fstp dword [esp + 8]
fld dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
fmul st(2)
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
fld dword [esp + 0x68]
fmul st(4)
faddp st(1)
fld dword [esp + 0x70]
fmul st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x7c]
fmul st(2)
fld dword [esp + 0x78]
fmul st(4)
mov eax, dword [esp + 0xa0]
faddp st(1)
fld dword [esp + 0x80]
fmul st(2)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [eax]
fsub dword [edi]
fld dword [eax + 4]
fsub dword [edi + 4]
fld dword [eax + 8]
fsub dword [edi + 8]
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
fxch st(1)
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x5c]
mov dword [esp + 0x4c], edx
fmul dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], eax
fld dword [esp + 0x58]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x6c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x68]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x7c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x78]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x80]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x24]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 5
jp 0x4051f1
fld dword [esp + 8]
mov dword [esp + 0x3c], 0xbf800000
fchs
fstp dword [esp + 8]
fld dword [esp + 0x24]
fchs
fstp dword [esp + 0x24]
jmp 0x4051f9
mov dword [esp + 0x3c], 0x3f800000
fld dword [esp + 0x28]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 5
jp 0x405228
fld dword [esp + 0xc]
mov dword [esp + 0x40], 0xbf800000
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fchs
fstp dword [esp + 0x28]
jmp 0x405230
mov dword [esp + 0x40], 0x3f800000
fcom dword [0x5303b8]
fnstsw ax
test ah, 5
jp 0x40524d
fxch st(1)
fchs
fxch st(1)
fchs
fld dword [0x5303c4]
jmp 0x405253
fld dword [0x5303b4]
fld dword [esp + 0x24]
push esi
fmul dword [esp + 0x28]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x38]
fld st(1)
fmul st(2)
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 0x41
jne 0x4052f4
fld dword [esp + 0xac]
fchs
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4052b1
fld dword [esp + 0xac]
or esi, 0xffffffff
fsub dword [esp + 0xc]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x18]
jmp 0x4052fe
fld dword [esp + 0xc]
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 0x41
jne 0x4052dd
fld dword [esp + 0xac]
mov esi, 1
fsub dword [esp + 0xc]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x18]
jmp 0x4052fe
fld dword [esp + 0xac]
xor esi, esi
fsub dword [esp + 0xc]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x18]
jmp 0x4052fe
xor esi, esi
mov dword [esp + 0x18], 0x40000000
fld dword [esp + 0x2c]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 0x41
jne 0x40537e
fld dword [esp + 0xb0]
fchs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40533b
fld dword [esp + 0xb0]
or edx, 0xffffffff
fsub dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x1c]
jmp 0x405388
fld dword [esp + 0x10]
fcomp dword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x405367
fld dword [esp + 0xb0]
mov edx, 1
fsub dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x1c]
jmp 0x405388
fld dword [esp + 0xb0]
xor edx, edx
fsub dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x1c]
jmp 0x405388
xor edx, edx
mov dword [esp + 0x1c], 0x40000000
fld st(1)
fcomp dword [0x5303b8]
fnstsw ax
test ah, 0x41
jne 0x4053f8
fld dword [esp + 0xb4]
fchs
fld st(3)
fcompp
fnstsw ax
test ah, 5
jp 0x4053bf
fld dword [esp + 0xb4]
or ecx, 0xffffffff
fsub st(3)
fdiv st(2)
fstp dword [esp + 0x20]
jmp 0x405402
fld st(2)
fcomp dword [esp + 0xb4]
fnstsw ax
test ah, 0x41
jne 0x4053e5
fld dword [esp + 0xb4]
mov ecx, 1
fsub st(3)
fdiv st(2)
fstp dword [esp + 0x20]
jmp 0x405402
fld dword [esp + 0xb4]
xor ecx, ecx
fsub st(3)
fdiv st(2)
fstp dword [esp + 0x20]
jmp 0x405402
xor ecx, ecx
mov dword [esp + 0x20], 0x40000000
test esi, esi
je 0x40540c
fld dword [esp + 0x34]
jmp 0x405412
fld dword [0x5303b8]
test edx, edx
fmul dword [esp + 0x18]
fchs
je 0x405422
fld dword [esp + 0x38]
jmp 0x405428
fld dword [0x5303b8]
test ecx, ecx
fmul dword [esp + 0x1c]
fsubp st(1)
je 0x405438
fld dword [esp + 0x3c]
jmp 0x40543e
fld dword [0x5303b8]
fmul dword [esp + 0x20]
fsubp st(1)
fst dword [esp + 0x58]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 1
je 0x4055f1
lea esp, [esp]
fld dword [0x5303b4]
fld dword [esp + 0x18]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x40548c
fld dword [esp + 0x18]
fcomp dword [0x5303b4]
fnstsw ax
test ah, 5
jp 0x40548c
fstp st(0)
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4054bf
fld dword [esp + 0x1c]
fcomp dword [0x5303b4]
fnstsw ax
test ah, 5
jp 0x4054bf
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4054bf
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4054f2
fld dword [esp + 0x20]
fcomp dword [0x5303b4]
fnstsw ax
test ah, 5
jp 0x4054f2
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4054f2
fstp st(0)
fld dword [esp + 0x20]
test esi, esi
je 0x4054fc
fld dword [esp + 0x34]
jmp 0x405502
fld dword [0x5303b8]
test edx, edx
fld st(1)
fsub dword [esp + 0x18]
fmulp st(1)
je 0x405514
fld dword [esp + 0x38]
jmp 0x40551a
fld dword [0x5303b8]
test ecx, ecx
fld st(2)
fsub dword [esp + 0x1c]
fmul st(1)
faddp st(2)
fstp st(0)
je 0x405530
fld dword [esp + 0x3c]
jmp 0x405536
fld dword [0x5303b8]
fld st(2)
fsub dword [esp + 0x20]
fmul st(1)
faddp st(2)
fstp st(0)
fcom dword [0x5303b8]
fnstsw ax
test ah, 1
je 0x4055db
fld st(1)
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x405576
fld dword [esp + 0xac]
inc esi
fsub dword [esp + 0xc]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x18]
fld st(1)
fld dword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x405599
fld dword [esp + 0xb0]
inc edx
fsub dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fld st(1)
fld dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4055b8
fld dword [esp + 0xb4]
inc ecx
fsub st(5)
fdiv st(4)
fstp dword [esp + 0x20]
fld st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x58]
fcomp dword [0x5303b4]
fnstsw ax
test ah, 5
jnp 0x405460
fld dword [0x5303b4]
jmp 0x4055f5
fsub dword [esp + 0x58]
fxch st(1)
fsub dword [esp + 0x24]
fdivp st(1)
fdivr dword [esp + 0x58]
fsubr dword [esp + 0x24]
jmp 0x4055f5
fld dword [esp + 0x24]
fld dword [esp + 0x4c]
mov eax, dword [esp + 0xb8]
fmul st(1)
pop esi
fadd dword [edi]
fstp dword [eax]
fld dword [esp + 0x4c]
fmul st(1)
fadd dword [edi + 4]
fstp dword [eax + 4]
fld dword [esp + 0x50]
fmul st(1)
fadd dword [edi + 8]
fstp dword [eax + 8]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 8]
fmul dword [esp + 0x3c]
fstp dword [esp + 8]
fld dword [esp + 0xa8]
fchs
fld dword [esp + 8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40564d
fstp dword [esp + 8]
jmp 0x40566c
fstp st(0)
fld dword [esp + 8]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x40566c
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
fld dword [esp + 0x28]
fmul st(1)
fadd dword [esp + 0xc]
fmul dword [esp + 0x40]
fstp dword [esp + 0xc]
fld dword [esp + 0xac]
fchs
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40569a
fstp dword [esp + 0xc]
jmp 0x4056b9
fstp st(0)
fld dword [esp + 0xc]
fcomp dword [esp + 0xac]
fnstsw ax
test ah, 0x41
jne 0x4056b9
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
fxch st(2)
fmul st(2)
fadd st(3)
fmul st(1)
fstp dword [esp + 0x10]
fstp st(1)
fstp st(0)
fstp st(0)
fld dword [esp + 0xb0]
fchs
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4056e7
fstp dword [esp + 0x10]
jmp 0x405706
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x405706
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
call fcn.0041cef0
fld dword [ebx + 0x30]
fadd dword [eax]
mov ecx, dword [esp + 0xb8]
fld dword [eax + 4]
pop edi
fadd dword [ebx + 0x34]
fld dword [eax + 8]
fadd dword [ebx + 0x38]
pop ebx
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [ecx], edx
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
add esp, 0x90
ret