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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5f34
mov eax, dword fs:[0]
push eax
sub esp, 0xad4
mov eax, dword [0x51fee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push 0
lea ecx, [ebp - 0xac0]
mov dword [ebp - 0xa90], esi
call fcn.00443cd0
push 0
mov dword [ebp - 4], 0
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4112e8
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa80], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa80]
push str.enumProcess_CreateToolhelp32Snapshot__d
push eax
call fcn.004060e0
add esp, 0xc
lea eax, [ebp - 0xa80]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xac0]
mov byte [ebp - 4], 4
call fcn.00444170
lea ecx, [ebp - 0xab0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 3
call fcn.00443ee0
cmp dword [ebp - 0x818], 0x10
jb 0x4112b9
push dword [ebp - 0x82c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0xa80]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4112df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41195e
push 0x22c
lea eax, [ebp - 0xa78]
push 0
push eax
call fcn.004a8550
add esp, 0xc
lea eax, [ebp - 0xa78]
push eax
push edi
mov dword [ebp - 0xa78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x411808
or ebx, 0xffffffff
push dword [ebp - 0xa70]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41178d
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.004a8550
add esp, 0xc
lea eax, [ebp - 0x814]
push 0x800
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x4113db
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa88], eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa88]
push str.GetProcessImageFileName__d
push eax
call fcn.004060e0
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [ebp - 0xa88]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411793
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411793
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa80], eax
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x41142a
movzx esi, ax
push 0
push esi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x411455
push esi
push eax
lea ecx, [ebp - 0xa80]
call fcn.004075c0
jmp 0x411455
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411433
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004097a0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa7c], eax
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa84], eax
push dword [ebp - 0xa70]
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0xa7c]
push eax
mov byte [ebp - 4], 9
call fcn.00432ef0
add esp, 0xc
lea ecx, [ebp - 0xab0]
push 0
call fcn.00443cd0
mov byte [ebp - 4], 0xa
call fcn.00417900
test al, al
jne 0x411507
mov esi, dword [0x521340]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a63b0
add esp, 4
push eax
call fcn.004a8200
add esp, 4
mov eax, dword [ebp - 0xa7c]
mov esi, 0x4db418
cmp dword [eax - 0xc], 0
mov ecx, 0x51fab0
cmovne esi, eax
mov eax, dword [0x51fab0]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8c], eax
mov byte [ebp - 4], 0xb
test esi, esi
je 0x411576
test esi, 0xffff0000
jne 0x411560
movzx esi, si
push 0
push esi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x411585
push esi
push eax
lea ecx, [ebp - 0xa8c]
call fcn.004075c0
jmp 0x411585
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411565
sub ecx, edx
sar ecx, 1
jmp 0x411578
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0xa8c]
call fcn.004097a0
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x82c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0xae0]
mov byte [ebp - 4], 0xd
call fcn.00443bf0
push str.user
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 0xe
call fcn.00444170
lea ecx, [ebp - 0xae0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xae0]
mov byte [ebp - 4], 0xd
call fcn.00443ee0
cmp dword [ebp - 0x818], 0x10
jb 0x4115f7
push dword [ebp - 0x82c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0xa8c]
add edx, 0xfffffff0
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x82c], 0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411635
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00417b40
test al, al
jne 0x41164f
push 0x29
push 0x28
push str._d__d_n
call fcn.004a90ce
add esp, 0xc
lea eax, [ebp - 0xa80]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0xad0]
mov byte [ebp - 4], 0xf
call fcn.00443bf0
push str.process
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 0x10
call fcn.00444170
lea ecx, [ebp - 0xad0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xad0]
mov byte [ebp - 4], 0xf
call fcn.00443ee0
cmp dword [ebp - 0x818], 0x10
mov byte [ebp - 4], 0xa
jb 0x4116c1
push dword [ebp - 0x82c]
call fcn.004a6c2e
add esp, 4
push dword [ebp - 0xa70]
lea ecx, [ebp - 0xaa0]
call fcn.00443c30
push 0x4db428
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 0x11
call fcn.00444170
lea ecx, [ebp - 0xaa0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xaa0]
mov byte [ebp - 4], 0xa
call fcn.00443ee0
lea eax, [ebp - 0xab0]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004447e0
lea ecx, [ebp - 0xab0]
mov byte [ebp - 4], 9
call fcn.00443ee0
mov edx, dword [ebp - 0xa84]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411747
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41176a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa80]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41178d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa78]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411320
lea ecx, [ebp - 0xac0]
call fcn.00444c90
test al, al
je 0x4117f8
push str.empty
lea ecx, [ebp - 0xaa0]
call fcn.00443c90
push 0x4da4ec
lea ecx, [ebp - 0xac0]
mov byte [ebp - 4], 0x12
call fcn.00444170
lea ecx, [ebp - 0xaa0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xaa0]
mov byte [ebp - 4], 1
call fcn.00443ee0
test edi, edi
je 0x411957
push edi
call esi
jmp 0x411957
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa7c], eax
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa7c]
push str.enumProcess_Process32First__d
push eax
call fcn.004060e0
add esp, 0xc
lea eax, [ebp - 0xa7c]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00450030
add esp, 8
push eax
lea ecx, [ebp - 0xaa0]
mov byte [ebp - 4], 0x14
call fcn.00443bf0
push 0x4da4ec
lea ecx, [ebp - 0xac0]
mov byte [ebp - 4], 0x15
call fcn.00444170
lea ecx, [ebp - 0xaa0]
push ecx
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0xaa0]
mov byte [ebp - 4], 0x14
call fcn.00443ee0
cmp dword [ebp - 0x818], 0x10
jb 0x4118ab
push dword [ebp - 0x82c]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0xa7c]
jmp 0x4112bf
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84c]
call fcn.00445f40
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 0x1a
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa84], eax
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0x1b
call fcn.00448e50
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x1c
jb 0x4119ae
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x4119cd
xor ecx, ecx
jmp 0x4119db
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4119d2
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00401460
lea eax, [ebp - 0xa88]
push eax
call fcn.0044ff60
add esp, 0x1c
push eax
lea ecx, [ebp - 0xa84]
mov byte [ebp - 4], 0x1d
call fcn.00402b30
mov edx, dword [ebp - 0xa88]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411a26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x818], 0x10
mov byte [ebp - 4], 0x1b
jb 0x411a41
push dword [ebp - 0x82c]
call fcn.004a6c2e
add esp, 4
mov edi, dword [ebp - 0xa90]
mov esi, dword [ebp - 0xa84]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x411a68
call fcn.0040c350
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x411a86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x834], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x84c], 0x4da4e4
jb 0x411aab
push dword [ebp - 0x848]
call fcn.004a6c2e
add esp, 4
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
call fcn.00446040
lea ecx, [ebp - 0xac0]
mov dword [ebp - 4], 0xffffffff
call fcn.00443ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a7434
mov esp, ebp
pop ebp
ret