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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [edi + 8]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004494b0
mov eax, dword [0x8a1448]
mov dword [esp + 0x78], 0x3f800000
lea edx, [esp + 0x6c]
mov ecx, dword [eax + 0x14]
push edx
add ecx, 0x30
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.0045fc90
mov eax, dword [esp + 0x50]
push eax
call fcn.004498a0
mov esi, eax
add esp, 0x18
movsx eax, word [edi + 0xe]
mov ecx, eax
mov dword [esp + 0x10], esi
sar ecx, 0xb
and ecx, 3
cmp esi, 2
jne 0x44964f
mov edx, ecx
and edx, 3
test dl, dl
je 0x449661
mov esi, 1
mov dword [esp + 0x10], esi
jmp 0x449654
cmp esi, 1
jne 0x449661
and ecx, 3
test cl, cl
je 0x449661
xor esi, esi
mov dword [esp + 0x10], esi
mov ebx, 1
mov ecx, esi
shl ebx, cl
lea esi, [edi + 0x10]
cmp ebx, 1
mov dword [esp + 0x30], ebx
jle 0x4496ae
lea edx, [ebx - 1]
and eax, 0x3ff
xor ecx, ecx
mov dword [esp + 0x2c], ebx
test edx, edx
mov dword [esp + 0x24], eax
jle 0x4496ae
mov ax, word [esi + 0xe]
mov ebp, dword [esp + 0x24]
and eax, 0x3ff
cmp ebp, eax
jne 0x4496a7
add esi, 0x10
inc ecx
cmp ecx, edx
jl 0x44968c
jmp 0x4496ae
lea ebx, [ecx + 1]
mov dword [esp + 0x30], ebx
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x1c], edx
mov ebp, dword [esi + 4]
mov dword [esp + 0x58], ebp
mov ebp, dword [esi + 8]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esi]
sub eax, ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], eax
sub ecx, ebp
fild dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x5c]
sub edx, ecx
lea ecx, [esp + 0x74]
fmul dword [0x4b2dc0]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x44]
push ecx
push edx
fstp dword [esp + 0x4c]
fild dword [esp + 0x20]
fmul dword [0x4b2dc0]
fild dword [esp + 0x24]
fmul dword [0x4b2dc0]
fstp dword [esp + 0x54]
fadd dword [0x4b3018]
fstp dword [esp + 0x50]
call fcn.0044ad20
lea eax, [esp + 0x4c]
push eax
call fcn.00458100
fild dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
fmul dword [0x4b3014]
fstp dword [esp + 0x48]
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x30], eax
call fcn.004494b0
lea eax, [esp + 0x88]
push eax
call fcn.00458100
lea ecx, [esp + 0xcc]
push ecx
call fcn.0045fe10
movsx edx, word [edi + 0xc]
mov dword [esp + 0x40], edx
add esp, 0x18
fild dword [esp + 0x28]
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xb8]
fmul dword [0x4b2dc0]
fmul dword [0x4b3010]
fstp dword [esp]
push eax
push ecx
call fcn.0045feb0
lea edx, [esp + 0xc0]
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.0045fd20
lea edx, [esp + 0x4c]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0045fc90
fld dword [esp + 0x58]
fadd dword [esp + 0x68]
mov eax, dword [esp + 0x50]
add esp, 0x24
cmp eax, ebx
push 0
fstp dword [esp + 0xa8]
fld dword [esp + 0x3c]
fadd dword [esp + 0x4c]
fstp dword [esp + 0xac]
fld dword [esp + 0x50]
fadd dword [esp + 0x40]
fstp dword [esp + 0xb0]
jne 0x44984f
mov ax, word [edi + 0xe]
mov edx, dword [esp + 0x14]
and eax, 0x1bff
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.00449920
add esp, 0x10
jmp 0x44986f
mov ax, word [edi + 0xe]
mov edx, dword [esp + 0x14]
push ebx
and eax, 0x1bff
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.004499f0
add esp, 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xfc]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0x28], eax
jge 0x44988e
shl ebx, 4
add edi, ebx
jmp 0x4495d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret