Function at 0x437810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e258
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x3b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor edx, edx
mov eax, ecx
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], ebx
mov word [esp + 0x164], dx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x437880
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x168]
call fcn.0040d290
mov dword [esp + 0x3c0], ebx
cmp dword [esp + 0x174], ebx
jne 0x4378ce
cmp dword [esp + 0x178], 8
jb 0x4378c7
mov eax, dword [esp + 0x164]
push eax
call fcn.00469665
add esp, 4
xor eax, eax
jmp 0x437cf4
call fcn.00468677
mov dword [esp + 0x18], eax
call fcn.004684a5
push ebx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004683c9
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x4378f4
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x14]
call fcn.004683f1
lea eax, [esp + 0x160]
lea edi, [esp + 0x64]
mov byte [esp + 0x3c0], 1
call fcn.00418690
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x5c]
call fcn.0041d3c0
mov byte [esp + 0x3dc], bl
mov edi, dword [esp + 0x34]
add esp, 0x1c
cmp edi, ebx
je 0x437987
push ebx
lea ecx, [esp + 0x18]
call fcn.004683c9
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x437965
cmp eax, 0xffffffff
jae 0x437965
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.004683f1
cmp esi, ebx
je 0x437987
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push 0x228
lea ecx, [esp + 0x184]
push ebx
push ecx
mov dword [esp + 0x188], ebx
call fcn.0046a210
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x4379dc
cmp dword [esp + 0x178], 8
jb 0x4378c7
mov edx, dword [esp + 0x164]
push edx
call fcn.00469665
add esp, 4
xor eax, eax
jmp 0x437cf4
lea eax, [esp + 0x17c]
push eax
push esi
mov dword [esp + 0x184], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x437cbc
jmp 0x437a02
xor ebx, ebx
xor ecx, ecx
lea eax, [esp + 0x1a0]
mov dword [esp + 0x15c], 7
mov dword [esp + 0x158], ebx
mov word [esp + 0x148], cx
lea edx, [eax + 2]
jmp 0x437a30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437a30
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1a4]
push edx
lea ecx, [esp + 0x14c]
call fcn.0040d290
mov byte [esp + 0x3c0], 2
call fcn.00468677
mov dword [esp + 0x18], eax
call fcn.004684a5
push ebx
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004683c9
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x437a82
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x20]
call fcn.004683f1
lea eax, [esp + 0x144]
lea edi, [esp + 0x74]
mov byte [esp + 0x3c0], 3
call fcn.00418690
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x80]
call fcn.0041d3c0
mov byte [esp + 0x3dc], 2
mov edi, dword [esp + 0x34]
add esp, 0x1c
cmp edi, ebx
je 0x437b19
push ebx
lea ecx, [esp + 0x44]
call fcn.004683c9
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x437af7
cmp eax, 0xffffffff
jae 0x437af7
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x40]
and esi, edi
call fcn.004683f1
cmp esi, ebx
je 0x437b19
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor ecx, ecx
push 1
mov word [esp + 0x50], cx
push 0x494e9c
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
call fcn.0040d290
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
lea ebx, [esp + 0x148]
mov byte [esp + 0x3c4], 4
call fcn.004039b0
add esp, 4
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x3cc], 5
call fcn.0040d190
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x437b89
mov eax, dword [esp + 0x28]
push eax
call fcn.00469665
add esp, 4
xor ecx, ecx
mov ebx, 7
mov byte [esp + 0x3c0], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
cmp dword [esp + 0x60], esi
jb 0x437bb8
mov edx, dword [esp + 0x4c]
push edx
call fcn.00469665
add esp, 4
push str._s
lea ecx, [esp + 0x88]
call fcn.00413120
lea ecx, [esp + 0x144]
push ecx
push eax
mov byte [esp + 0x3c8], 6
call fcn.00417460
add esp, 8
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.00413230
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x3cc], bl
call fcn.0040d190
cmp dword [esp + 0x3c], esi
jb 0x437c18
mov eax, dword [esp + 0x28]
push eax
call fcn.00469665
add esp, 4
xor ecx, ecx
mov word [esp + 0x28], cx
lea ecx, [esp + 0x84]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c0], 2
call fcn.00406e10
mov eax, dword [esp + 0x148]
cmp dword [esp + 0x15c], esi
jae 0x437c52
lea eax, [esp + 0x148]
mov edx, dword [esp + 0x158]
push edx
push edi
push eax
lea ecx, [esp + 0x16c]
call fcn.0040d770
cmp eax, 0xffffffff
je 0x437c7d
mov edi, dword [esp + 0x1c]
lea ebx, [esp + 0x184]
call fcn.004398e0
mov byte [esp + 0x3c0], 0
cmp dword [esp + 0x15c], esi
jb 0x437c9e
mov eax, dword [esp + 0x148]
push eax
call fcn.00469665
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x17c]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x437a00
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
xor edx, edx
sar ecx, 2
cmp edx, ecx
sbb esi, esi
neg esi
cmp dword [esp + 0x178], 8
jb 0x437cf2
mov eax, dword [esp + 0x164]
push eax
call fcn.00469665
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret