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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x30
push ebx
mov ebx, ecx
movzx ecx, al
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor edi, edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
mov dword [ebx], eax
mov dword [ebx + 0x84], edi
mov dword [ebx + 4], ecx
movzx eax, byte [esi + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x14]
shl eax, 8
add eax, dword [esi + 0x10]
and eax, 0x200
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp + 0x18]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x30], edi
lea edi, [ebx + 0x1c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x18]
mov esi, dword [edi + 8]
sub esi, dword [edi]
je 0x100b1c34
xor edx, edx
mov eax, 0x7fffffff
div esi
cmp ecx, eax
jg 0x100b1f38
imul ecx, esi
cmp ecx, 0x7fffffe0
ja 0x100b1f38
lea esi, [ecx + 0x1f]
shr esi, 5
shl esi, 2
push 1
push esi
call fcn.1012ef43
mov dword [ebx + 0x2c], eax
pop ecx
pop ecx
test eax, eax
je 0x100b1f38
cmp dword [ebp + 0xc], 0x20
jne 0x100b1c76
push esi
push 0xff
push eax
call fcn.10128a60
add esp, 0xc
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
imul eax, dword [ebx + 4]
push 0x1f
pop esi
add eax, esi
cdq
and edx, esi
add eax, edx
sar eax, 5
shl eax, 2
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
and dword [ebx + 0x60], 0
lea eax, [eax*8 + 0x1f]
cdq
and edx, esi
add eax, edx
sar eax, 5
shl eax, 2
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x44], eax
mov ecx, dword [eax + 8]
mov dword [ebx + 0x4c], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 8]
imul eax, ecx
mov ecx, dword [ebp + 0x20]
add eax, esi
cdq
and edx, esi
add eax, edx
mov edx, 0x100
sar eax, 5
shl eax, 2
mov dword [ebx + 0x54], eax
test edx, ecx
jne 0x100b1d41
test cl, 0xa0
jne 0x100b1d3c
mov eax, dword [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp + 0xc], eax
je 0x100b1d3c
mov eax, dword [ebp + 0x14]
cdq
xor eax, edx
sub eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cdq
mov dword [ebp + 0x1c], eax
mov edi, edx
mov eax, dword [ebx + 0x4c]
imul dword [ebx + 0x50]
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push ecx
push esi
call fcn.10127390
cmp edi, edx
jg 0x100b1d36
jl 0x100b1d31
cmp dword [ebp + 0x1c], eax
jae 0x100b1d36
push 0x20
pop ecx
jmp 0x100b1d39
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x6c], ecx
jmp 0x100b1d4f
test cl, 4
mov eax, 0x104
cmovne edx, eax
mov dword [ebx + 0x6c], edx
cmp dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x4c]
movd xmm1, dword [ebx + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebx + 0x50]
movd xmm2, dword [ebx + 0x18]
divss xmm0, xmm1
cvtdq2ps xmm2, xmm2
cvtps2pd xmm6, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm7, xmm0
xorps xmm0, xmm0
jle 0x100b1d8d
movaps xmm1, xmm0
cmp dword [ebx + 0x18], 0
cvtps2pd xmm3, xmm1
jg 0x100b1d99
movaps xmm0, xmm2
cvtps2pd xmm1, xmm0
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm4, xmm0
movd xmm0, dword [edi + 8]
cvtdq2ps xmm0, xmm0
addsd xmm4, xmm3
cvtps2pd xmm5, xmm0
movd xmm0, dword [edi + 4]
cvtdq2ps xmm0, xmm0
addsd xmm5, xmm3
mulsd xmm4, xmm6
cvtps2pd xmm2, xmm0
movd xmm0, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
addsd xmm2, xmm1
mulsd xmm5, xmm6
cvtps2pd xmm3, xmm0
comisd xmm4, xmm5
addsd xmm3, xmm1
mulsd xmm2, xmm7
movsd qword [ebp - 8], xmm5
mulsd xmm3, xmm7
movsd qword [ebp - 0x10], xmm2
movsd qword [ebp - 0x18], xmm3
jbe 0x100b1e07
movaps xmm0, xmm4
movaps xmm4, xmm5
movsd qword [ebp - 8], xmm0
comisd xmm2, xmm3
jbe 0x100b1e1d
movaps xmm0, xmm2
movaps xmm2, xmm3
movsd qword [ebp - 0x10], xmm2
movsd qword [ebp - 0x18], xmm0
cvtpd2ps xmm0, xmm4
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.1012feb0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movsd xmm0, qword [ebp - 8]
cvtpd2ps xmm0, xmm0
mov dword [ebx + 0x34], eax
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.1012fd90
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movsd xmm0, qword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mov dword [ebx + 0x3c], eax
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.1012feb0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movsd xmm0, qword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
mov dword [ebx + 0x38], eax
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.1012fd90
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
xor edi, edi
cvtpd2ps xmm0, xmm0
pop ecx
pop ecx
lea ecx, [ebx + 0x34]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
cvttss2si eax, xmm0
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call fcn.1001579d
xor eax, eax
cmp dword [ebx + 8], 1
jne 0x100b1f0a
cmp dword [ebx + 4], 8
setne al
inc eax
jmp 0x100b1f35
cmp dword [ebx + 8], 8
jne 0x100b1f2c
cmp dword [ebx + 4], 8
jne 0x100b1f21
cmp dword [ebx + 0xc], edi
setne al
add eax, 3
jmp 0x100b1f35
cmp dword [ebx + 0xc], edi
setne al
add eax, 5
jmp 0x100b1f35
cmp dword [ebx + 0xc], edi
setne al
add eax, 7
mov dword [ebx + 0x68], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c