Function at 0x140035770
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140488480]
xor rax, rsp
mov qword [rbp + 0x90], rax
movzx r12d, r8b
mov byte [rsp + 0x50], r8b
mov r14, rcx
mov qword [rsp + 0x70], rcx
mov rbx, qword [rdx]
mov rbx, qword [rbx]
xor r13d, r13d
cmp byte [rbx + 0x19], r13b
jne 0x140035fde
movzx esi, byte [rsp + 0x50]
movzx edi, byte [rsp + 0x50]
lea r12, str.initInstanceList
lea r15, [rbx + 0x20]
mov rcx, r15
call fcn.1400da180
add rax, 0x48
cmp qword [rax + 0x18], 0x10
jb 0x1400357f7
mov rax, qword [rax]
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
nop
call fcn.1400f74d0
mov r8, qword [rax]
mov edx, 2
mov ecx, dword [0x140483010]
call r8
test eax, eax
je 0x14003586f
call fcn.1400f74d0
mov r10, qword [rax + 8]
mov rax, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14003583e
mov rax, qword [r15]
mov qword [rsp + 0x30], rax
lea rax, str.initInstanceList_vmname__s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a9
mov r9, r12
lea r8, str.C:code_app_playerhdSourcemimMimBackend.cpp
mov edx, dword [0x140483010]
mov ecx, 2
call r10
mov rcx, qword [r15 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xd
jb 0x140036162
mov rax, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140035897
mov rax, qword [r15]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xd
lea r9, str.bst.instance.
mov r8, r15
movzx edx, sil
lea rcx, [rbp - 0x30]
call fcn.1400168c0
nop
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x140035913
lea rax, [rcx + 0xd]
mov qword [rbp - 0x20], rax
lea r14, [rbp - 0x30]
cmp rdx, 0x10
cmovae r14, qword [rbp - 0x30]
add r14, rcx
mov r8d, 0xd
lea rdx, str..display_name
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + 0xd], 0
lea rax, [rbp - 0x30]
mov r14, qword [rsp + 0x70]
jmp 0x140035935
mov qword [rsp + 0x20], 0xd
lea r9, str..display_name
movzx r8d, dil
mov edx, 0xd
lea rcx, [rbp - 0x30]
call fcn.14000ce10
mov qword [rbp - 0x10], r13
mov qword [rbp], r13
mov qword [rbp + 8], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x70]
call fcn.1400a8d50
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1400359a8
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400359a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003602b
call fcn.14010464c
mov qword [rbp], r13
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400359f3
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400359ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036032
call fcn.14010464c
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, r15
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
mov rdx, rax
lea rcx, [r14 + 0x10]
call fcn.14002a8e0
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], 4
mov dword [rbp + 0x30], 0x5f726c70
mov byte [rbp + 0x34], 0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x140035a65
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.14002aab0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x50]
call fcn.1400dfee0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140035ae4
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035adf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036039
call fcn.14010464c
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140035b2f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035b2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036040
call fcn.14010464c
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
call fcn.1400f74d0
mov r8, qword [rax]
mov edx, 3
mov ecx, dword [0x140483010]
call r8
test eax, eax
je 0x140035bcf
call fcn.1400f74d0
mov r14, qword [rax + 8]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll__toUtf8_QString__QEGBA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
lea rax, str._s_creating_ipcClient_with_serverName:__s_for_instance__s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2af
mov r9, r12
lea r8, str.C:code_app_playerhdSourcemimMimBackend.cpp
mov edx, dword [0x140483010]
mov ecx, 3
call r14
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov ecx, 0x28
call fcn.140104610
mov r12, rax
test rax, rax
je 0x140035bf6
mov qword [rax], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x20], r13
jmp 0x140035bf9
mov r12, r13
mov qword [rbp - 0x58], r12
lea rdx, [rbp + 0x50]
mov rcx, r12
call fcn.1400b3e10
mov r14, qword [0x14048b660]
add r14, 0x30
mov qword [rsp + 0x78], r14
mov rcx, r14
call fcn.140030ae0
mov rax, qword [r14]
mov r14, qword [rax + 0x10]
lea r9, [rax + 8]
mov r15b, 1
test r14, r14
je 0x140035c93
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x60], r14
lea rcx, [r14 + 0x18]
lea rdx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x140035c64
mov r13, r14
mov r15b, 1
mov r14, qword [r14 + 8]
jmp 0x140035c6b
xor r15b, r15b
mov r14, qword [r14 + 0x10]
test r14, r14
jne 0x140035c40
test r13, r13
je 0x140035c8e
lea rdx, [r13 + 0x18]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x140035c8e
mov qword [r13 + 0x20], r12
jmp 0x140035cae
mov r9, qword [rsp + 0x60]
mov byte [rsp + 0x20], r15b
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
call fcn.14002fd40
mov rcx, qword [0x14048b660]
add rcx, 0x200
call fcn.14002b480
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
sete r13b
movzx r12d, byte [rsp + 0x50]
test r12b, r12b
jne 0x140035ecc
lea rcx, [rbp - 0x50]
call fcn.140014940
mov r15, rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov r12, qword [rax]
test r12, r12
je 0x140035d52
mov ecx, 0x18
call fcn.140104610
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140035d3c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_resource_struct_MimVmInstanceItem____ptr64__struct_std::default_delete_struct_MimVmInstanceItem__.0
mov qword [r14], rax
mov qword [r14 + 0x10], r12
jmp 0x140035d3f
xor r14d, r14d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [r15], 0
jmp 0x140035d5c
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov r15, qword [rbp - 0x50]
test r15, r15
je 0x140035dae
lea rcx, [r15 + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r15 + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r15 + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r15 + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r15 + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r15 + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, 0x60
mov rcx, r15
call fcn.14010464c
mov byte [r12], 0
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
lea rcx, [r12 + 8]
mov rdx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r12 + 0x10]
lea rdx, [rbp - 0x80]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_AEBV0__Z]
lea rcx, [r12 + 0x18]
lea rdx, [0x140145a98]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [r12 + 0x20]
lea rdx, [0x140145b6c]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
mov byte [r12 + 0x28], 1
lea rcx, [r12 + 0x30]
lea rdx, [0x140145b74]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [r12 + 0x38]
lea rdx, [rsp + 0x58]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_AEBV0__Z]
mov byte [r12 + 0x40], 0
mov byte [r12 + 0x41], r13b
mov ecx, dword [0x14048b640]
lea eax, [rcx + 1]
mov dword [0x14048b640], eax
mov dword [r12 + 0x44], ecx
mov rax, qword [0x14048b660]
mov rcx, qword [rax + 0x18]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
test r14, r14
je 0x140035e75
lock inc dword [r14 + 8]
mov r14, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
call fcn.140058770
nop
test r14, r14
je 0x140035ec6
mov eax, 0xffffffff
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140035ec6
mov r14, qword [rsp + 0x68]
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x140035ec6
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
movzx r12d, byte [rsp + 0x50]
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140035f07
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035f02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036047
call fcn.14010464c
xor r13d, r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], r13b
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140035f64
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035f5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003604e
call fcn.14010464c
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140035fb0
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140035fab
cmp rbx, qword [rax + 0x10]
jne 0x140035fab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140035f98
mov rbx, rax
jmp 0x140035fcf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140035fcf
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140035fc0
mov r14, qword [rsp + 0x70]
cmp byte [rbx + 0x19], 0
je 0x1400357d6
test r12b, r12b
jne 0x1400360ae
mov rbx, qword [0x14048b660]
mov rax, qword [rbx + 0x300]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x140036064
mov rax, qword [rbx + 0x300]
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x140036055
lea r9d, [rdx + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 8]
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__]
mov qword [rbx + 0x300], rax
jmp 0x140036064
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, r13d
lea rcx, [rbx + 0x300]
call fcn.140040c00
mov rax, qword [rbx + 0x300]
movsxd rbx, dword [rax + 4]
shl rbx, 4
add rbx, qword [rax + 0x10]
add rbx, rax
mov rcx, qword [0x14048b660]
add rcx, 0x300
call fcn.14002b420
mov r8, rbx
sub r8, rax
sar r8, 4
lea r9, [0x140039000]
mov rdx, rbx
mov rcx, rax
call fcn.14000d840
call fcn.14004f110
mov rcx, r14
call fcn.140043a90
mov rcx, r14
call fcn.140068310
mov ecx, 8
call fcn.140104610
test rax, rax
je 0x1400360d9
lea rcx, [0x14003bb00]
mov qword [rax], rcx
jmp 0x1400360dc
mov rax, r13
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140009f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140036153
lea rcx, [rbp - 0x78]
call fcn.140030d00
nop
cmp dword [rbp - 0x70], 0
je 0x140036123
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140104760
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x70], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.140028d00
int3