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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x98]
cmp bx, 2
push ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
jl 0x44a55f
movsx eax, bx
sub eax, 2
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, 2
mov dword [esp + 0x44], ebp
js 0x44a55f
cmp ebp, dword [0x8a1d18]
jge 0x44a55f
mov eax, dword [0x8a1440]
movsx eax, word [eax + ebp*2]
test eax, eax
mov dword [esp + 0x4c], eax
jl 0x44a55f
push 0x43000000
push 0x43000000
push 0x43000000
push 0x43000000
call fcn.0045a9d0
mov eax, dword [esp + 0xa8]
add esp, 0x10
test eax, eax
jle 0x44a55f
push esi
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
lea esi, [edi + 0x18]
jmp 0x44a250
mov ebx, dword [esp + 0xa4]
mov ecx, dword [edi]
mov edx, dword [esi - 0x14]
mov eax, dword [esi - 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.004494b0
mov ecx, dword [0x8a1448]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + 0x14]
add edx, 0x30
push edx
push eax
call fcn.0045fc90
mov ecx, dword [esp + 0x30]
push ebp
mov dword [esp + 0x68], ecx
call fcn.0044b9d0
fld dword [esp + 0x34]
add esp, 0x18
cmp eax, 1
jne 0x44a2d1
fcomp dword [0x4b2d64]
fnstsw ax
test ah, 0x41
je 0x44a548
fld dword [esp + 0x1c]
fcomp dword [0x4b3034]
fnstsw ax
test ah, 1
jne 0x44a548
jmp 0x44a2e2
fcomp dword [0x4b3030]
fnstsw ax
test ah, 1
jne 0x44a548
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044a570
fst dword [esp + 0x14]
fcomp dword [0x4a235c]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x44a548
mov eax, ebx
and eax, 1
test ax, ax
mov dword [esp + 0x34], eax
je 0x44a32a
mov eax, dword [esi - 8]
mov ebx, dword [edi]
mov ecx, dword [esi - 4]
mov edx, dword [esi]
mov ebp, dword [esi - 0x10]
sub eax, ebx
mov ebx, dword [esi - 0x14]
mov dword [esp + 0x24], eax
jmp 0x44a340
mov eax, dword [edi]
mov ebx, dword [esi - 8]
mov ecx, dword [esi - 0x14]
mov edx, dword [esi - 0x10]
mov ebp, dword [esi]
sub eax, ebx
mov ebx, dword [esi - 4]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
sub ecx, ebx
sub edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fmul dword [0x4b2dc0]
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
push ecx
fstp dword [esp + 0x40]
fild dword [esp + 0x30]
fmul dword [0x4b2dc0]
fstp dword [esp + 0x44]
fild dword [esp + 0x34]
fmul dword [0x4b2dc0]
fstp dword [esp + 0x48]
call fcn.0044ad20
lea edx, [esp + 0x40]
push edx
call fcn.00458100
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.0045a9c0
add esp, 0x10
cmp word [esp + 0x34], 0
je 0x44a3ba
mov eax, dword [edi]
mov ecx, dword [esi - 0x14]
mov edx, dword [esi - 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x44a3ca
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x34], edx
call fcn.004494b0
push ebp
call fcn.0044b9d0
add esp, 0xc
cmp eax, 1
jne 0x44a4cd
push 0x43000000
call fcn.0045a9c0
movsx edx, word [esi + 4]
mov dword [esp + 0x38], edx
lea eax, [esp + 0x5c]
fild dword [esp + 0x38]
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
fmul dword [0x4b2dc0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x4b2c88]
fstp dword [esp + 0x24]
call fcn.00458100
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0045fc90
fld dword [esp + 0x8c]
fmul dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
push ecx
push edx
push ebx
fstp dword [esp + 0x98]
fld dword [esp + 0x9c]
fmul dword [esp + 0x30]
lea ecx, [esp + 0x78]
push eax
push ecx
fstp dword [esp + 0xa4]
fld dword [esp + 0xa8]
fmul dword [esp + 0x38]
fstp dword [esp + 0xa8]
fld dword [esp + 0x3c]
fadd dword [esp + 0x60]
fstp dword [esp + 0xb0]
fld dword [esp + 0x40]
fadd dword [esp + 0x64]
fstp dword [esp + 0xb4]
fld dword [esp + 0x68]
fadd dword [esp + 0x44]
fstp dword [esp + 0xb8]
call fcn.0044a710
add esp, 0x28
jmp 0x44a548
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x40a00000
call fcn.00458100
lea eax, [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0045fc90
fld dword [esp + 0x24]
fadd dword [esp + 0x48]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
push eax
push ebx
lea edx, [esp + 0x70]
push ecx
fstp dword [esp + 0xa4]
fld dword [esp + 0x34]
fadd dword [esp + 0x58]
push edx
fstp dword [esp + 0xac]
fld dword [esp + 0x60]
fadd dword [esp + 0x3c]
fstp dword [esp + 0xb0]
call fcn.0044a5d0
add esp, 0x20
mov eax, dword [esp + 0x48]
add edi, 0x10
add esi, 0x10
dec eax
mov dword [esp + 0x48], eax
jne 0x44a249
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret