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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x102d944c]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [0x10311640]
mov dword [esp + 0x20], eax
push esi
push edi
test eax, eax
je 0x101b2239
mov eax, dword [0x1054e040]
mov edi, 1
movss xmm0, dword [0x102c1660]
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x10], 0
cmp dword [eax + 0x18], edi
jl 0x101b2239
mov ecx, dword [0x1054dfe8]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x101b1928
mov ecx, dword [0x1054e4e4]
add ecx, 0xffffffc8
xor ecx, 0xab5b34
cmp dword [ecx + esi], 0
jne 0x101b1928
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x101b1928
mov ecx, dword [0x1054e4bc]
mov edx, dword [esp + 0x28]
add ecx, 0xffffffd2
xor ecx, 0xab5b2a
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x101b176a
mov ecx, dword [0x1054e0d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x101b1928
mov eax, dword [0x1054e4a8]
xorps xmm1, xmm1
add eax, 0xffffffd7
movss dword [esp + 0x24], xmm1
xor eax, 0xab5b25
movq xmm0, qword [eax + esi]
mov eax, dword [eax + esi + 8]
movq qword [esp + 0x3c], xmm0
movss xmm3, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
subss xmm3, dword [0x1031164c]
subss xmm2, dword [0x10311650]
mov dword [esp + 0x44], eax
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x10311654]
movss dword [esp + 0x20], xmm3
movaps xmm1, xmm2
movss dword [esp + 0x18], xmm2
mulss xmm1, xmm2
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
call fcn.100a2ff0
movss xmm1, dword [esp + 0x20]
movaps xmm3, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x101b182f
movss xmm1, dword [esp + 0x18]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x101b182f
movss xmm2, dword [esp + 0xc]
comiss xmm2, xmm0
movss xmm1, dword [esp + 0x24]
jbe 0x101b1825
movss xmm0, dword [0x102c1680]
jmp 0x101b189a
movss xmm0, dword [0x102c15f8]
jmp 0x101b189a
movss xmm0, dword [esp + 0xc]
movaps xmm1, xmm3
xorps xmm0, xmmword [0x102c1d50]
call fcn.100a2eb0
mulss xmm0, dword [0x102c15c4]
xorps xmm1, xmm1
comiss xmm1, xmm0
movss dword [esp + 0xc], xmm0
jbe 0x101b1868
addss xmm0, dword [0x102c169c]
movss dword [esp + 0xc], xmm0
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x18]
call fcn.100a2eb0
movaps xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x102c15c4]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0xc]
jbe 0x101b189a
addss xmm1, dword [0x102c169c]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x48]
subss xmm0, dword [eax + 0xc]
subss xmm1, dword [eax + 0x10]
movss dword [esp + 0x48], xmm0
xorps xmm0, xmm0
subss xmm0, dword [eax + 0x14]
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm0
call fcn.101c9d30
lea ecx, [esp + 0x4c]
call fcn.101c9d30
lea ecx, [esp + 0x50]
call fcn.101c9d30
movss xmm1, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x48]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x101b1906
sqrtsd xmm0, xmm0
jmp 0x101b190b
call fcn.10223730
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x101b1928
mov ecx, esi
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x10], ecx
jmp 0x101b192c
mov ecx, dword [esp + 0x10]
mov eax, dword [0x1054e040]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x101b16f6
test ecx, ecx
je 0x101b2239
mov eax, dword [0x1054e4a8]
mov esi, dword [esp + 0x28]
add eax, 0xffffffd7
xor eax, 0xab5b25
movss xmm1, dword [eax + ecx + 4]
subss xmm1, dword [eax + esi + 4]
movss xmm0, dword [eax + ecx + 8]
subss xmm0, dword [eax + esi + 8]
movss xmm2, dword [eax + ecx]
subss xmm2, dword [eax + esi]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [esp + 0x1c], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.100a2ff0
movss xmm1, dword [esp + 0x1c]
movaps xmm3, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x101b19e5
movss xmm1, dword [esp + 0x18]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x101b19e5
movss xmm2, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm2, xmm0
jbe 0x101b19db
movss xmm0, dword [0x102c1680]
jmp 0x101b1a53
movss xmm0, dword [0x102c15f8]
jmp 0x101b1a53
movss xmm0, dword [esp + 0x28]
movaps xmm1, xmm3
xorps xmm0, xmmword [0x102c1d50]
call fcn.100a2eb0
movaps xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x102c15c4]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x101b1a21
addss xmm1, dword [0x102c169c]
movss dword [esp + 0xc], xmm1
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x18]
call fcn.100a2eb0
movaps xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x102c15c4]
comiss xmm0, xmm1
movss xmm0, dword [esp + 0xc]
jbe 0x101b1a53
addss xmm1, dword [0x102c169c]
lea ecx, [esp + 0x48]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
mov dword [esp + 0x50], 0
call fcn.101c9d30
lea ecx, [esp + 0x4c]
call fcn.101c9d30
lea ecx, [esp + 0x50]
call fcn.101c9d30
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [0x102c12ec]
movss dword [esp + 0x14], xmm0
call fcn.100a2fd0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.100a2f50
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, dword [0x102c12ec]
movss dword [esp + 0x14], xmm0
call fcn.100a2fd0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.100a2f50
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [0x102c12ec]
movss dword [esp + 0xc], xmm0
call fcn.100a2fd0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x14]
movaps xmm1, xmm0
mulss xmm0, dword [esp + 0x1c]
mulss xmm1, dword [esp + 0x18]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x28]
xorps xmm1, xmmword [0x102c1d50]
movss dword [esp + 0x34], xmm1
call fcn.100a2f50
movss xmm7, dword [esp + 0x10]
lea ecx, [esp + 0x54]
movss xmm6, dword [esp + 0x1c]
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x28]
movaps xmm5, xmm0
mov dword [esp + 0x54], 0
mulss xmm5, dword [0x102c1734]
mov dword [esp + 0x58], 0
xorps xmm6, xmmword [0x102c1d50]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x18]
mov dword [esp + 0x5c], 0
mulss xmm1, dword [esp + 0x1c]
mov eax, dword [esi]
mulss xmm7, dword [0x102c1734]
push ecx
mulss xmm6, xmm5
mov ecx, esi
mov eax, dword [eax + 0x28c]
mulss xmm5, dword [esp + 0x1c]
mulss xmm7, dword [esp + 0x18]
subss xmm6, xmm0
subss xmm5, xmm1
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x10], xmm5
call eax
cmp dword [esi + 0x39e1], 0
je 0x101b1d30
mov edx, dword [0x1054e1b4]
mov eax, dword [edx + esi]
test eax, eax
je 0x101b1d30
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x101b1d30
cmp byte [eax + 0x109], 0
xorps xmm1, xmm1
jne 0x101b1c50
mov eax, dword [0x1054e514]
add eax, 0xffffffbc
xor eax, 0xab5b40
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x101b1c50
mov eax, dword [0x1054e5a4]
add eax, 0xffffff98
xor eax, 0xab5b64
mov edx, dword [eax + ecx]
mov ecx, dword [0x1054dfe8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x101b1d30
mov edx, dword [0x1054e1b4]
xorps xmm1, xmm1
mov edx, dword [edx + esi]
mov ecx, dword [0x1054e598]
add ecx, 0xffffff9b
xor ecx, 0xab5b61
mov eax, dword [edx + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x101b1d30
movss xmm4, dword [eax + 0x1ac]
movss xmm3, dword [esp + 0x5c]
cvtps2pd xmm4, xmm4
cvtps2pd xmm0, xmm3
addsd xmm4, qword [0x102c1460]
comisd xmm0, xmm4
movsd qword [esp + 0x28], xmm4
jbe 0x101b1d36
subsd xmm0, xmm4
xorps xmm5, xmm5
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x102c1508]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x102c1428]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x101b1cf1
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.10201b26
movss xmm3, dword [esp + 0x64]
add esp, 8
movsd xmm4, qword [esp + 0x28]
fstp dword [esp + 0x14]
movss xmm5, dword [esp + 0x14]
movaps xmm0, xmm5
mulss xmm0, xmm5
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm0
cvtps2pd xmm0, xmm5
movaps xmm1, xmm2
subsd xmm4, xmm3
mulsd xmm1, qword [0x102c1478]
addsd xmm2, xmm2
mulsd xmm2, xmm0
subsd xmm1, xmm2
mulsd xmm1, xmm4
addsd xmm1, xmm3
cvtpd2ps xmm3, xmm1
movss dword [esp + 0x5c], xmm3
jmp 0x101b1d36
movss xmm3, dword [esp + 0x5c]
movss xmm0, dword [0x102c160c]
xor eax, eax
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
movss xmm2, dword [esp + 0x20]
mulss xmm4, xmm0
mov word [esp + 0xae], ax
mulss xmm5, xmm0
mov dword [esp + 0x7c], eax
mulss xmm6, xmm0
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
movss xmm7, dword [esp + 0x54]
movlpd qword [esp + 0xa6], xmm0
addss xmm4, xmm7
movss xmm0, dword [0x102c1590]
addss xmm6, xmm3
mulss xmm2, xmm0
mov dword [esp + 0x9c], 0
addss xmm5, dword [esp + 0x58]
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x20], xmm2
movss xmm2, dword [esp + 0xc]
mulss xmm2, xmm0
mov byte [esp + 0xa5], 1
movss dword [esp + 0xc], xmm2
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0xc]
mulss xmm2, xmm0
addss xmm1, xmm5
movss dword [esp + 0x10], xmm2
movss xmm2, dword [esp + 0x20]
movss xmm0, dword [esp + 0x10]
addss xmm2, xmm7
movss dword [esp + 0x14], xmm2
movss xmm2, dword [esp + 0x20]
addss xmm2, xmm4
movss xmm4, dword [esp + 0xc]
addss xmm4, dword [esp + 0x58]
subss xmm2, dword [esp + 0x14]
subss xmm1, xmm4
movss dword [esp + 0x28], xmm4
movaps xmm4, xmm0
addss xmm0, xmm6
addss xmm4, xmm3
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x74], xmm1
mulss xmm1, xmm1
subss xmm0, xmm4
mulss xmm2, xmm2
addss xmm1, xmm2
xorps xmm2, xmm2
movss dword [esp + 0x78], xmm0
mulss xmm0, xmm0
addss xmm1, xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x101b1e75
mov byte [esp + 0xa5], 0
movss xmm0, dword [esp + 0x14]
xor eax, eax
subss xmm5, dword [esp + 0xc]
subss xmm7, dword [esp + 0x20]
subss xmm6, dword [esp + 0x10]
subss xmm3, dword [esp + 0x10]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x68], xmm4
movss xmm4, dword [esp + 0x24]
subss xmm6, xmm3
subss xmm4, dword [esp + 0x20]
movlpd qword [esp + 0xf6], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc8], xmm6
subss xmm4, xmm7
mulss xmm6, xmm6
mov word [esp + 0xfe], ax
mov dword [esp + 0xcc], eax
subss xmm5, xmm0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 1
movss dword [esp + 0xc0], xmm4
mulss xmm4, xmm4
mov dword [esp + 0x6c], 0
movss dword [esp + 0xc4], xmm5
mulss xmm5, xmm5
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
addss xmm4, xmm5
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xec], 0
addss xmm4, xmm6
mov byte [esp + 0xf5], 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x101b1fa7
mov byte [esp + 0xf5], 0
mov eax, dword [0x1055e328]
mov dword [esp + 0xf0], 0
mov byte [esp + 0xf4], 1
movss dword [esp + 0xb0], xmm7
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm3
mov dword [esp + 0xbc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
test al, 1
jne 0x101b2051
or eax, 1
mov dword [0x1055e328], eax
mov eax, dword [0x1054e1cc]
mov dword [0x1055e318], eax
mov dword [0x1055e320], 0
mov dword [0x1055e324], 0
push 0x30
xorps xmm0, xmm0
mov dword [0x1055e31c], esi
lea eax, [esp + 0x128]
mov dword [esp + 0x124], 0
push 0
push eax
movups xmmword [esp + 0x10c], xmm0
movups xmmword [esp + 0x11c], xmm0
call fcn.101fd380
mov ecx, dword [0x1054e000]
lea edx, [esp + 0x10c]
add esp, 0xc
mov eax, dword [ecx]
push edx
push 0x1055e318
push 0x200400b
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x6c]
push edx
call eax
movss xmm2, dword [esp + 0x10c]
movss xmm0, dword [esp + 0x110]
subss xmm0, dword [esp + 0x104]
subss xmm2, dword [esp + 0x100]
movss xmm1, dword [esp + 0x114]
subss xmm1, dword [esp + 0x108]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.100a2ff0
mov ecx, dword [0x1054e000]
lea edx, [esp + 0x100]
push edx
push 0x1055e318
push 0x200400b
mov eax, dword [ecx]
lea edx, [esp + 0xbc]
push edx
movss dword [esp + 0x44], xmm0
mov eax, dword [eax + 0x14]
call eax
movss xmm2, dword [esp + 0x10c]
movss xmm0, dword [esp + 0x110]
subss xmm0, dword [esp + 0x104]
subss xmm2, dword [esp + 0x100]
movss xmm1, dword [esp + 0x114]
subss xmm1, dword [esp + 0x108]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.100a2ff0
movss xmm3, dword [esp + 0x34]
movss xmm1, dword [0x102c1560]
movaps xmm2, xmm3
subss xmm2, xmm0
comiss xmm2, xmm1
jbe 0x101b219b
mov esi, dword [0x1055d068]
inc esi
jmp 0x101b219d
xor esi, esi
subss xmm0, xmm3
mov dword [0x1055d068], esi
comiss xmm0, xmm1
jbe 0x101b21b5
mov edx, dword [0x1055d060]
inc edx
jmp 0x101b21b7
xor edx, edx
movaps xmm0, xmm2
mov dword [0x1055d060], edx
call fcn.100a2f70
comiss xmm1, xmm0
jb 0x101b21d3
mov ecx, dword [0x1055d064]
inc ecx
jmp 0x101b21d5
xor ecx, ecx
xor eax, eax
mov dword [0x1055d064], ecx
cmp edx, 0xa
jle 0x101b21fb
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret 4
cmp esi, 0xa
jle 0x101b221b
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret 4
xor edx, edx
cmp ecx, 0xa
cmovg eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x15c]
mov eax, 2
pop edi
pop esi
xor ecx, esp
call fcn.101fae3a
mov esp, ebp
pop ebp
ret 4