Function at 0x1006d360
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, 0x101a157a
push edi
call fcn.10137ff6
push 0
push 0
call fcn.1006ce80
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x1006db18
mov ecx, dword [0x101978c8]
xor edx, edx
mov eax, dword [0x101978a4]
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 [0x1015bd20]
divss xmm1, dword [eax]
mulss xmm1, dword [0x1015bdc4]
subss xmm1, dword [0x1015bd20]
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 0x1006d43a
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
jmp 0x1006d5b7
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 0x1006d576
mov edx, dword [0x1018ff40]
mov eax, dword fs:[0x2c]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x20], edx
nop
lea eax, [esi + 1]
mov edi, dword [0x10199e74]
movd xmm2, eax
mov esi, eax
mov eax, dword [0x1018ff7c]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
mov eax, dword [0x10197aac]
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 [0x10199d28]
movss dword [esp + 0x4c], xmm0
addss xmm0, dword [0x10199d2c]
movss dword [esp + 0x50], xmm2
addss xmm2, dword [0x10199d30]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm2
cmp eax, dword [edx + 4]
jle 0x1006d520
push 0x10197aac
call fcn.100dfc27
add esp, 4
cmp dword [0x10197aac], 0xffffffff
jne 0x1006d520
mov eax, dword [0x10197a9c]
push 0x10197aac
mov dword [0x10197a84], eax
call fcn.100dfbd6
add esp, 4
mov eax, dword [0x10197a84]
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 [0x10199e74]
call fcn.1008a330
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 0x1006d572
mov ecx, dword [0x101978c8]
mov edx, dword [esp + 0x20]
jmp 0x1006d470
mov edi, dword [esp + 0x18]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x3c]
addss xmm2, dword [0x10199d28]
addss xmm1, dword [0x10199d2c]
addss xmm0, dword [0x10199d30]
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 [0x1019788c]
mov byte [esp + 0x17], 0
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0xd20
cmp byte [edi + esi], 0
je 0x1006db18
mov ecx, dword [esp + 0x18]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1006d5f9
lea eax, [esi + 0xa4]
add eax, edi
jmp 0x1006d604
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 0x1006d814
mov eax, dword [0x1018ff40]
mov edi, dword fs:[0x2c]
movq xmm0, qword [esp + 0x20]
mov ecx, dword [0x10197d78]
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 0x1006d697
push 0x10197d78
call fcn.100dfc27
mov ecx, dword [0x10197d78]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1006d697
mov eax, dword [0x10197c10]
push 0x10197d78
mov dword [0x10197d64], eax
call fcn.100dfbd6
mov ecx, dword [0x10197d78]
add esp, 4
mov eax, dword [0x10197d64]
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 0x1006d716
push 0x10197d78
call fcn.100dfc27
add esp, 4
cmp dword [0x10197d78], 0xffffffff
jne 0x1006d710
mov eax, dword [0x10197c10]
push 0x10197d78
mov dword [0x10197d64], eax
call fcn.100dfbd6
add esp, 4
movss xmm3, dword [esp + 0x3c]
mov eax, dword [0x10197d64]
xor edi, edi
movss xmm0, dword [esi + eax + 8]
lea eax, [esp + 0x6c]
mulss xmm0, dword [0x1015bcc4]
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.100e0208
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x94]
mov eax, dword [0x10199e74]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [0x1018ff70]
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.100586d0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [0x1018ff70]
push 0x4600400b
push eax
call esi
movss xmm0, dword [esp + 0x10c]
comiss xmm0, dword [0x1015bd1c]
jae 0x1006da4a
add dword [esp + 0x1c], 0xc
inc edi
cmp edi, 3
jl 0x1006d760
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
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 [0x101978d4]
push 0x10199c8c
mov dword [esp + 0x24], eax
call edi
add esp, 4
test eax, eax
jne 0x1006db10
mov eax, dword [0x10199cb8]
cmp eax, 0x7fffffff
je 0x1006d974
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 0x1006d93a
cmp dword [esi + 0x3500], 0
je 0x1006d93a
cmp byte [0x10199d81], 0
je 0x1006d93a
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.1006f180
mov eax, dword [esp + 0x4c]
add esp, 0x1c
cmp eax, dword [esi + 0x34fc]
je 0x1006d93a
lea edx, [eax - 1]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006d906
mov eax, dword [eax]
jmp 0x1006d908
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push 0x10199c8c
mov esi, dword [eax + ecx*4]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test esi, esi
je 0x1006d948
push esi
lea ecx, [esp + 0x4c]
call fcn.1006db30
test al, al
jne 0x1006da4a
jmp 0x1006d948
push 0x10199c8c
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [0x101978d4]
push 0x10199c8c
mov dword [esp + 0x24], eax
call edi
add esp, 4
test eax, eax
jne 0x1006db10
mov eax, dword [0x10199cb8]
cmp eax, 0x7fffffff
jne 0x1006d982
dec eax
push 6
mov dword [0x10199cb8], 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 0x1006da60
cmp dword [ecx + 0x3500], 0
je 0x1006da60
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 0x1006d9d3
mov edi, dword [edx]
jmp 0x1006d9d5
xor edi, edi
cmp esi, eax
je 0x1006da04
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.100adf80
test al, al
jne 0x1006d9fc
inc esi
cmp esi, dword [esp + 0x20]
jne 0x1006d9e0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x3500]
add eax, dword [ecx + 0x34fc]
cmp esi, eax
je 0x1006da60
test edx, edx
je 0x1006da1c
mov eax, dword [edx]
jmp 0x1006da1e
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
push 0x10199c8c
mov esi, dword [eax + ecx*4]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test esi, esi
je 0x1006da6e
push esi
lea ecx, [esp + 0x4c]
call fcn.1006db30
test al, al
je 0x1006da6e
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret
push 0x10199c8c
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 0x1006daf8
nop dword [eax + eax]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push dword [edx + 0x2900]
push dword [eax]
call fcn.100bedc0
mov esi, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x1006dade
push ecx
push dword [0x10199e74]
lea eax, [esp + 0x5c]
push 0
push eax
push esi
push dword [esp + 0x2c]
call fcn.100b0f30
test al, al
jne 0x1006dad9
add esi, 0x10
cmp esi, edi
jne 0x1006dab4
jmp 0x1006dade
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x28]
call fcn.1006abe0
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jne 0x1006da90
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100dfbc8
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.100dfbc8
mov esp, ebp
pop ebp
ret