Function at 0x140001240
Capabilities:
Create thread

Disassembly:
push rdi
push r14
sub rsp, 0x98
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [0x14000b810]
xor r14d, r14d
mov dword [rsp + 0x50], r14d
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140001696
mov rcx, qword [0x14000b810]
mov eax, r14d
cmp dword [rsp + 0x50], eax
mov r9d, 0x1000
mov qword [rsp + 0xb8], rbx
sete al
mov qword [rsp + 0xc0], rbp
xor edx, edx
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x20], 0x40
test eax, eax
je 0x140001470
mov r8d, 0x26
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140001657
mov rcx, qword [0x14000b810]
lea r8, [0x14000b130]
xorps xmm0, xmm0
mov dword [rsp + 0x58], 0x18
mov r9d, 0x26
mov qword [rsp + 0x20], r14
mov rdx, rax
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14000b818]
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400016a0
mov rcx, qword [0x14000b810]
lea rdx, [rbx + 2]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x14000b828]
movabs rsi, 0x2aaaaaaaaaaaaaab
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rsi
sub rcx, r8
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jbe 0x1400016a6
lea rcx, [rdi + rdi*2]
mov qword [rsp + 0x20], r14
lea rbp, [rcx*8]
add r8, 8
mov rcx, qword [0x14000b810]
lea rdx, [rbx + 0xc]
add r8, rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14000b828]
mov rax, rsi
mov r8, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, r8
imul rdx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jbe 0x1400016a6
mov rcx, qword [0x14000b810]
lea rdx, [rbx + 0x15]
add r8, 0x10
mov qword [rsp + 0x20], r14
add r8, rbp
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14000b810]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov r9, rbx
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea rcx, [0x14000b0c0]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000144a
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14000b10c], 0x7fffffff
jne 0x140001615
mov ecx, 6
mov dword [0x14000b10c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, 0x1b
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140001657
mov rcx, qword [0x14000b810]
lea r8, [0x14000b110]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x18
mov r9d, 0x1b
mov qword [rsp + 0x20], r14
mov rdx, rax
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14000b818]
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x14000168a
mov rcx, qword [0x14000b810]
lea rdx, [rbx + 2]
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x14000b828]
movabs rsi, 0x2aaaaaaaaaaaaaab
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rsi
sub rcx, r8
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jbe 0x140001690
mov rcx, qword [0x14000b810]
lea rax, [rdi + rdi*2]
lea rbp, [rax*8]
mov qword [rsp + 0x20], r14
add r8, 8
lea rdx, [rbx + 9]
add r8, rbp
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x14000b828]
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rsi
sub rcx, r8
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jbe 0x140001690
mov rcx, qword [0x14000b810]
lea rdx, [rbx + 0x10]
add r8, 0x10
mov qword [rsp + 0x20], r14
add r8, rbp
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14000b810]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], r14
mov r9, rbx
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea rcx, [0x14000b0c0]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400015f3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14000b10c], 0x7fffffff
jne 0x140001615
mov ecx, 6
mov dword [0x14000b10c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rdx, qword [0x14000b878]
cmp rdx, qword [0x14000b880]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
je 0x140001640
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
add qword [0x14000b878], 0x10
jmp 0x14000164a
lea r8, [rsp + 0x40]
call fcn.140001a90
lea rcx, [0x14000b0c0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400062c0
add rsp, 0x98
pop r14
pop rdi
ret
call fcn.140001a70
int3
call fcn.140001a70
int3
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140001a70
int3
call fcn.140001a70
int3