Function at 0x436380
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c7c2
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4ab0fc]
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 dword [ebp - 0x250], ecx
cmp dword [ebp + 0xc], 1
mov eax, 6
mov ebx, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
push 0x14
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
call fcn.0046527a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 0
nop dword [eax]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x436578
push 0x228
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.00467230
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x436571
xor edi, edi
nop dword [eax]
cmp dword [ebp - 0x238], ebx
je 0x43647c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x436460
jmp 0x436482
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x244], edi
test edi, edi
je 0x436578
push edi
lea eax, [ebp - 0x248]
push eax
call fcn.00434160
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x248]
push esi
call fcn.00436940
test al, al
je 0x436553
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
call fcn.00438440
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x264]
cmp byte [eax + 0xd], 0
jne 0x4364ec
cmp edi, dword [eax + 0x10]
jae 0x4364ee
mov eax, ecx
cmp eax, ecx
jne 0x43651d
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00437580
mov ebx, dword [ebp - 0x244]
mov ecx, ebx
mov dword [ebp - 0x24c], ebx
mov edi, ebx
jmp 0x43652b
xor ecx, ecx
mov dword [ebp - 0x244], 0
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x436549
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
test ecx, ecx
jne 0x436410
jmp 0x436578
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x436578
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x436578
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x250]
lea eax, [ebp - 0x248]
push dword [ebp + 8]
push eax
mov ecx, dword [esi]
add ecx, 0x84
call fcn.0043ed90
mov esi, dword [esi]
lea edi, [esi + 0x88]
push edi
call fcn.0044e132
add esp, 4
test eax, eax
jne 0x4368e8
cmp dword [edi + 0x2c], 0x7fffffff
je 0x4368ef
mov esi, dword [esi + 0xc4]
push edi
call fcn.0044e157
mov edi, dword [ebp - 0x248]
add esp, 4
cmp edi, esi
je 0x4368bf
test ebx, ebx
jne 0x436650
mov ebx, dword [ebp - 0x250]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
mov edi, dword [ebx]
lea esi, [edi + 0x88]
push esi
mov dword [ebp - 0x254], esi
call fcn.0044e132
add esp, 4
test eax, eax
jne 0x4368fd
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x436904
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0xc0]
call fcn.0043f0a0
mov edi, dword [ebp + 0xc]
push esi
mov byte [ebp - 4], 0
mov dword [eax], edi
call fcn.0044e157
mov ecx, dword [ebx]
add esp, 4
push edi
push dword [ebp + 8]
call fcn.00436d20
jmp 0x4368bf
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x43690f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
push 0x49bdac
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 3
call fcn.00402940
test al, al
jne 0x436697
push 1
push 0x49bdac
lea ecx, [ebp - 0x244]
call fcn.00402c70
mov byte [ebp - 4], 0
lea eax, [edi + 0x18]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
test esi, esi
jne 0x4366b3
or edi, 0xffffffff
jmp 0x436722
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x4366c0
or edi, 0xffffffff
jmp 0x436722
push esi
push eax
call fcn.00466607
mov edi, eax
add esp, 8
test edi, edi
jne 0x4366d5
or edi, 0xffffffff
jmp 0x436722
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
sub edi, ecx
sar edi, 1
js 0x436722
cmp edi, dword [ecx - 0xc]
jge 0x436722
mov ebx, eax
nop word [eax + eax]
lea eax, [edi + 1]
test eax, eax
js 0x43671c
cmp eax, dword [ecx - 0xc]
jg 0x43671c
lea eax, [ecx + eax*2]
push esi
push eax
call fcn.00466607
add esp, 8
test eax, eax
je 0x43671c
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 1
js 0x43671c
mov edi, eax
cmp eax, dword [ecx - 0xc]
jl 0x4366f0
mov ebx, dword [ebp - 0x24c]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43673a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x268]
push edi
push 0
push eax
call fcn.00425320
mov byte [ebp - 4], 4
push 0x14
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
call fcn.0046527a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
mov ebx, dword [ebp - 0x250]
mov ecx, dword [ebx]
call fcn.00436b50
cmp dword [ebp - 0x258], 0
jne 0x436819
mov edi, dword [ebx]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
lea esi, [edi + 0x88]
push esi
mov dword [ebp - 0x254], esi
call fcn.0044e132
add esp, 4
test eax, eax
jne 0x436919
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x436920
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xc0]
call fcn.0043f0a0
mov edi, dword [ebp + 0xc]
push esi
mov byte [ebp - 4], 5
mov dword [eax], edi
call fcn.0044e157
mov ecx, dword [ebx]
add esp, 4
push edi
push dword [ebp + 8]
call fcn.00436d20
jmp 0x436892
mov esi, dword [ebp - 0x25c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x436892
mov edi, dword [ebp - 0x254]
nop dword [eax]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x436842
mov eax, 1
cmp edi, 6
je 0x436844
mov eax, edi
push eax
push ecx
mov ecx, dword [ebx]
call fcn.00436d20
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x436874
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x436870
nop
cmp esi, dword [eax + 8]
jne 0x436870
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x436860
mov esi, eax
jmp 0x43688c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x43688c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x436880
cmp byte [esi + 0xd], 0
je 0x436830
lea ecx, [ebp - 0x25c]
call fcn.00437240
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4368bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x264]
call fcn.00437240
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.00464f0a
mov esp, ebp
pop ebp
ret 8
push 5
call fcn.0044ed8e
push 6
mov dword [edi + 0x2c], SysReAllocString
call fcn.0044ed8e
push 5
call fcn.0044ed8e
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.0044ed8e
push 0x80004005
call fcn.004035d0
push 5
call fcn.0044ed8e
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.0044ed8e
int3