Function at 0x140032020
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov rax, qword [0x140083028]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x54], r13d
xor edx, edx
lea r14d, [r13 + 2]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rbp + 0xc0], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0xc4]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400320f7
lea edi, [r13 + 1]
lea rax, [rbp + 0xec]
mov rdx, rsi
sub rdx, rax
movzx ecx, byte [rax]
movzx r8d, byte [rax + rdx]
sub ecx, r8d
jne 0x1400320df
add rax, rdi
test r8d, r8d
jne 0x1400320ca
test ecx, ecx
mov rcx, rbx
je 0x140032139
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400320bd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x140083b98], r13d
xor al, al
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140035aa0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0xc8]
mov dword [0x140083b98], eax
test eax, eax
je 0x140032107
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov r15, r13
mov qword [rbp + 0xb0], r13
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14007dec0]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x54], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x60], rax
mov byte [rbp + 0x1c], r13b
mov byte [rbp + 0x11], r13b
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x20], r13
mov rax, qword [0x140083bf0]
mov qword [rbp + 0x14], rax
mov qword [rbp + 8], r13
mov edx, 0x21
lea r8d, [rdx + 0x1f]
mov rcx, r12
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
test rax, rax
jne 0x140032238
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x1400322a6
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140034e80
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140035314
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x140032274
mov qword [rbp + 8], r13
jmp 0x140032283
mov qword [rbp + 8], rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400322a6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400322a6
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, edi
mov rcx, rax
call r8
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x14003257f
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x28]
mov qword [rsp + 0x70], rax
test rax, rax
sete byte [rsp + 0x78]
mov byte [rsp + 0x79], r13b
mov qword [rsp + 0x40], r13
mov word [rsp + 0x48], 1
mov eax, dword [rbp - 0x76]
mov dword [rsp + 0x4a], eax
movzx eax, word [rbp - 0x72]
mov word [rsp + 0x4e], ax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm1
mov rbx, r13
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400356b8
or r14, 0xffffffffffffffff
jmp 0x14003239a
test rbx, rbx
je 0x14003239e
mov rsi, qword [rsp + 0x40]
cmp byte [rsp + 0x48], r13b
jne 0x14003235e
test rsi, rsi
je 0x140032356
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, r14d
je 0x140032356
mov byte [rsp + 0x49], al
jmp 0x14003235e
mov rsi, r13
mov qword [rsp + 0x40], r13
mov al, byte [rsp + 0x49]
mov byte [rbx], al
test rsi, rsi
je 0x14003237e
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, r14d
je 0x14003237e
mov byte [rsp + 0x48], r13b
jmp 0x140032388
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x48], dil
add rbx, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400356b8
test al, al
jne 0x14003232c
mov qword [rbp + 0xa8], rbx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
jmp 0x14003244e
mov rsi, qword [rsp + 0x40]
cmp byte [rsp + 0x48], r13b
jne 0x1400323ed
test rsi, rsi
je 0x1400323e5
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, r14d
je 0x1400323e5
mov byte [rsp + 0x49], al
jmp 0x1400323f1
mov rsi, r13
mov qword [rsp + 0x40], r13
mov al, byte [rsp + 0x49]
mov byte [rsp + 0x50], al
cmp rbx, r15
je 0x140032408
mov byte [rbx], al
add rbx, rdi
mov qword [rbp + 0xa8], rbx
jmp 0x14003242a
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.1400358f8
mov r15, qword [rbp + 0xb0]
mov rbx, qword [rbp + 0xa8]
test rsi, rsi
je 0x140032444
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, r14d
je 0x140032444
mov byte [rsp + 0x48], r13b
jmp 0x14003244e
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x48], dil
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400356b8
test al, al
jne 0x1400323c0
lea rcx, [rbp - 0x60]
call fcn.140034f38
test rax, rax
jne 0x14003248f
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r8d, dword [0x140083b98]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
mov qword [0x140083048], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003257f
inc r14
cmp byte [r12 + r14], r13b
jne 0x1400324ba
lea eax, [r14 + 1]
movsxd rsi, eax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x14003257f
mov qword [rsp + 0x20], r13
mov r9, rsi
mov r8, r12
xor edx, edx
mov rcx, qword [0x140083048]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003257f
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r14
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140083048]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14003257f
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
mov r8, rsi
mov rdx, r14
mov rcx, qword [0x140083048]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [0x140083048]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140032582
mov dil, r13b
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.140034910
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140032605
sub r15, rcx
mov rax, rcx
cmp r15, 0x1000
jb 0x1400325fd
add r15, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400325fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
call fcn.140035b90
mov al, dil
jmp 0x140032109