Function at 0x1400020c0
Capabilities:
Create thread
Enumerate process modules
Inject dll
Inject thread
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x14000d038]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov esi, edx
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov rcx, qword [rcx + 0x10]
inc rcx
call fcn.140007704
mov r13, rax
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002118
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
inc rdx
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rax, qword [rdi + 0x10]
mov byte [rax + r13], 0
mov edx, 0x5c
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov qword [rsp + 0x68], rax
mov edx, esi
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
mov qword [rsp + 0x60], rax
mov dword [rbp - 0x60], 0x438
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov r12, 0xffffffffffffffff
test eax, eax
je 0x140002400
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x140002400
movabs r8, 0x7fffffffffffffff
mov edx, 0xa
movabs rcx, 0x7ffffffffffffffe
mov rax, r12
nop dword [rax]
inc rax
cmp byte [rax + r13], 0
jne 0x1400021b0
lea r12, [rax + r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
cmp r13, r12
jne 0x1400021e6
mov r9d, 7
mov qword [rsp + 0x58], r9
mov word [rsp + 0x40], r15w
jmp 0x140002307
mov r14, r13
mov ebx, 7
mov qword [rsp + 0x58], rbx
cmp rax, rcx
ja 0x140002703
cmp rax, 8
jb 0x1400022a9
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140002217
mov rbx, rcx
jmp 0x14000221f
cmp rbx, 0xa
cmovb rbx, rdx
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, r8
ja 0x140002709
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002281
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002709
mov rcx, rax
call fcn.1400075f8
mov rcx, rax
test rax, rax
je 0x1400023a6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rbx
jmp 0x1400022b0
test rcx, rcx
je 0x140002299
call fcn.1400075f8
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rbx
jmp 0x1400022b0
xor edx, edx
mov eax, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x58], rbx
jmp 0x1400022b0
xor edx, edx
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x40]
movsx eax, byte [r14]
mov word [rcx + r15*2], ax
mov r15, qword [rsp + 0x50]
inc r15
mov qword [rsp + 0x50], r15
inc r14
cmp r14, r12
je 0x1400022e4
mov rbx, qword [rsp + 0x58]
jmp 0x1400022b0
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov word [rax + r15*2], dx
mov r9, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
xor r15d, r15d
lea r8, [rsp + 0x40]
lea rax, [rbp - 0x30]
cmp r9, 8
jb 0x14000236d
mov r10, qword [rsp + 0x40]
mov r8, r10
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002335
add rax, 2
test ecx, ecx
jne 0x140002321
test edx, edx
sete bl
lea rdx, [r9*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140002363
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400023a6
mov rcx, r10
call fcn.1400075f0
jmp 0x140002389
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002384
add rax, 2
test ecx, ecx
jne 0x140002370
test edx, edx
sete bl
test bl, bl
jne 0x1400023ad
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32NextW]
mov r12, 0xffffffffffffffff
jmp 0x140002189
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.Already_injected
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400023f5
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x1400023f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fc
mov rcx, r8
call fcn.1400075f0
mov qword [rdi + 0x10], r15
xor al, al
jmp 0x1400026c7
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140002421
lea rcx, str.OpenProcess_failed
jmp 0x1400023b4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x14000249d
lea rcx, str.GetProcAddress_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000248e
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140002489
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fc
mov rcx, r8
call fcn.1400075f0
xor edx, edx
mov qword [rdi + 0x10], rdx
mov byte [rdi], dl
xor al, al
jmp 0x1400026ca
mov r8, r12
inc r8
cmp byte [r8 + r13], 0
jne 0x1400024a0
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x1400024e0
lea rcx, str.VirtualAllocEx_failed
jmp 0x14000244d
inc r12
cmp byte [r12 + r13], 0
jne 0x1400024e0
mov r9, r12
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov r8, r13
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002557
lea rcx, str.WriteProcessMemory_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140002550
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14000254b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fc
mov rcx, r8
call fcn.1400075f0
xor al, al
jmp 0x1400026c3
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x140002588
lea rcx, str.CreateRemoteThread_failed
jmp 0x14000250f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r9, [rbp + 0x40a]
test esi, esi
jns 0x1400025f0
neg esi
sub r9, 2
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub si, cx
add si, 0x30
mov word [r9], si
mov esi, edx
test edx, edx
jne 0x1400025b2
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x14000261c
sub r9, 2
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub si, cx
add si, 0x30
mov word [r9], si
mov esi, edx
test edx, edx
jne 0x1400025f0
lea r8, [rbp + 0x40a]
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.1400063c0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000268b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002685
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002685
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400026c1
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400026bc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400026fc
mov rcx, r8
call fcn.1400075f0
mov al, 1
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1400075d0
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001220
nop
call fcn.140001180
int3