Function at 0x180028430
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x40], rax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0xcc], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xcc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x48], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180028647
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1800284f4
mov qword [rsp + 0xd0], 1
jmp 0x180028500
mov qword [rsp + 0xd0], 0
cvtsi2sd xmm0, qword [rsp + 0xd0]
call fcn.18002b530
mov dword [rsp + 0x5c], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0x50], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
call fcn.180029e70
movsx eax, al
shl eax, 1
mov dword [rsp + 0x54], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x54]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x5c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180028647
xor eax, eax
cmp eax, 7
je 0x180028647
mov dword [rsp + 0x24], 0
jmp 0x1800285a6
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x60], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x64], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x64]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x24], eax
jge 0x180028647
mov dword [rsp + 0x28], 0
jmp 0x180028630
cmp dword [rsp + 0x28], 0x58
jae 0x180028642
mov eax, dword [rsp + 0x20]
jmp 0x180028b49
jmp 0x18002859c
mov dword [rsp + 0xf0], 0x130
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x6c], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
call fcn.180029e70
movsx eax, al
shl eax, 2
mov dword [rsp + 0x70], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180028860
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1800286e2
mov qword [rsp + 0xd8], 1
jmp 0x1800286ee
mov qword [rsp + 0xd8], 0
cvtsi2sd xmm0, qword [rsp + 0xd8]
call fcn.18002b530
mov dword [rsp + 0x84], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0x78], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x7c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x7c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x84]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180028860
xor eax, eax
cmp eax, 4
je 0x180028860
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x2c], 0
jmp 0x1800287ad
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x88], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x8c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x8c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x2c], eax
jge 0x180028860
mov dword [rsp + 0x30], 0
jmp 0x180028849
cmp dword [rsp + 0x30], 5
jae 0x18002885b
mov eax, dword [rsp + 0x20]
jmp 0x180028b49
jmp 0x1800287a3
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x94], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x9c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x98], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x98]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x9c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x1800289c4
lea rdx, [rsp + 0x11c]
mov rcx, qword [rsp + 0x248]
call fcn.180029ec0
test eax, eax
jne 0x180028905
mov qword [rsp + 0xe0], 1
jmp 0x180028911
mov qword [rsp + 0xe0], 0
cvtsi2sd xmm0, qword [rsp + 0xe0]
call fcn.18002b530
mov dword [rsp + 0xac], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0xa0], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa8], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0xa4], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xa4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xac]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x1800289c4
xor eax, eax
cmp eax, 1
je 0x1800289c4
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
jmp 0x180028a79
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_Process32Next
cdqe
cvtsi2sd xmm0, rax
call fcn.18002b530
mov dword [rsp + 0xbc], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0xb0], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xb0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
call fcn.180029e70
movsx eax, al
shl eax, 1
mov dword [rsp + 0xb4], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xb4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xbc]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180028a79
xor eax, eax
cmp eax, 7
jne 0x180028860
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x34], 0
jmp 0x180028a99
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0xc0], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xc0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc8], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0xc4], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xc4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x34], eax
jge 0x180028b49
mov dword [rsp + 0x38], 0
jmp 0x180028b35
cmp dword [rsp + 0x38], 0x34
jae 0x180028b44
mov eax, dword [rsp + 0x20]
jmp 0x180028b49
jmp 0x180028a8f
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x238
ret