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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.0044d830
mov ebx, dword [esp + 0x7c]
mov esi, eax
mov dword [esp + 0x20], esi
lea esp, [esp]
mov eax, dword [ebp + esi*4 + 0x804]
test eax, eax
je 0x44ef8b
mov eax, dword [ebp + esi*4 + 0x11e4]
test eax, eax
je 0x44ef8b
call fcn.00821b1e
sar eax, 6
cdq
idiv dword [ebp + esi*4 + 0x11e4]
mov ecx, dword [ebp + esi*4 + 0x10c4]
mov eax, dword [ebp + esi*4 + 0x804]
add edx, ecx
imul edx, edx, 0x1c
add edx, eax
mov edi, edx
movsx edx, word [edi + 8]
movsx eax, word [edi + 0xa]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmul dword [0x858c48]
fst dword [esp + 0x4c]
fild dword [esp + 0x18]
fmul dword [0x858c48]
fld st(0)
fld dword [esp + 0x78]
fsubr st(2)
fxch st(1)
fsub dword [esp + 0x78]
fmulp st(1)
fxch st(2)
fsub dword [esp + 0x74]
fld dword [esp + 0x4c]
fsub dword [esp + 0x74]
fmulp st(1)
faddp st(2)
fxch st(1)
fcomp dword [0x8598b0]
fnstsw ax
fstp st(0)
test ah, 5
jp 0x44ef8b
movsx ecx, word [edi + 0xc]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul dword [0x858c48]
fcomp dword [0x858978]
fnstsw ax
test ah, 0x41
jne 0x44ef8b
xor eax, eax
mov al, byte [edi + 0x18]
and eax, 0xf
mov dword [esp + 0x24], eax
je 0x44ef8b
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x44ef8b
jmp 0x44edc0
movsx edx, word [edi + 0x10]
mov eax, dword [ebp + esi*4 + 0xa44]
add edx, ecx
mov eax, dword [eax + edx*4]
cmp ax, 0x40
mov dword [esp + 0x14], eax
jae 0x44ef7a
movzx edx, ax
mov eax, dword [ebp + edx*4 + 0x804]
test eax, eax
je 0x44ef7a
mov esi, dword [esp + 0x14]
shr esi, 0x10
imul esi, esi, 0x1c
add esi, eax
mov dword [esp + 0x14], 0
call fcn.00821b1e
and eax, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x88]
fmul dword [0x859aa0]
fld st(0)
fstp dword [eax]
movsx ecx, word [esi + 8]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 0xc]
mov dword [esp + 0x10], ecx
movsx ecx, word [edi + 8]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
movsx edx, word [edi + 0xa]
fmul dword [0x858c48]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
movsx eax, word [edi + 0xc]
fmul dword [0x858c48]
fild dword [esp + 0x10]
fmul dword [0x858c48]
fstp dword [esp + 0x60]
fld st(2)
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fmul dword [esp + 0x10]
fld dword [esp + 0x60]
fmul dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, ebx
fstp dword [esp + 0x48]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [0x858c48]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x858c48]
fild dword [esp + 0x10]
fmul dword [0x858c48]
fstp dword [esp + 0x6c]
fld dword [0x858624]
fsub st(4)
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x34]
fmul dword [esp + 0x10]
fld dword [esp + 0x6c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fadd dword [esp + 0x40]
fstp dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x2c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x3c]
fadd dword [esp + 0x48]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
fld dword [ebx + 8]
fadd dword [0x858ca0]
mov edx, dword [ebx]
push 0
lea eax, [esp + 0x80]
push eax
push ecx
mov ecx, dword [ebx + 4]
fstp dword [esp]
push ecx
push edx
call fcn.005696c0
mov al, byte [esp + 0x90]
add esp, 0x14
test al, al
je 0x44ef5e
fld st(0)
fsub dword [ebx + 8]
fabs
fcomp dword [0x858b3c]
fnstsw ax
test ah, 5
jnp 0x44efab
mov eax, dword [esp + 0x14]
fstp st(0)
inc eax
cmp eax, 5
mov dword [esp + 0x14], eax
jl 0x44ee04
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x44edc0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x1c], eax
jl 0x44ecd0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x60
ret 0x18
pop edi
fstp dword [ebx + 8]
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x60
ret 0x18