Function at 0x10013b00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002000d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1004d200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 0x18], xmm0
push 0x234
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1001d03a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x18], eax
push 0
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x264], esi
cmp esi, 0xffffffff
jne 0x10013baf
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10013c6b
push 0x228
lea eax, [ebp - 0x254]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10013c5e
cmp dword [ebp - 0x14], 0x7432d6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x260], eax
je 0x10013da0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
push 0x234
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.1001d03a
mov edx, dword [ebp - 0x260]
lea esi, [ebp - 0x258]
mov ecx, 0x8b
mov byte [ebp - 4], 1
add esp, 4
mov dword [ebp - 0x28], 0
lea edi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov esi, dword [ebp - 0x264]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x258]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10013be0
jmp 0x10013c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov esi, dword [edi]
cmp esi, edi
je 0x10013c95
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10012160
mov esi, dword [esi]
cmp esi, edi
jne 0x10013c80
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
je 0x10013d0d
sub eax, ecx
mov edx, 4
sar eax, 2
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001d80a
mov edx, dword [ebp - 0x20]
add esp, 4
mov edi, dword [ebp - 0x24]
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x25c], eax
sar ecx, 2
xor esi, esi
test ecx, ecx
je 0x10013cfe
mov ecx, eax
nop dword [eax]
mov eax, dword [edi + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov edx, dword [ebp - 0x20]
mov eax, edx
mov edi, dword [ebp - 0x24]
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x10013ce0
mov eax, dword [ebp - 0x25c]
sub edx, edi
sar edx, 2
mov dword [eax + edx*4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov dword [eax], 0
mov eax, dword [edi]
test eax, eax
je 0x10013d36
nop dword [eax]
mov esi, dword [eax]
push 0x234
push eax
call fcn.1001d06a
add esp, 8
mov eax, esi
test esi, esi
jne 0x10013d20
push 0x234
push dword [ebp - 0x18]
call fcn.1001d06a
mov edx, dword [ebp - 0x24]
add esp, 8
test edx, edx
je 0x10013d7f
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10013d75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013d75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001d06a
add esp, 8
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d158
mov esp, ebp
pop ebp
ret
push str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3