Function at 0x140061220
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x788], rbx
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov r12, rdx
mov rdi, rcx
movsxd r14, r8d
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140061531
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
call fcn.140057e30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140061343
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov qword [rdi + 0x1d0], rsi
mov edx, r15d
lea rcx, [rbp + 0x430]
call fcn.140056af0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp + 0x3f0]
call fcn.140056af0
nop
lea r8, [0x14015e3ec]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140035770
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.140064970
mov r10, rax
call fcn.14005bae0
mov rdx, rax
mov r8, r10
lea rcx, [rbp - 0x68]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x68]
call fcn.1400dccd8
nop
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x70], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call rbx
mov ebx, eax
test eax, eax
je 0x1400614f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov qword [rdi + 0x1d0], rsi
cmp ebx, 0xc000010a
jne 0x1400613e3
call fcn.140058440
mov rdx, rax
lea r8, [0x140154252]
lea rcx, [rbp + 0x20]
call fcn.14005c710
lea rdx, [0x1401997e8]
lea rcx, [rbp + 0x20]
call fcn.1400dccd8
int3
cmp ebx, 0xc0000022
jne 0x140061416
call fcn.14005a3a0
mov rdx, rax
lea r8, [0x140154253]
lea rcx, [rsp + 0x78]
call fcn.14005c710
lea rdx, [0x1401997e8]
lea rcx, [rsp + 0x78]
call fcn.1400dccd8
int3
cmp ebx, 0xc0000017
jne 0x140061447
call fcn.14005b6f0
mov rdx, rax
lea r8, [0x140154256]
lea rcx, [rbp]
call fcn.14005c710
lea rdx, [0x1401997e8]
lea rcx, [rbp]
call fcn.1400dccd8
int3
mov edx, r14d
lea rcx, [rbp + 0xf0]
call fcn.140056af0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp + 0x4f0]
call fcn.140056a30
mov rbx, rax
mov edx, r15d
lea rcx, [rbp + 0x130]
call fcn.140056af0
nop
lea r8, [0x14015e454]
mov rdx, rax
lea rcx, [rbp + 0x330]
call fcn.140035770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140064970
nop
lea r8, [0x14015e3cc]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140035770
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.140064970
mov r10, rax
call fcn.140058e80
mov rdx, rax
mov r8, r10
lea rcx, [rbp - 0x20]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x20]
call fcn.1400dccd8
nop
call fcn.14005beb0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400024a0
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140063370
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006152c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, r14
mov r8, r12
mov rdx, rax
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140061612
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x8000
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov qword [rdi + 0x1d0], rsi
mov edx, ebx
lea rcx, [rbp + 0x370]
call fcn.140056af0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x1f0]
call fcn.140056af0
nop
lea r8, [0x14015e46c]
mov rdx, rax
lea rcx, [rbp + 0x4b0]
call fcn.140035770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.140064970
mov r10, rax
call fcn.14005b220
mov rdx, rax
mov r8, r10
lea rcx, [rbp - 0x78]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x78]
call fcn.1400dccd8
nop
call fcn.14005a770
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140160dc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, qword [rdi + 0x1d0]
test rax, rax
jne 0x1400616a5
mov r9d, 0x8000
mov r8, r14
mov rdx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov qword [rdi + 0x1d0], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x3b0]
call fcn.140056af0
mov rbx, rax
call fcn.1400580e0
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x48]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x48]
call fcn.1400dccd8
nop
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140061a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
cmp eax, 8
je 0x14006179a
cmp eax, 5
je 0x14006179a
mov r9d, 0x8000
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x1d0], rsi
mov edx, r15d
lea rcx, [rbp + 0x270]
call fcn.140056af0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x470]
call fcn.140056af0
nop
lea r8, [0x14015e64c]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.140035770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140064970
mov rbx, rax
call fcn.140058d30
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x30]
call fcn.1400dccd8
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14006189a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x8000
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x1d0], rsi
mov edx, ebx
lea rcx, [rbp + 0x90]
call fcn.140056af0
mov rdi, rax
mov edx, r15d
lea rcx, [rbp + 0xd0]
call fcn.140056af0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x110]
call fcn.140056af0
nop
lea r8, [0x14015e424]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.140035770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140064970
nop
lea r8, [0x14015e40c]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140035770
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140064970
mov r10, rax
call fcn.14005bae0
mov rdx, rax
mov r8, r10
lea rcx, [rbp - 0x10]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x10]
call fcn.1400dccd8
nop
lea rdx, str.RtlCreateUserThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x1d0]
call rax
mov r13d, eax
test eax, eax
je 0x140061a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x8000
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x1d0], rsi
mov edx, ebx
lea rcx, [rbp + 0x250]
call fcn.140056af0
mov rsi, rax
mov edx, r13d
lea rcx, [rbp + 0x290]
call fcn.140056a30
mov rdi, rax
mov edx, r15d
lea rcx, [rbp + 0x2d0]
call fcn.140056af0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x310]
call fcn.140056af0
nop
lea r8, [0x14015e61c]
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.140035770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x390]
call fcn.140064970
nop
lea r8, [0x14015e5f4]
mov rdx, rax
lea rcx, [rbp + 0x3d0]
call fcn.140035770
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x410]
call fcn.140064970
nop
lea r8, [0x14015e43c]
mov rdx, rax
lea rcx, [rbp + 0x450]
call fcn.140035770
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x490]
call fcn.140064970
mov rbx, rax
call fcn.140059b50
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x10]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp + 0x10]
call fcn.1400dccd8
nop
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rbp + 0x510]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140061ad3
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x510]
call fcn.1400da360
test eax, eax
je 0x140061a96
call fcn.14005b8b0
mov rdx, rax
lea r8, [0x140154257]
lea rcx, [rbp + 0x30]
call fcn.14005c710
lea rdx, [0x1401997e8]
lea rcx, [rbp + 0x30]
call fcn.1400dccd8
int3
mov edx, 0x1388
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
mov r8d, 8
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140061b0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x4d0]
call fcn.140056af0
mov rbx, rax
call fcn.14005b8b0
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x58]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rbp - 0x58]
call fcn.1400dccd8
nop
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.1400d4e00
mov rbx, qword [rsp + 0x788]
add rsp, 0x730
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret