Function at 0x14004f440
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 - 0x1d0]
sub rsp, 0x2d0
xor r12d, r12d
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004f4be
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004f4be
lea rdx, [0x140183e10]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004f4bb
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004f493
jmp 0x14004f4be
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004f757
lea rdx, [0x140183e10]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x2140688]
lea rax, [rbx + 0x2f32010]
mov qword [rbp + 0x210], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x34], 0xce8
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x40], 0xa8
mov dword [rsp + 0x44], 0x9cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov edx, 6
lea rcx, [rsp + 0x58]
call fcn.140078ed0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x48], 0x60
mov dword [rsp + 0x4c], reloc.WS2_32.dll_recv
mov dword [rsp + 0x50], 0x38c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov edx, 3
lea rcx, [rsp + 0x70]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0xc]
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004f611
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x14004f66e
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x210]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004f70e
mov rax, qword [rbp - 0x80]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004f705
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f705
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test rsi, rsi
je 0x14004f754
mov rax, qword [rsp + 0x68]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004f74c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fe0b
mov rcx, rsi
call fcn.140145f8c
xor r12d, r12d
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004f7bb
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004f7bb
nop dword [rax + rax]
lea rdx, [0x140183eb0]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004f7b8
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004f790
jmp 0x14004f7bb
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004f90f
lea rdx, [0x140183eb0]
mov ecx, edi
call fcn.140043d20
mov r15, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov dword [rsp + Ordinal_79], 0x48
mov dword [rsp + 0x4c], reloc.WS2_32.dll_recv
mov dword [rsp + 0x50], 0xcac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14004f896
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r15 + 0x2566aa0]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004f90f
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004f907
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fe0b
mov rcx, rdi
call fcn.140145f8c
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004f96b
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004f96b
lea rdx, [0x140184068]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004f968
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004f940
jmp 0x14004f96b
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004fabf
lea rdx, [0x140184068]
mov ecx, edi
call fcn.140043d20
mov r15, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x140
mov dword [rsp + 0x50], 0xecc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14004fa46
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r15 + 0x1dc74d8]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004fabf
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004fab7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fe0b
mov rcx, rdi
call fcn.140145f8c
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004fb1b
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004fb1b
lea rdx, [0x1401840c0]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004fb18
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004faf0
jmp 0x14004fb1b
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004fc6f
lea rdx, [0x1401840c0]
mov ecx, edi
call fcn.140043d20
mov r15, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
mov dword [rsp + 0x4c], 0x140
mov dword [rsp + 0x50], 0xc8c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14004fbf6
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r15 + 0x28d8440]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004fc6f
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004fc67
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fe0b
mov rcx, rdi
call fcn.140145f8c
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004fccb
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004fccb
lea rdx, [0x140183fb8]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004fcc8
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004fca0
jmp 0x14004fccb
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004fe1a
lea rdx, [0x140183fb8]
mov ecx, edi
call fcn.140043d20
mov r15, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x4c], 0x140
mov dword [rsp + 0x50], 0x3cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14004fda6
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r15 + 0x28bc718]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1401ba2dc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004fe1a
mov rdx, qword [rsp + 0x68]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004fe12
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fe12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret