Function at 0x140052480
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
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 0x14005250d
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005250d
nop word [rax + rax]
lea rdx, [0x140183e10]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140052509
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400524e0
jmp 0x14005250d
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140052654
lea rdx, [0x140183e10]
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x1400525db
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 + 0x1eb17a8]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140052654
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005264c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052eb0
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 0x1400526bd
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400526bd
nop word [rax + rax]
lea rdx, [0x140183eb0]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400526b9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140052690
jmp 0x1400526bd
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140052804
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x14005278b
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 + 0x1df28b8]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140052804
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400527fc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052eb0
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 0x14005286d
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005286d
nop word [rax + rax]
lea rdx, [0x140184068]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140052869
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140052840
jmp 0x14005286d
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x1400529b4
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x14005293b
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, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x1400529b4
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400529ac
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052eb0
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 0x140052a1d
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140052a1d
nop word [rax + rax]
lea rdx, [0x1401840c0]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140052a19
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400529f0
jmp 0x140052a1d
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140052b64
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x140052aeb
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 + 0x1e09118]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140052b64
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140052b5c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052eb0
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 0x140052bcd
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140052bcd
nop word [rax + rax]
lea rdx, [0x140183fb8]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140052bc9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140052ba0
jmp 0x140052bcd
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140052d14
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x140052c9b
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 + 0x1db0ba8]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140052d14
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140052d0c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052eb0
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 0x140052d7d
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140052d7d
nop word [rax + rax]
lea rdx, [0x140183e68]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140052d79
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140052d50
jmp 0x140052d7d
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140052ebf
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 [rbp + 0x1d0], 0x80
mov dword [rbp + 0x1d4], reloc.WLDAP32.dll_Ordinal_200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov qword [rdi], rcx
lea rbx, [rdi + 8]
mov qword [rsp + 0x50], 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 0x140052e4b
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 + 0x1cfff08]
mov rcx, r14
call fcn.140043dc0
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1402166bc]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140052ebf
mov rdx, qword [rsp + 0x58]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140052eb7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052eb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret