Function at 0x4126b0
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x790b9f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4d8
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
xor eax, eax
push eax
push 2
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x494], edi
cmp edi, 0xffffffff
je 0x412a24
lea eax, [ebp - 0x480]
mov dword [ebp - 0x480], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x412a15
push dword [ebp - 0x478]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x490], esi
test esi, esi
je 0x412a07
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
xor eax, eax
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x4a4], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x4a0], 7
lea edx, [eax + 2]
movups xmmword [ebp - 0x23c], xmm0
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4127d0
sub eax, edx
lea ecx, [ebp - 0x4b4]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004044f0
lea eax, [ebp - 0x4b4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.00412f00
xor ecx, ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], cx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00403b80
lea ecx, [ebp - 0x4e4]
call fcn.00404490
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 6
call fcn.00404490
xorps xmm0, xmm0
push 0x44
movlpd qword [ebp - 0x228], xmm0
call fcn.0076d2e3
mov edi, eax
add esp, 4
mov dword [ebp - 0x49c], edi
push 0x44
push 0
push edi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x4bc], 0
add esp, 0xc
mov dword [ebp - 0x4b8], 7
mov word [ebp - 0x4cc], ax
mov byte [ebp - 4], 8
lea esi, [edi + 8]
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x468]
or eax, 1
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x478]
mov dword [edi], eax
lea eax, [ebp - 0x24c]
mov dword [edi + 4], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x498], esi
call fcn.00404120
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.00403f00
lea eax, [ebp - 0x4cc]
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.00404120
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x228]
push dword [ebp - 0x498]
mov dword [ebp - 0x228], 0
push edi
mov dword [ebp - 0x224], 0
call fcn.00413bd0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x4cc]
and dword [ebp - 0x484], 0xfffffffe
call fcn.00404490
mov edx, dword [ebp - 0x48c]
mov ecx, dword [edx + 8]
cmp dword [edx + 0xc], ecx
je 0x412999
mov esi, dword [ebp - 0x224]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x412988
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add dword [edx + 8], 8
jmp 0x4129af
lea eax, [ebp - 0x228]
push eax
push ecx
lea ecx, [edx + 4]
call fcn.00413880
mov esi, dword [ebp - 0x224]
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x4129e4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4129e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4129e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.00404220
lea ecx, [ebp - 0x24c]
call fcn.00404490
mov edi, dword [ebp - 0x494]
lea eax, [ebp - 0x480]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x412740
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret