Function at 0x4038c0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x45dda8
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x14], eax
mov dword [esp + 0x15c], 0
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x168]
mov dword [eax], 0
cmp ecx, 0x10
jb 0x403a72
mov esi, edx
mov dword [esp + 0x18], esi
test edx, edx
je 0x403970
mov eax, edx
cmp ecx, 0x10
jae 0x403951
lea eax, [esp + 0x168]
cmp eax, esi
ja 0x403970
mov eax, edx
cmp ecx, 0x10
jae 0x403963
lea eax, [esp + 0x168]
mov ebx, dword [esp + 0x178]
add eax, ebx
cmp esi, eax
jbe 0x40398a
call fcn.00446719
mov ecx, dword [esp + 0x17c]
mov ebx, dword [esp + 0x178]
mov edx, dword [esp + 0x168]
mov eax, edx
cmp ecx, 0x10
jae 0x403998
lea eax, [esp + 0x168]
lea edi, [eax + ebx]
test edi, edi
je 0x4039c5
mov eax, edx
cmp ecx, 0x10
jae 0x4039ad
lea eax, [esp + 0x168]
cmp eax, edi
ja 0x4039c5
mov eax, edx
cmp ecx, 0x10
jae 0x4039bf
lea eax, [esp + 0x168]
add eax, ebx
cmp edi, eax
jbe 0x4039df
call fcn.00446719
mov ecx, dword [esp + 0x17c]
mov ebx, dword [esp + 0x178]
mov edx, dword [esp + 0x168]
lea ebp, [esp + 0x164]
cmp ecx, 0x10
jb 0x403a84
mov esi, edx
test edx, edx
je 0x403a1b
mov eax, edx
cmp ecx, 0x10
jae 0x403a03
lea eax, [esp + 0x168]
cmp eax, esi
ja 0x403a1b
mov eax, edx
cmp ecx, 0x10
jae 0x403a15
lea eax, [esp + 0x168]
add eax, ebx
cmp esi, eax
jbe 0x403a20
call fcn.00446719
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x168]
mov ecx, eax
push ecx
push edi
push ebp
push esi
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00403ce0
add esp, 0x1c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x403a90
cmp dword [esp + 0x17c], 0x10
jb 0x403a6a
mov eax, dword [esp + 0x168]
push eax
call fcn.00445523
add esp, 4
or eax, 0xffffffff
jmp 0x403b7d
lea eax, [esp + 0x168]
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x403943
lea esi, [esp + 0x168]
jmp 0x4039f5
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x403ad0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x17c], 0x10
jb 0x403a6a
mov edx, dword [esp + 0x168]
push edx
call fcn.00445523
add esp, 4
or eax, 0xffffffff
jmp 0x403b7d
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0x1fffff
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov esi, eax
mov dword [edx], ecx
test esi, esi
je 0x403b4f
mov eax, dword [esp + 0x20]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x18c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.004016d0
mov ecx, dword [esp + 0x4c]
call fcn.004035d0
add esp, 0x20
test eax, eax
jne 0x403b5e
push esi
call ebp
mov eax, dword [esp + 0x14]
mov dword [eax], 0
or esi, 0xffffffff
lea ecx, [esp + 0x24]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403ae0
push edi
call ebp
cmp dword [esp + 0x17c], 0x10
jb 0x403b7b
mov edx, dword [esp + 0x168]
push edx
call fcn.00445523
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.004453f2
add esp, 0x14c
ret