Function at 0x406600
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4334c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x434428]
push ebx
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4340e0]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24c], edi
cmp eax, dword [ecx + 4]
jg 0x406868
cmp dword [0x433498], 0
jne 0x4067d5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00407440
test al, al
jne 0x4066ba
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0xc
cmp esi, 0x433488
je 0x4067cd
mov edx, dword [0x43349c]
cmp edx, 0x10
jb 0x40678a
mov ecx, dword [0x433488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40689e
jmp 0x406780
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov ebx, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00410380
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x406727
cmp dword [ebp - 0x240], esi
je 0x40671b
lea eax, [ebp - 0x248]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x406700
jmp 0x406727
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0x10
cmp esi, 0x433488
je 0x4067cd
mov edx, dword [0x43349c]
cmp edx, 0x10
jb 0x40678a
mov ecx, dword [0x433488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4068a3
push edx
push ecx
call fcn.0040e788
add esp, 8
mov dword [0x433498], 0
mov dword [0x43349c], 0xf
mov byte [0x433488], 0
movups xmm0, xmmword [esi]
movups xmmword [0x433488], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x433498], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00401390
mov dword [edi], 0
mov ebx, 0x433488
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [0x43349c], 0x10
mov eax, dword [0x433498]
cmovae ebx, dword [0x433488]
mov dword [ebp - 0x24c], eax
cmp eax, 0x10
jae 0x406819
movups xmm0, xmmword [ebx]
mov esi, 0xf
movups xmmword [edi], xmm0
jmp 0x40684f
mov esi, eax
mov ecx, edi
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0040cce0
mov ecx, eax
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [edi], ecx
push eax
push ebx
push ecx
call fcn.0040fae0
mov eax, dword [ebp - 0x24c]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [edi + 0x10], eax
xor ecx, ebp
mov dword [edi + 0x14], esi
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.0040e97b
mov esp, ebp
pop ebp
ret
push 0x4340e0
call fcn.0040e8a5
add esp, 4
cmp dword [0x4340e0], 0xffffffff
jne 0x40663f
push 0x427970
call fcn.0040ebe8
push 0x4340e0
call fcn.0040e85b
add esp, 8
jmp 0x40663f
call fcn.00411d5f
call fcn.00411d5f
int3