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

Disassembly:
sub esp, 0xe8
mov eax, dword [esp + 0xf0]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edi
jle 0x449e91
mov ebx, dword [esp + 0xfc]
jmp 0x449b52
xor edi, edi
mov ax, word [ebx + 0xe]
and eax, 0x4000
test ax, ax
jne 0x449e91
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x28], eax
call fcn.004494b0
mov ecx, dword [0x8a1448]
mov dword [esp + 0x7c], 0x3f800000
lea eax, [esp + 0x70]
mov edx, dword [ecx + 0x14]
push eax
add edx, 0x30
lea eax, [esp + 0x38]
push edx
push eax
call fcn.0045fc90
lea ecx, [esp + 0x40]
push ecx
call fcn.00449ea0
movsx ebp, word [ebx + 0xe]
mov esi, eax
mov eax, ebp
sar eax, 0xb
add esp, 0x18
and eax, 3
cmp esi, 2
mov dword [esp + 0x10], esi
jne 0x449be6
mov edx, eax
and edx, 3
test dl, dl
je 0x449bf8
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
jmp 0x449beb
cmp esi, 1
jne 0x449bf8
and eax, 3
test al, al
je 0x449bf8
mov dword [esp + 0x10], edi
mov esi, edi
mov edx, dword [esp + 0x28]
mov edi, 1
mov ecx, esi
shl edi, cl
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x14], edi
lea eax, [edi + edx]
cmp eax, ecx
jle 0x449c1f
mov edi, ecx
sub edi, edx
mov dword [esp + 0x14], edi
fld dword [esp + 0x34]
fcomp dword [0x8a13d4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
fnstsw ax
test ah, 0x41
je 0x449e71
fld dword [esp + 0x34]
fcomp dword [0x4b302c]
fnstsw ax
test ah, 1
jne 0x449e71
cmp edi, 1
lea esi, [ebx + 0x10]
jle 0x449c8b
lea ecx, [edi - 1]
and ebp, 0x3ff
xor eax, eax
mov dword [esp + 0x44], edi
test ecx, ecx
jle 0x449c8b
mov dx, word [esi + 0xe]
and edx, 0x3ff
cmp ebp, edx
jne 0x449c84
add esi, 0x10
inc eax
cmp eax, ecx
jl 0x449c6c
jmp 0x449c8b
lea edi, [eax + 1]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov ebp, dword [esi + 4]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esi + 8]
mov dword [esp + 0x60], ebp
mov ebp, dword [esi]
sub eax, ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
fild dword [esp + 0x18]
sub ecx, eax
sub edx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fmul dword [0x4b2dc0]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
push ecx
fstp dword [esp + 0x50]
fild dword [esp + 0x24]
fmul dword [0x4b2dc0]
fild dword [esp + 0x28]
fmul dword [0x4b2dc0]
fstp dword [esp + 0x58]
fadd dword [0x4b3018]
fstp dword [esp + 0x54]
call fcn.0044ad20
lea edx, [esp + 0x50]
push edx
call fcn.00458100
fild dword [esp + 0x20]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
fmul dword [0x4b3014]
fstp dword [esp + 0x40]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 8]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x34], edx
call fcn.004494b0
lea edx, [esp + 0x8c]
push edx
call fcn.00458100
lea eax, [esp + 0xd0]
push eax
call fcn.0045fe10
movsx ecx, word [ebx + 0xc]
mov dword [esp + 0x30], ecx
add esp, 0x18
fild dword [esp + 0x18]
lea edx, [esp + 0xbc]
lea eax, [esp + 0xbc]
fmul dword [0x4b2dc0]
fmul dword [0x4b3010]
fstp dword [esp]
push edx
push eax
call fcn.0045feb0
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x84]
push ecx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.0045fd20
lea ecx, [esp + 0x44]
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0045fc90
fld dword [esp + 0x50]
fadd dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
add esp, 0x24
cmp eax, edi
fstp dword [esp + 0xa8]
fld dword [esp + 0x30]
fadd dword [esp + 0x4c]
fstp dword [esp + 0xac]
fld dword [esp + 0x50]
fadd dword [esp + 0x34]
fstp dword [esp + 0xb0]
jne 0x449e32
mov ecx, dword [esp + 0x3c]
mov ax, word [ebx + 0xe]
mov edx, dword [esp + 0x10]
push ecx
and eax, 0x1bff
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.00449fc0
add esp, 0x10
jmp 0x449e58
mov edx, dword [esp + 0x3c]
mov cx, word [ebx + 0xe]
mov eax, dword [esp + 0x10]
push edx
push edi
and ecx, 0x1bff
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.0044a0a0
add esp, 0x14
mov ax, word [esi + 0xe]
and eax, 0x4000
test ax, ax
jne 0x449e91
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x28]
add edx, edi
cmp edx, ecx
mov dword [esp + 0x28], edx
jge 0x449e91
mov eax, dword [esp + 0x40]
shl edi, 4
add ebx, edi
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x449b50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret