Function at 0x43c220
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x472521
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov esi, ecx
call fcn.004442c0
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x27c], ebx
mov dword [esp + 0x24], esp
push ecx
mov ecx, 0x47aeb0
call fcn.00454940
lea edx, [esp + 0x28]
push edx
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00454940
mov byte [esp + 0x284], bl
call fcn.00427320
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ebp, edi
sub ebp, eax
sar ebp, 2
add esp, 0xc
cmp ebp, ebx
jne 0x43c2f6
cmp eax, ebx
je 0x43c2d6
call fcn.00440ef0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046024e
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0046024e
mov eax, 1
jmp 0x43c4cc
push ebx
push 2
mov dword [esp + 0x28], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
je 0x43c463
push 0x22c
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00462160
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push esi
mov dword [esp + 0x44], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43c45c
nop
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x64]
call fcn.00454940
lea ebx, [esp + 0x18]
mov byte [esp + 0x278], 2
call fcn.0044d8c0
mov ebx, eax
call fcn.0044d7d0
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x43c38d
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.004547f0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.0046154e
xor ebx, ebx
add esp, 8
cmp esi, ebx
jl 0x43c52f
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x43c52f
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + esi*2], cx
mov edi, dword [esp + 0x18]
xor esi, esi
cmp ebp, ebx
jle 0x43c401
cmp dword [edi - 0xc], ebx
jle 0x43c3fc
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp esi, eax
jb 0x43c3e1
call fcn.004605e2
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43c4f7
mov edi, dword [esp + 0x18]
inc esi
cmp esi, ebp
jl 0x43c3c8
push 0x22c
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00462160
lea eax, [edi - 0x10]
add esp, 0xc
mov dword [esp + 0x3c], 0x22c
mov byte [esp + 0x278], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c43f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c340
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x278], 0xffffffff
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x43c4b2
mov eax, dword [esp + 0x34]
mov edi, eax
cmp esi, eax
je 0x43c4a9
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c49e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x43c480
mov esi, dword [esp + 0x30]
push esi
call fcn.0046024e
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0046024e
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00460259
add esp, 0x268
ret
mov byte [esp + 0x278], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c456
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43c456
push 0x80070057
call fcn.0045bda0
int3