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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x4e7fde0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp dword [0x4e83f4c], 0xd
push edi
mov edi, ecx
jne 0x4db51cc
or eax, 0xffffffff
cmp dword [edi + 8], eax
je 0x4db51cc
fldz
push ebx
fst dword [esp + 0xa8]
xor ebx, ebx
fst dword [esp + 0xac]
mov dword [esp + 0xc0], ebx
fst dword [esp + 0xb0]
mov dword [esp + 0xbc], ebx
fst dword [esp + 0x60]
mov dword [esp + 0xc8], ebx
fst dword [esp + 0x64]
mov dword [esp + 0xc4], ebx
fst dword [esp + 0x68]
mov dword [esp + 0x7c], ebx
fst dword [esp + 0x6c]
mov dword [esp + 0x84], eax
fst dword [esp + 0x70]
mov dword [esp + 0x80], eax
fst dword [esp + 0x74]
mov dword [esp + 0x88], ebx
fstp dword [esp + 0x78]
mov dword [esp + 0x8c], eax
fld dword [esp + 0xf8]
fst dword [esp + 0x90]
fld dword [esp + 0xfc]
fst dword [esp + 0x94]
fld dword [esp + 0x100]
fstp dword [esp + 0x98]
fld dword [esp + 0xf4]
fld st(0)
fld dword [esp + 0xec]
fld st(0)
fmulp st(2)
fld dword [esp + 0xf0]
fld dword [esp + 0xe8]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fld qword [0x4e0d108]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 8]
fld dword [esp + 0xf0]
fmul st(2)
fld st(3)
fmulp st(5)
fsubrp st(4)
fmul st(3), st(0)
fxch st(3)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0xc]
fld st(1)
fmulp st(2)
fmul st(0), st(0)
faddp st(1)
fmulp st(1)
fld1
fsubrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [esp + 8]
fld qword [0x4e40b40]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0xc]
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
faddp st(2)
fxch st(1)
fstp dword [esp + 8]
fadd dword [esp + 0x18]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
mov edx, dword [0x4e83f60]
fadd dword [esp + 0x100]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x94]
fstp dword [esp + 0x14]
mov dword [esp + 0xb8], 3
fld dword [esp + 0xc]
mov dword [esp + 0xbc], 0x4d34bf0
fstp dword [esp + 0xa0]
push ecx
fld dword [esp + 0x14]
fstp dword [esp + 0xa8]
fld dword [esp + 0x18]
fstp dword [esp + 0xac]
mov eax, dword [edx + 0x64]
call eax
add esp, 8
test al, al
je 0x4db51cb
push esi
mov esi, dword [0x4e0c3b0]
lea ecx, [ecx]
mov ecx, dword [0x4e7ffd4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x80]
mov edx, dword [edx + 4]
push eax
call edx
cmp eax, 0x56
je 0x4db5058
mov ecx, dword [0x4e7ffd0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x84]
push edx
call eax
cmp dword [esp + 0x48], 2
jne 0x4db5058
mov ecx, dword [0x4e83f60]
xor eax, eax
mov dword [esp + 0xd1], eax
mov dword [esp + 0xd5], eax
mov dword [esp + 0xd9], eax
mov word [esp + 0xdd], ax
mov byte [esp + 0xdf], al
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esp + 0x84]
mov byte [esp + 0xd4], bl
mov edx, dword [ecx]
mov edx, dword [edx + 0x21c]
push eax
call edx
push 0xc
lea eax, [esp + 0xd4]
push 0x4e40b30
push eax
call esi
add esp, 0xc
test eax, eax
je 0x4db516c
fld dword [esp + 0x2c]
mov eax, dword [0x4e83f60]
fst dword [esp + 0x18]
lea ecx, [esp + 0x64]
fld dword [esp + 0x28]
push ecx
fst dword [esp + 0x20]
lea edx, [esp + 0x98]
fld dword [esp + 0x28]
push edx
fst dword [esp + 0x28]
fld dword [esp + 0x20]
fld qword [0x4e0e230]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x38]
fld dword [esp + 0x18]
fadd dword [esp + 0x70]
fstp dword [esp + 0x3c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x74]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fst dword [esp + 0x9c]
fld dword [esp + 0x3c]
fst dword [esp + 0xa0]
fld dword [esp + 0x40]
fst dword [esp + 0xa4]
fxch st(5)
fstp dword [esp + 0x54]
fxch st(3)
fstp dword [esp + 0x58]
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fld qword [0x4e40b40]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x64]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x68]
fadd dword [esp + 0x60]
fstp dword [esp + 0x44]
fadd dword [esp + 0x64]
fstp dword [esp + 0x48]
fadd dword [esp + 0x68]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fstp dword [esp + 0xa8]
fld dword [esp + 0x48]
fstp dword [esp + 0xac]
fld dword [esp + 0x4c]
fstp dword [esp + 0xb0]
mov ecx, dword [eax + 0x64]
call ecx
add esp, 8
test al, al
jne 0x4db4fb0
jmp 0x4db51ca
mov ecx, edi
call fcn.04db4270
test al, al
jne 0x4db51b3
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x100]
call fcn.04ca1cd0
mov eax, dword [esp + 0xe8]
fld dword [eax + 0x798]
mov ecx, edi
fcompp
fnstsw ax
test ah, 5
jp 0x4db51ae
push 0x3e8
push 2
call fcn.04db44d0
jmp 0x4db51b3
call fcn.04db4390
lea ecx, [esp + 0xdc]
push ecx
nop
call 0x7c1fc597
movzx edx, ax
add esp, 4
mov dword [edi + 8], edx
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
pop edi
xor ecx, esp
call fcn.04df7d7a
add esp, 0xd8
ret 0x20