Function at 0x140001550
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 - 0x27]
sub rsp, 0xe0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x138], rbx
mov rax, qword [0x1400408d8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x69], r8
mov r15, rcx
mov ebx, 1
xor eax, eax
mov esi, eax
mov r13d, eax
mov r14d, eax
mov r8d, edx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x1400015bc
or ebx, 0xffffffff
jmp 0x140001869
mov rdi, qword [r15 + 0x10]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x1400015ed
lea ebx, [rax - 2]
jmp 0x140001869
mov rcx, r15
call fcn.1400021c0
mov r8, rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [rdi + 1]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000161b
lea ebx, [rax - 3]
jmp 0x140001869
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r13, rax
lea rdx, [0x140033380]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test r13, r13
je 0x140001864
test rax, rax
je 0x140001864
xor edi, edi
mov dword [rbp - 0x79], edi
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x140001685
lea ebx, [rdi - 5]
jmp 0x140001869
mov qword [rbp - 0x71], rdi
nop dword [rax]
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 0x71]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp - 0x71], 0x103
je 0x140001690
mov rcx, r15
call fcn.1400021c0
mov rcx, rax
mov edx, 0x5c
call fcn.140011c4c
lea rdx, [rax + 1]
mov qword [rbp - 0x19], 0xf
mov qword [rbp - 0x21], rdi
mov byte [rbp - 0x31], dil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x31]
call fcn.1400028a0
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.140008970
nop
cmp qword [rbp - 0x19], 0x10
jb 0x140001717
mov rcx, qword [rbp - 0x31]
call fcn.140011c44
mov qword [rbp - 0x19], 0xf
xor eax, eax
mov qword [rbp - 0x21], rax
mov byte [rbp - 0x31], al
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rax
mov word [rbp - 9], ax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 9]
call fcn.140002c50
nop
mov r8d, dword [rbp - 0x71]
lea rdx, [rbp - 9]
mov rcx, r12
call fcn.140001420
mov qword [rbp - 0x71], rax
cmp qword [rbp + 0xf], 8
jb 0x140001785
mov rcx, qword [rbp - 9]
call fcn.140011c44
mov qword [rbp + 0xf], 7
xor edi, edi
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
cmp qword [rbp - 0x71], rdi
jne 0x1400017c5
lea ebx, [rdi - 6]
cmp qword [rbp - 0x41], 8
jb 0x1400017b0
mov rcx, qword [rbp - 0x59]
call fcn.140011c44
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rdi
mov word [rbp - 0x59], di
jmp 0x140001869
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.1400021c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r13, rax
lea rdx, str.GetAddrCtrl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
test r13, r13
je 0x14000185a
test rax, rax
je 0x14000185a
mov rax, qword [rbp - 0x71]
sub rax, r13
add r9, rax
mov dword [rbp - 0x79], edi
lea rax, [rbp - 0x79]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x140001855
lea ebx, [rax - 8]
jmp 0x1400017a0
jmp 0x1400017a0
mov ebx, 0xfffffff9
jmp 0x1400017a0
mov ebx, 0xfffffffc
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400114c0
mov rbx, qword [rsp + 0x138]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret