Function at 0x140083e10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r13, rdx
mov r12, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140083e61
xor eax, eax
jmp 0x14008414d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov ecx, gethostbyname
call fcn.1400a2514
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.1400a5140
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r8d, r8d
mov ebx, r8d
lea esi, [r8 + 1]
movabs r9, 0x555555555555555
test eax, eax
je 0x140083fde
jmp 0x140083ef3
xor r8d, r8d
mov edx, dword [rsp + 0x78]
cmp edx, r15d
cmove ebx, dword [rbp - 0x70]
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], r8d
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x140083f45
nop word [rax + rax]
mov qword [rsp + 0x20], rax
cmp dword [rax + 0x20], edx
jae 0x140083f35
mov dword [rsp + 0x28], r8d
mov rax, qword [rax + 0x10]
jmp 0x140083f3f
mov dword [rsp + 0x28], esi
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140083f20
cmp byte [rcx + 0x19], 0
jne 0x140083f50
cmp edx, dword [rcx + 0x20]
jae 0x140083fb6
cmp qword [rsp + 0x60], r9
je 0x140084177
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r8
mov ecx, gethostbyname
call fcn.1400a2514
mov r8, rax
mov eax, dword [rsp + 0x78]
mov dword [r8 + 0x20], eax
xor eax, eax
mov qword [r8 + 0x28], rax
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], ax
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140004110
mov rcx, rax
lea rax, [rbp - 0x64]
mov qword [rcx + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
movabs r9, 0x555555555555555
jne 0x140083ef0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi + 8]
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x140084017
nop dword [rax]
cmp dword [rax + 0x20], ebx
jae 0x14008400b
mov rax, qword [rax + 0x10]
jmp 0x140084011
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140084000
cmp byte [rcx + 0x19], 0
jne 0x140084100
cmp ebx, dword [rcx + 0x20]
jb 0x140084100
cmp rcx, rdi
je 0x140084100
mov dword [r12], ebx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov dword [rsp + 0x48], r14d
mov r8, rdi
cmp byte [rax + 0x19], r14b
jne 0x140084076
mov qword [rsp + 0x40], rax
cmp dword [rax + 0x20], ebx
jae 0x140084066
mov dword [rsp + 0x48], r14d
mov rax, qword [rax + 0x10]
jmp 0x140084070
mov dword [rsp + 0x48], esi
mov r8, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r14b
je 0x140084051
cmp byte [r8 + 0x19], r14b
jne 0x140084082
cmp ebx, dword [r8 + 0x20]
jae 0x1400840e8
movabs rax, 0x555555555555555
cmp qword [rsp + 0x60], rax
je 0x140084177
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r14
mov ecx, gethostbyname
call fcn.1400a2514
nop
mov dword [rax + 0x20], ebx
mov qword [rax + 0x28], r14
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140004110
mov r8, rax
mov r8, qword [r8 + 0x28]
mov edx, 0x104
mov rcx, r13
call fcn.1400a9580
mov rdi, qword [rsp + 0x58]
jmp 0x140084102
xor esi, esi
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x14008413e
nop dword [rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140023360
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, gethostbyname
call fcn.1400a2410
cmp byte [rbx + 0x19], 0
je 0x140084110
mov rdi, qword [rsp + 0x58]
mov edx, gethostbyname
mov rcx, rdi
call fcn.1400a2410
mov eax, esi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400048a0
nop
int3