Function at 0x4064f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x43443c]
push ebx
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4340d0]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24c], edi
cmp eax, dword [ecx + 4]
jg 0x406758
cmp dword [0x433498], 0
jne 0x4066c5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00407330
test al, al
jne 0x4065aa
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0xc
cmp esi, 0x433488
je 0x4066bd
mov edx, dword [0x43349c]
cmp edx, 0x10
jb 0x40667a
mov ecx, dword [0x433488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40678e
jmp 0x406670
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.004101a0
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 0x406617
cmp dword [ebp - 0x240], esi
je 0x40660b
lea eax, [ebp - 0x248]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4065f0
jmp 0x406617
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 0x4066bd
mov edx, dword [0x43349c]
cmp edx, 0x10
jb 0x40667a
mov ecx, dword [0x433488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406793
push edx
push ecx
call fcn.0040e718
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 0x406709
movups xmm0, xmmword [ebx]
mov esi, 0xf
movups xmmword [edi], xmm0
jmp 0x40673f
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.0040cc70
mov ecx, eax
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [edi], ecx
push eax
push ebx
push ecx
call fcn.0040f900
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.0040e726
mov esp, ebp
pop ebp
ret
push 0x4340d0
call fcn.0040eab7
add esp, 4
cmp dword [0x4340d0], 0xffffffff
jne 0x40652f
push 0x427bb0
call fcn.0040e993
push 0x4340d0
call fcn.0040ea6d
add esp, 8
jmp 0x40652f
call fcn.00411b7f
call fcn.00411b7f
int3