Function at 0x419760
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x455b91
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x46bd84]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov ebx, dword [esp + 0x270]
mov esi, dword [esp + 0x274]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0
call fcn.0042d67b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4197dd
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
cmp word [esp + 0x284], 0xa
mov dword [esp + 0x268], 0
jbe 0x419841
lea esi, [edi - 0x10]
push esi
call fcn.00401f90
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov dword [esp + 0x268], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a96
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x419a96
push 0x228
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0043f900
mov edx, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419a61
mov eax, dword [esp + 0x278]
cmp dword [esp + 0x38], eax
je 0x419895
mov edx, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x419872
jmp 0x419a61
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x2c
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x28]
call fcn.0041f530
add esp, 8
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26c], 1
call fcn.00401ea0
mov byte [esp + 0x268], 2
mov ecx, dword [esp + 0x14]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x4197d3
mov eax, dword [eax]
push ecx
push eax
call fcn.0043e099
add esp, 8
test eax, eax
mov byte [esp + 0x268], 1
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41992b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4199a4
mov byte [esp + 0x268], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419955
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], edi
jne 0x4198a5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x419a59
mov ecx, dword [esp + 0x284]
mov edx, dword [esp + 0x280]
mov esi, dword [esp + 0x18]
inc ecx
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
push esi
call fcn.00419760
add esp, 0x18
lea ecx, [esp + 0x10]
call fcn.00402040
mov eax, esi
jmp 0x419a98
cmp dword [esp + 0x280], 0
jne 0x4199be
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401e60
jmp 0x419a06
mov edx, dword [esp + 0x278]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x419a06
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401d10
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push edi
lea ecx, [esp + 0x14]
call fcn.0040f050
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.00401f90
mov ebx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x26c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x268], edi
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x419a8a
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
lea esi, [edi - 0x10]
push esi
call fcn.00401f90
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov dword [esp + 0x268], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419a96
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0043d85c
add esp, 0x25c
ret