Function at 0x405700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4956ab
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4e20c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov esi, ecx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x264], esi
push 0
mov dword [ebp - 0x248], 0
push 2
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xorps xmm0, xmm0
cmp edi, 0xffffffff
jne 0x4057b8
movq qword [esi], xmm0
xor eax, eax
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [ebp - 4], 1
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 1
mov eax, esi
jmp 0x405aac
movlpd qword [ebp - 0x18], xmm0
push 0x4c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0046ed65
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 - 0x18], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4058f7
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x29c], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x22c]
xorps xmm0, xmm0
mov dword [ebp - 0x298], eax
movups xmmword [ebp - 0x294], xmm0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405850
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.0041c720
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 0
push 0x4c9f3c
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0
call fcn.0041c720
mov byte [ebp - 4], 5
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413a60
mov ecx, eax
call fcn.00405b90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27c]
call fcn.00416650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00416650
lea eax, [ebp - 0x244]
push eax
push edi
call esi
test eax, eax
jne 0x405810
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
mov esi, dword [edi]
cmp byte [esi + 0xd], 0
jne 0x4059c6
nop dword [eax]
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x405978
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x18]
call fcn.004254b0
mov eax, dword [ebp - 0x258]
cmp byte [eax + 0xd], 0
jne 0x405947
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [eax + 0x10]
jae 0x405949
mov eax, edi
cmp eax, edi
je 0x405978
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413a60
add eax, 8
lea ecx, [esi + 0x34]
cmp ecx, eax
je 0x405975
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x40596e
mov eax, dword [eax]
push edx
push eax
call fcn.00413d50
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4059a4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4059a0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x4059a0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x405990
mov esi, eax
jmp 0x4059bc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4059bc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4059b0
cmp byte [esi + 0xd], 0
je 0x405910
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x260]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004254b0
mov ecx, dword [ebp - 0x258]
cmp byte [ecx + 0xd], 0
jne 0x4059ef
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jae 0x4059f1
mov ecx, edi
cmp ecx, edi
je 0x405a3c
push esi
lea ecx, [ebp - 0x18]
call fcn.00413a60
mov edi, dword [ebp - 0x24c]
mov esi, eax
mov ecx, dword [esi]
lea edx, [esi + 8]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
push edx
call fcn.00414050
mov byte [ebp - 4], 8
lea eax, [esi + 0x20]
lea ecx, [edi + 0x20]
push eax
call fcn.00414050
mov byte [ebp - 4], 3
mov dword [ebp - 0x248], 1
jmp 0x405a85
mov edi, dword [ebp - 0x24c]
xorps xmm0, xmm0
xor eax, eax
movq qword [edi], xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
mov byte [ebp - 4], 0xb
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x248], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00425500
push 0x4c
push dword [ebp - 0x18]
call fcn.0046efe6
mov eax, edi
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ea75
mov esp, ebp
pop ebp
ret