Function at 0x1400034c0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0xa28]
sub rsp, 0xb28
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.kernel32
mov dword [rsp + 0x58], 0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003526
lea rdx, [rsp + 0x58]
mov rcx, rdi
call rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp - 0x80], rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140003a24
mov qword [rsp + 0xb60], r12
lea rdx, [rbp - 0x70]
mov rcx, rax
mov qword [rsp + 0xb20], r14
mov dword [rbp - 0x70], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003a40
mov edx, 1
mov ecx, 0x80000
call fcn.140009d98
mov qword [rsp + 0x78], rax
mov r12, rax
test rax, rax
je 0x140003a40
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x50], ecx
test eax, eax
jle 0x1400035b2
mov ecx, dword [rbx]
mov dword [r12], ecx
mov dword [rsp + 0x50], 4
mov ebx, 0x1000
mov edx, 1
mov ecx, ebx
call fcn.140009d98
mov r14, rax
test rax, rax
je 0x140003a40
mov ecx, dword [0x1400222a0]
movups xmm0, xmmword [str.256c730925640925640a]
movzx eax, word [0x1400222cc]
movups xmm1, xmmword [0x1400222b8]
mov dword [rbp + 0x1e0], ecx
movzx ecx, byte [0x1400222a4]
movups xmmword [rbp + 0x1d0], xmm0
mov word [rbp + 0x20c], ax
movups xmm0, xmmword [str.256c730925640925640925730925730925640a]
movzx eax, byte [0x1400222ce]
mov byte [rbp + 0x1e4], cl
mov ecx, dword [0x1400222c8]
mov qword [rsp + 0xb58], rsi
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rsp + 0xb68], r13
movups xmmword [rbp + 0x1f8], xmm1
mov dword [rbp + 0x208], ecx
mov byte [rbp + 0x20e], al
cmp dword [0x14002bcc8], 6
lea r15, [0x140022288]
mov r8d, dword [rbp - 0x68]
lea rsi, [0x14002228c]
mov ecx, 0x400
mov r13d, 0xffffffff
cmovae ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x70], rax
mov rdi, rax
test rax, rax
jne 0x1400037a1
lea rax, [rbp + 0x1d0]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003697
lea ecx, [rsi + 2]
mov edx, 1
call fcn.140009d98
mov r13, rax
test rax, rax
je 0x140003a04
shr esi, 1
mov r15d, 0
je 0x14000373e
mov r12, rax
nop word [rax + rax]
lea ebx, [r15 + r15]
movsx ecx, byte [rbp + rbx + 0x1d0]
call fcn.14000a1c0
sub al, 0x30
movzx edi, al
lea eax, [rbx + 1]
movsx ecx, byte [rbp + rax + 0x1d0]
call fcn.14000a1c0
sub al, 0x30
lea r12, [r12 + 1]
movzx r8d, al
cmp dil, 9
lea eax, [rdi - 7]
movzx edx, al
cmovle edx, edi
shl dl, 4
lea eax, [r8 - 7]
cmp r8b, 9
movzx ecx, al
cmovle ecx, r8d
inc r15d
add dl, cl
mov byte [r12 - 1], dl
cmp r15d, esi
jb 0x1400036d0
mov rdi, qword [rsp + 0x70]
mov ebx, 0x1000
mov r12, qword [rsp + 0x78]
mov eax, dword [rbp - 0x68]
mov r9, r13
mov dword [rsp + 0x30], eax
mov r8, 0xffffffffffffffff
mov eax, dword [rbp - 0x50]
mov rdx, rbx
mov dword [rsp + 0x28], eax
mov rcx, r14
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
call fcn.1400020d0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x140003771
mov esi, dword [rsp + 0x50]
mov rdx, r14
lea rcx, [r12 + rsi]
call fcn.1400098c0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140003792
jmp 0x14000398b
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x800
call fcn.140009150
lea r8, [rsp + 0x68]
mov edx, 8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400037f4
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x210]
mov r8d, 0x800
call fcn.140007ef0
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400037fb
mov byte [rbp + 0x210], 0
mov ecx, dword [rbp - 0x68]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rsp + 0x54]
test eax, eax
mov dword [rsp + 0x58], 0
cmove ecx, r13d
mov dword [rsp + 0x54], ecx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000384f
lea rdx, [rsp + 0x58]
mov rcx, rdi
call rax
test eax, eax
je 0x14000385b
cmp dword [rsp + 0x58], 0
mov qword [rsp + 0x58], rsi
jne 0x140003860
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x1e8]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003870
lea ecx, [rsi + 2]
mov edx, 1
call fcn.140009d98
mov r13, rax
test rax, rax
je 0x140003a04
shr esi, 1
mov r15d, 0
je 0x140003909
mov r12, rax
nop
lea ebx, [r15 + r15]
movsx ecx, byte [rbp + rbx + 0x1e8]
call fcn.14000a1c0
sub al, 0x30
movzx edi, al
lea eax, [rbx + 1]
movsx ecx, byte [rbp + rax + 0x1e8]
call fcn.14000a1c0
sub al, 0x30
lea r12, [r12 + 1]
movzx r8d, al
cmp dil, 9
lea eax, [rdi - 7]
movzx edx, al
cmovle edx, edi
shl dl, 4
lea eax, [r8 - 7]
cmp r8b, 9
movzx ecx, al
cmovle ecx, r8d
inc r15d
add dl, cl
mov byte [r12 - 1], dl
cmp r15d, esi
jb 0x1400038a0
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov eax, dword [rsp + 0x54]
mov r9, r13
mov dword [rsp + 0x48], eax
mov edx, 0x1000
lea rax, [rbp + 0x210]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
mov rcx, r14
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
call fcn.1400020d0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140003960
mov esi, dword [rsp + 0x50]
mov rdx, r14
lea rcx, [r12 + rsi]
call fcn.1400098c0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140003981
mov rcx, r13
call fcn.14000a2c4
add esi, ebx
xor edx, edx
mov ebx, 0x1000
mov dword [rsp + 0x50], esi
mov r8d, ebx
mov rcx, r14
call fcn.140009150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rbp - 0x80]
lea rdx, [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003649
mov rcx, r14
call fcn.14000a2c4
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x60], 0
mov eax, 0x11
mov r8d, 0x16
mov edx, esi
cmove r8d, eax
mov rcx, r12
call fcn.140004970
mov rcx, r12
call fcn.14000a2c4
mov r13, qword [rsp + 0xb68]
mov rsi, qword [rsp + 0xb58]
mov r12, qword [rsp + 0xb60]
mov r14, qword [rsp + 0xb20]
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140008040
add rsp, 0xb28
pop r15
pop rdi
pop rbx
pop rbp
ret
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003a14