Function at 0x140031680
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 9
lea rdx, [0x1401569b8]
lea rcx, [rsp + 0x40]
call fcn.140006350
nop
mov esi, ebx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140031725
lea rdx, str.Failed_to_create_snapshot_of_processes.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140026750
lea rdx, [0x1400319d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400317ef
mov dword [rbp + 0x10], 0x238
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400317e5
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x3c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140031770
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x20]
call fcn.140006350
lea rax, [rsp + 0x40]
cmp r14, 7
cmova rax, r12
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
cmp rdx, r15
jne 0x1400319a1
test rdx, rdx
je 0x1400317d8
sub r8, rax
nop dword [rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1400319a1
add rax, 2
sub rdx, 1
jne 0x1400317c0
lea rcx, [rsp + 0x20]
call fcn.140004ab0
mov esi, dword [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call fcn.140004ab0
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov r9d, Ordinal_50
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140031879
cmp dword [rbp], 0x1000
jne 0x14003185a
mov eax, dword [rbp + 4]
test al, 4
jne 0x14003183a
test al, 2
je 0x14003185a
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140031090
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140031410
add rbx, qword [rbp - 8]
mov r9d, Ordinal_50
lea r8, [rbp - 0x20]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x140031826
cmp byte [0x1401b5d10], 0
jne 0x140031968
call fcn.140002420
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 3
lea rdx, [0x140152114]
lea rcx, [rbp - 0x20]
call fcn.140001c50
nop
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14015ff90]
movdqa xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], 0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140004250
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.PC_Switch_Found.
lea rcx, [rsp + 0x68]
call fcn.140001c50
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.140004b80
nop
lea rcx, [rsp + 0x68]
call fcn.140004b20
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
mov edx, dword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call fcn.1400025b0
lea rcx, [rbp - 0x40]
call fcn.140004b20
lea rcx, [rbp - 0x60]
call fcn.140004b20
nop
lea rcx, [rbp - 0x20]
call fcn.140004b20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14011ab50
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140004ab0
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140031750
jmp 0x1400317e5
jmp 0x140031680