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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov dword [esp + 0x18], ecx
mov ecx, 0x101a157e
push edi
call fcn.10138266
push 0
push 0
call fcn.1006ce20
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x1006dab8
mov ecx, dword [0x101979b8]
xor edx, edx
mov eax, dword [0x10197994]
mov esi, 0x11
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], 0x11
movss xmm0, dword [ecx + 0x65a0]
movss xmm1, dword [ecx + 0x659c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
sqrtss xmm1, xmm1
maxss xmm1, dword [0x1015bd40]
divss xmm1, dword [eax]
mulss xmm1, dword [0x1015bde4]
subss xmm1, dword [0x1015bd40]
cvttss2si eax, xmm1
test eax, eax
cmovs eax, edx
lea edx, [esp + 0x60]
sub esi, eax
lea eax, [esp + 0x64]
mov dword [esp + 0x64], esi
cmovns edx, eax
cmp esi, 0x11
lea eax, [esp + 0x68]
cmovle eax, edx
mov edx, dword [eax]
mov dword [esp + 0x44], edx
test edx, edx
jne 0x1006d3da
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
jmp 0x1006d557
movq xmm0, qword [ecx + 0x659c]
xor esi, esi
mov eax, dword [ecx + 0x65a4]
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
test edx, edx
jle 0x1006d516
mov edx, dword [0x10190030]
mov eax, dword fs:[0x2c]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x20], edx
nop
lea eax, [esi + 1]
mov edi, dword [0x10199f5c]
movd xmm2, eax
mov esi, eax
mov eax, dword [0x1019006c]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
mov eax, dword [0x10197b9c]
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [ecx + 0x659c]
mulss xmm0, dword [ecx + 0x65a0]
mulss xmm2, dword [ecx + 0x65a4]
movss dword [esp + 0x48], xmm1
addss xmm1, dword [0x10199e10]
movss dword [esp + 0x4c], xmm0
addss xmm0, dword [0x10199e14]
movss dword [esp + 0x50], xmm2
addss xmm2, dword [0x10199e18]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm2
cmp eax, dword [edx + 4]
jle 0x1006d4c0
push 0x10197b9c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b9c], 0xffffffff
jne 0x1006d4c0
mov eax, dword [0x10197b8c]
push 0x10197b9c
mov dword [0x10197b74], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x10197b74]
mov eax, dword [edi + eax]
mov dword [esp + 0x40], eax
and al, 1
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x10199f5c]
call fcn.1008a4e0
movq xmm0, qword [esp + 0x48]
mov eax, dword [esp + 0x50]
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
cmp esi, dword [esp + 0x44]
jge 0x1006d512
mov ecx, dword [0x101979b8]
mov edx, dword [esp + 0x20]
jmp 0x1006d410
mov edi, dword [esp + 0x18]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x3c]
addss xmm2, dword [0x10199e10]
addss xmm1, dword [0x10199e14]
addss xmm0, dword [0x10199e18]
unpcklps xmm2, xmm1
movss dword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
movq qword [esp + 0x54], xmm2
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov esi, dword [0x1019797c]
mov byte [esp + 0x17], 0
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0xd20
cmp byte [edi + esi], 0
je 0x1006dab8
mov ecx, dword [esp + 0x18]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1006d599
lea eax, [esi + 0xa4]
add eax, edi
jmp 0x1006d5a4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 0x18]
movq xmm0, qword [eax]
add ecx, 8
mov esi, dword [eax + 8]
movq qword [esp + 0x20], xmm0
movq qword [esp + 0x34], xmm0
mov eax, dword [ecx]
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1006d7b4
mov eax, dword [0x10190030]
mov edi, dword fs:[0x2c]
movq xmm0, qword [esp + 0x20]
mov ecx, dword [0x10197e68]
mov dword [esp + 0x74], esi
mov edi, dword [edi + eax*4]
mov esi, dword [esp + 0x18]
movq qword [esp + 0x6c], xmm0
cmp ecx, dword [edi + 4]
jle 0x1006d637
push 0x10197e68
call fcn.100dfe87
mov ecx, dword [0x10197e68]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1006d637
mov eax, dword [0x10197d00]
push 0x10197e68
mov dword [0x10197e54], eax
call fcn.100dfe36
mov ecx, dword [0x10197e68]
add esp, 4
mov eax, dword [0x10197e54]
movss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm3
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x38]
addss xmm2, dword [esi + eax]
addss xmm1, dword [esi + eax + 4]
addss xmm0, dword [esi + eax + 8]
mov esi, dword [esp + 0x18]
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm0
cmp ecx, dword [edi + 4]
jle 0x1006d6b6
push 0x10197e68
call fcn.100dfe87
add esp, 4
cmp dword [0x10197e68], 0xffffffff
jne 0x1006d6b0
mov eax, dword [0x10197d00]
push 0x10197e68
mov dword [0x10197e54], eax
call fcn.100dfe36
add esp, 4
movss xmm3, dword [esp + 0x3c]
mov eax, dword [0x10197e54]
xor edi, edi
movss xmm0, dword [esi + eax + 8]
lea eax, [esp + 0x6c]
mulss xmm0, dword [0x1015bce4]
mov dword [esp + 0x1c], eax
addss xmm3, xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm3
nop
push 1
mov dword [esp + 0x2c], 0x1015b2f4
call fcn.100e0468
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x94]
mov eax, dword [0x10199f5c]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [0x10190060]
movups xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x100], 0
push dword [esp + 0x1c]
movups xmmword [esp + 0xf4], xmm0
mov eax, dword [eax]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x58]
push eax
call fcn.10058660
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [0x10190060]
push 0x4600400b
push eax
call esi
movss xmm0, dword [esp + 0x10c]
comiss xmm0, dword [0x1015bd3c]
jae 0x1006d9ea
add dword [esp + 0x1c], 0xc
inc edi
cmp edi, 3
jl 0x1006d700
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCP140.dll__Mtx_lock]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [0x101979c4]
push 0x10199d78
mov dword [esp + 0x24], eax
call edi
add esp, 4
test eax, eax
jne 0x1006dab0
mov eax, dword [0x10199da4]
cmp eax, 0x7fffffff
je 0x1006d914
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
imul esi, eax, 0x3504
add esi, dword [esp + 0x20]
je 0x1006d8da
cmp dword [esi + 0x3500], 0
je 0x1006d8da
cmp byte [0x10199e69], 0
je 0x1006d8da
mov ecx, dword [esi + 0x34fc]
mov eax, dword [esi + 0x34f0]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
sub esp, 0xc
mov edx, esp
sub esp, 0xc
mov dword [edx + 8], ecx
mov dword [edx + 4], 0
mov dword [edx], eax
mov edx, esp
mov ecx, dword [esi + 0x3500]
add ecx, dword [esi + 0x34fc]
mov eax, dword [esi + 0x34f0]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x44]
mov dword [edx + 4], 0
mov dword [edx], eax
call fcn.1006f110
mov eax, dword [esp + 0x4c]
add esp, 0x1c
cmp eax, dword [esi + 0x34fc]
je 0x1006d8da
lea edx, [eax - 1]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006d8a6
mov eax, dword [eax]
jmp 0x1006d8a8
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push 0x10199d78
mov esi, dword [eax + ecx*4]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test esi, esi
je 0x1006d8e8
push esi
lea ecx, [esp + 0x4c]
call fcn.1006dad0
test al, al
jne 0x1006d9ea
jmp 0x1006d8e8
push 0x10199d78
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [0x101979c4]
push 0x10199d78
mov dword [esp + 0x24], eax
call edi
add esp, 4
test eax, eax
jne 0x1006dab0
mov eax, dword [0x10199da4]
cmp eax, 0x7fffffff
jne 0x1006d922
dec eax
push 6
mov dword [0x10199da4], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [esp + 0x20]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul ecx, eax, 0x3504
add ecx, esi
mov dword [esp + 0x44], ecx
je 0x1006da00
cmp dword [ecx + 0x3500], 0
je 0x1006da00
mov eax, dword [ecx + 0x3500]
mov esi, dword [ecx + 0x34fc]
add eax, esi
mov edx, dword [ecx + 0x34f0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edx
test edx, edx
je 0x1006d973
mov edi, dword [edx]
jmp 0x1006d975
xor edi, edi
cmp esi, eax
je 0x1006d9a4
nop dword [eax]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
dec ecx
and ecx, esi
mov ecx, dword [eax + ecx*4]
call fcn.100ae950
test al, al
jne 0x1006d99c
inc esi
cmp esi, dword [esp + 0x20]
jne 0x1006d980
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x3500]
add eax, dword [ecx + 0x34fc]
cmp esi, eax
je 0x1006da00
test edx, edx
je 0x1006d9bc
mov eax, dword [edx]
jmp 0x1006d9be
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
push 0x10199d78
mov esi, dword [eax + ecx*4]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test esi, esi
je 0x1006da0e
push esi
lea ecx, [esp + 0x4c]
call fcn.1006dad0
test al, al
je 0x1006da0e
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
push 0x10199d78
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x1006da98
nop dword [eax + eax]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push dword [edx + 0x2900]
push dword [eax]
call fcn.100bedf0
mov esi, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x1006da7e
push ecx
push dword [0x10199f5c]
lea eax, [esp + 0x5c]
push 0
push eax
push esi
push dword [esp + 0x2c]
call fcn.100b1920
test al, al
jne 0x1006da79
add esi, 0x10
cmp esi, edi
jne 0x1006da54
jmp 0x1006da7e
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x28]
call fcn.1006ab80
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jne 0x1006da30
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [esp + 0x13c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret