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

Disassembly:
sub esp, 0x4c
fld dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], edx
fcomp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
fnstsw ax
push ebx
push ebp
push esi
push edi
test ah, 0x40
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0
je 0x416d69
fld dword [esp + 0x64]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 0x40
jne 0x416df5
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
lea edx, [esp + 0x40]
push edx
mov dword [eax + 8], ecx
call fcn.0044a330
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x3c]
mov edx, dword [eax + 4]
fcomp dword [esp + 0x6c]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fnstsw ax
test ah, 0x40
je 0x416de5
fld dword [esp + 0x40]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 0x40
jne 0x416df5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fld dword [esp + 0x20]
fsub dword [esp + 0x60]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edx
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fsub dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x14], 0x447a0000
mov dword [esp + 0x54], edx
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.0044eb40
mov ebx, 1
mov esi, 0x49f914
fstp dword [esp + 0x58]
cmp ebx, dword [esp + 0x18]
je 0x416f06
mov al, byte [esi - 0xc]
test al, al
je 0x416f06
mov edx, dword [esi]
mov eax, dword [esi - 4]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.0044f300
fld dword [esi - 4]
mov ebp, eax
mov edi, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
fsub dword [esp + 0x28]
fld st(0)
fmulp st(1)
fcom dword [0x491484]
fnstsw ax
test ah, 0x41
je 0x416f04
fld dword [esi]
fsub dword [esp + 0x2c]
fld st(0)
fmul st(1)
fadd st(2)
fcomp dword [0x491484]
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
je 0x416f06
fld dword [esp + 0x28]
fsub dword [esp + 0x60]
mov byte [esp + 0x6c], 1
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fsub dword [esp + 0x64]
mov edx, dword [esp + 0x34]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
push ecx
push edx
call fcn.0044eb40
fsqrt
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x416f04
fstp dword [esp + 0x14]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
jmp 0x416f06
fstp st(0)
add esi, 0x120
inc ebx
cmp esi, 0x4a09f4
jne 0x416e57
mov al, byte [esp + 0x6c]
test al, al
je 0x41704e
fld dword [esp + 0x60]
fsub dword [esp + 0x20]
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fsub dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
fstp dword [esp + 0x70]
mov eax, dword [esp + 0x70]
push eax
push ecx
call fcn.0044f160
xor ebp, ebp
mov ecx, 0x49f7f4
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], edx
fld dword [esp + 0x34]
fmul dword [0x4914b8]
fld dword [esp + 0x70]
fmul dword [0x4914b8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
cmp ebp, dword [esp + 0x18]
je 0x41702f
mov al, byte [ecx - 0xc]
lea edx, [ecx - 0xc]
test al, al
je 0x41702f
fld dword [ecx - 4]
fsub dword [esp + 0x6c]
fld st(0)
fmulp st(1)
fcom dword [0x491484]
fnstsw ax
test ah, 0x41
je 0x41702d
fld dword [ecx]
fsub dword [esp + 0x70]
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
fcom dword [0x491484]
fnstsw ax
test ah, 0x41
je 0x41702d
fcomp dword [0x491484]
mov dword [esp + 0x10], edx
fnstsw ax
test ah, 1
je 0x41702f
fld dword [esp + 0x6c]
fadd st(2)
fstp dword [esp + 0x28]
fld dword [esp + 0x70]
fadd st(1)
mov esi, dword [esp + 0x28]
mov dword [esp + 0x6c], esi
fstp dword [esp + 0x2c]
fld dword [ecx - 4]
fsub dword [esp + 0x28]
fld dword [ecx]
fsub dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x70], edi
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcomp dword [0x491484]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x416fdf
jmp 0x41702f
fstp st(0)
add ecx, 0x120
inc ebp
cmp ecx, 0x4a09f4
jne 0x416f83
fstp st(0)
fstp st(0)
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
fld dword [esp + 0x78]
fcomp dword [0x49144c]
fnstsw ax
test ah, 0x40
jne 0x4170fc
fld dword [esp + 0x20]
fsub dword [esp + 0x60]
fst dword [esp + 0x6c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x24]
fsub dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
fst dword [esp + 0x18]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
push edx
push eax
call fcn.0044eb40
fsqrt
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 0x41
jne 0x4170fc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov eax, edx
mov dword [esp + 0x6c], ecx
push eax
push ecx
mov dword [esp + 0x78], edx
call fcn.0044f160
mov ecx, dword [esp + 0x78]
push ecx
push edx
push eax
call fcn.0044eb60
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
fld dword [esp + 0x6c]
fadd dword [esp + 0x60]
mov dword [esp + 0x10], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0x70]
fadd dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
pop edi
mov dword [eax], ecx
pop esi
mov dword [eax + 4], edx
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c