Function at 0x402260
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49113d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4bd514]
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 eax, dword [ebp + 8]
xor esi, esi
push esi
push 2
mov dword [ebp - 0x264], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x244]
mov edi, eax
push ecx
push edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4022f6
push str.enumerate_users:_empty_snapshot.
call fcn.00430720
add esp, 4
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
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046544a
mov esp, ebp
pop ebp
ret
xor esi, esi
push 0x10
xor edx, edx
mov edi, 7
push str.FightersTray.exe
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2a4], esi
mov word [ebp - 0x2b4], dx
call fcn.00404150
mov dword [ebp - 4], esi
xor eax, eax
mov word [ebp - 0x27c], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x26c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x402343
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x280]
call fcn.00404150
lea edx, [ebp - 0x2b8]
push edx
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 1
call fcn.00488543
add esp, 4
mov edi, eax
lea eax, [ebp - 0x280]
push eax
lea esi, [ebp - 0x2d4]
mov byte [ebp - 4], 2
call fcn.00488543
add esp, 4
mov byte [ebp - 4], 3
mov esi, dword [edi + 0x14]
mov edx, dword [eax + 0x14]
cmp esi, edx
jbe 0x4023ab
xor bl, bl
jmp 0x4023d7
or ebx, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jae 0x4023b7
mov ebx, esi
cmp dword [edi + 0x18], 8
jb 0x4023c2
mov edi, dword [edi + 4]
jmp 0x4023c5
add edi, 4
push ebx
push edi
push ecx
sub edx, ecx
push edx
mov ecx, eax
call fcn.00408380
test eax, eax
sete bl
cmp dword [ebp - 0x2bc], 8
jb 0x4023ef
mov ecx, dword [ebp - 0x2d0]
push ecx
call fcn.0043ac18
add esp, 4
xor esi, esi
xor edx, edx
mov edi, 8
mov dword [ebp - 0x2bc], 7
mov dword [ebp - 0x2c0], esi
mov word [ebp - 0x2d0], dx
cmp dword [ebp - 0x2d8], edi
jb 0x402426
mov eax, dword [ebp - 0x2ec]
push eax
call fcn.0043ac18
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2d8], 7
mov dword [ebp - 0x2dc], esi
mov word [ebp - 0x2ec], cx
cmp dword [ebp - 0x268], edi
jb 0x402456
mov edx, dword [ebp - 0x27c]
push edx
call fcn.0043ac18
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], esi
mov word [ebp - 0x27c], ax
cmp dword [ebp - 0x2a0], edi
jb 0x40248d
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0043ac18
add esp, 4
test bl, bl
je 0x402671
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x220]
push edx
push eax
push str.Found_process_with_pid___d__and_name___s_
call fcn.004305a0
add esp, 0xc
push 4
call fcn.0043abde
add esp, 4
cmp eax, esi
je 0x4024c8
lea ecx, [ebp - 0x260]
mov dword [eax], ecx
jmp 0x4024ca
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
lea edx, [ebp - 0x260]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x23c]
push edx
push eax
call fcn.00401f50
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
sub eax, edx
add esp, 8
sar eax, 1
je 0x402629
cmp eax, esi
ja 0x402524
call fcn.004658e0
mov edx, dword [ebp - 0x254]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], esi
mov word [ebp - 0x298], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x402542
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x29c]
call fcn.00404150
mov ebx, dword [ebp - 0x264]
lea edx, [ebp - 0x29c]
push edx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.004033a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x284], 8
jb 0x402592
mov eax, dword [ebp - 0x298]
push eax
call fcn.0043ac18
add esp, 4
mov edi, dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], esi
mov word [ebp - 0x298], cx
cmp dword [ebx + 0xc], edi
jbe 0x4025b8
call fcn.004658e0
mov esi, dword [ebx]
mov ebx, esi
mov dword [ebp - 0x2f4], edi
test esi, esi
jne 0x4025dd
call fcn.004658e0
xor eax, eax
lea ecx, [edi - 0x1c]
cmp ecx, dword [eax + 0x10]
ja 0x4025e8
test esi, esi
je 0x4025e1
mov esi, dword [esi]
jmp 0x4025e3
mov eax, dword [esi]
jmp 0x4025cd
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x4025ed
call fcn.004658e0
add edi, 0xffffffe4
test ebx, ebx
jne 0x402610
call fcn.004658e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x402605
call fcn.004658e0
cmp dword [edi + 0x18], 8
jb 0x402614
mov edi, dword [edi + 4]
jmp 0x402617
mov eax, dword [ebx]
jmp 0x4025fb
add edi, 4
push edi
push str.Enumerate_user_name:__s
call fcn.004305a0
add esp, 8
xor esi, esi
jmp 0x402636
push str.Failed_to_determine_process_owner
call fcn.00430720
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
cmp eax, esi
je 0x402650
push eax
call fcn.0043ac18
add esp, 4
mov edx, dword [ebp - 0x260]
push edx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
call fcn.0043ac18
add esp, 4
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x244]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4022f4
mov edi, dword [ebp - 0x248]
jmp 0x4022d1