Function at 0x1003c6d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094e56
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x100d7294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0xffffffff
jne 0x1003c801
call fcn.10052b20
mov dword [ebp - 0x2ac], eax
push 1
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x2bc], al
cmp byte [ebp - 0x2bc], 1
je 0x1003c751
jmp 0x1003c7fa
push 0x100ac698
lea ecx, [ebp - 0x40]
call fcn.10004fd0
mov dword [ebp - 4], 0
push 0x100ac700
lea ecx, [ebp - 0x28]
call fcn.10004fd0
mov byte [ebp - 4], 1
call fcn.10052b20
mov dword [ebp - 0x2b0], eax
push str.error_:_create_snapshot_false
push 0x54
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x378]
call fcn.10005660
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c4]
call fcn.10002ad0
push eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x378]
call fcn.100065c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100062e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100062e0
xor eax, eax
jmp 0x1003c9e0
push 0x22c
push 0
lea ecx, [ebp - 0x29c]
push ecx
call fcn.100672b0
add esp, 0xc
mov dword [ebp - 0x29c], 0x22c
lea edx, [ebp - 0x29c]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1003c9ce
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2a0]
push ecx
mov edx, dword [ebp - 0x294]
push edx
mov ecx, dword [ebp - 0x2a4]
call fcn.1003ca50
test eax, eax
je 0x1003c99b
call fcn.10052b20
mov dword [ebp - 0x2b4], eax
push 1
mov eax, dword [ebp - 0x2b4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2b4]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x2c8], al
cmp byte [ebp - 0x2c8], 1
je 0x1003c89b
jmp 0x1003c96c
push 0x100ac728
lea ecx, [ebp - 0x70]
call fcn.10004fd0
mov dword [ebp - 4], 3
push 0x100ac724
lea ecx, [ebp - 0x58]
call fcn.10004fd0
mov byte [ebp - 4], 4
call fcn.10052b20
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x2a0]
push ecx
push 0x100ac7c0
lea edx, [ebp - 0x294]
push edx
push str.insert_process_status_map__when_init:_pid___
push 0x5f
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x410]
call fcn.10005660
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2d0]
call fcn.10002ad0
mov ecx, eax
call fcn.10002af0
mov ecx, eax
call fcn.10002ad0
mov ecx, eax
call fcn.10022e30
push eax
mov eax, dword [ebp - 0x2b8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x410]
call fcn.100065c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.100062e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100062e0
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x294]
push edx
lea ecx, [ebp - 0x2d8]
call fcn.10034810
push eax
lea eax, [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2a4]
add ecx, 0x2c
call fcn.1003bdc0
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a0]
or edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x2a4]
mov dword [eax + 0xc], edx
lea ecx, [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1003c83c
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005fbb2
mov esp, ebp
pop ebp
ret