Function at 0x401a70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff98
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x46c098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x240], eax
mov esi, ecx
mov dword [ebp - 0x244], esi
push eax
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x248], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push 0x208
mov dword [ebp - 0x244], ebx
call fcn.0042ab28
push 0x104
mov edi, eax
push 0
push edi
call fcn.0042ddc0
add esp, 0x10
push 0x104
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x401b23
mov eax, dword [edx]
jmp 0x401b25
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [edi], cx
je 0x401b43
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401b34
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00403380
mov ecx, esi
call fcn.00401210
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 1
jne 0x401c9b
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
je 0x401c95
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401c8a
nop dword [eax + eax]
push dword [ebp - 0x234]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x401bde
mov eax, dword [ebp - 0x240]
cmp dword [ebp - 0x234], eax
je 0x401bfe
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401bb0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x401c9b
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x401c1b
mov eax, dword [edx]
jmp 0x401c1d
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x218], cx
je 0x401c53
lea ecx, [ebp - 0x218]
lea eax, [ecx + 2]
mov dword [ebp - 0x240], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401c40
sub ecx, dword [ebp - 0x240]
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.00403380
lea ecx, [ebp - 0x268]
call fcn.00401210
add esp, 0x18
mov ecx, esi
push eax
call fcn.00401fe0
lea ecx, [ebp - 0x268]
call fcn.004035f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x401c9b
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
sub esp, 8
mov ecx, esi
call fcn.00401f30
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00401ef0
mov edi, eax
cmp esi, edi
je 0x401cf5
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x401cd0
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403540
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x401ce8
mov eax, dword [esi]
jmp 0x401cea
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00402880
mov ecx, dword [ebp - 0x254]
cmp ecx, 0x10
jb 0x401d13
inc ecx
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x268]
call fcn.00403540
push dword [ebp - 0x244]
call ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042aad6
mov esp, ebp
pop ebp
ret