Function at 0x1400012a0
Capabilities:
Create thread

Disassembly:
push rdi
push r14
sub rsp, 0x98
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140049c18]
xor r14d, r14d
mov dword [rsp + 0x50], r14d
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x1400016e0
mov rcx, qword [0x140049c18]
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 0x1400014b6
mov r8d, 0x26
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x14000167d
mov rcx, qword [0x140049c18]
lea r8, [0x140047d20]
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 [0x140049c20]
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400016ea
mov rcx, qword [0x140049c18]
lea rdx, [rbx + 2]
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x140049c30]
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 0x1400016fb
lea rcx, [rdi + rdi*2]
mov qword [rsp + 0x20], r14
lea rbp, [rcx*8]
add r8, 8
mov rcx, qword [0x140049c18]
lea rdx, [rbx + 0xc]
add r8, rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x140049c30]
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 0x1400016fb
mov rcx, qword [0x140049c18]
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 [0x140049c18]
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, [0x140047cb0]
mov rdi, rax
call fcn.14001a3d0
test eax, eax
jne 0x1400016f0
cmp dword [0x140047cfc], 0x7fffffff
je 0x1400016c5
jmp 0x14000163c
mov r8d, 0x1b
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x14000167d
mov rcx, qword [0x140049c18]
lea r8, [0x140047d00]
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 [0x140049c20]
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x140001701
mov rcx, qword [0x140049c18]
lea rdx, [rbx + 2]
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [0x140049c30]
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 0x1400016da
mov rcx, qword [0x140049c18]
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 [0x140049c30]
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 0x1400016da
mov rcx, qword [0x140049c18]
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 [0x140049c18]
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, [0x140047cb0]
mov rdi, rax
call fcn.14001a3d0
test eax, eax
jne 0x140001707
cmp dword [0x140047cfc], 0x7fffffff
je 0x1400016b0
mov rdx, qword [0x140049c80]
cmp rdx, qword [0x140049c88]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
je 0x140001667
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
add qword [0x140049c80], 0x10
jmp 0x140001671
lea r8, [rsp + 0x40]
call fcn.140001af0
lea rcx, [0x140047cb0]
call fcn.14001a3d8
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.14001ae30
add rsp, 0x98
pop r14
pop rdi
ret
mov ecx, 6
mov dword [0x140047cfc], 0x7ffffffe
call fcn.14001a198
int3
mov ecx, 6
mov dword [0x140047cfc], 0x7ffffffe
call fcn.14001a198
int3
call fcn.140001ad0
int3
xor edx, edx
xor ecx, ecx
call fcn.14001cd00
int3
call fcn.140001ad0
int3
mov ecx, 5
call fcn.14001a198
int3
call fcn.140001ad0
int3
call fcn.140001ad0
int3
mov ecx, 5
call fcn.14001a198
int3