Function at 0x4021d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4160a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
cmp dword [0x420538], 0
push ebx
push esi
mov dword [ebp - 0x10], 0
jne 0x402298
lea eax, [ebp - 0x18]
push eax
call fcn.00401df0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
cmp esi, 0x420534
je 0x402274
mov eax, dword [0x420534]
mov ecx, 0x420534
push dword [eax + 4]
call fcn.004034a0
mov eax, dword [0x420534]
mov dword [eax + 4], eax
mov eax, dword [0x420534]
mov dword [eax], eax
mov eax, dword [0x420534]
mov dword [eax + 8], eax
mov ecx, dword [0x420534]
mov dword [0x420538], 0
mov eax, dword [esi]
mov dword [0x420534], eax
mov dword [esi], ecx
mov ecx, dword [0x420538]
mov eax, dword [esi + 4]
mov dword [0x420538], eax
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.00403a00
push dword [ebp - 0x18]
call fcn.00405bfc
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4022c7
push str.GetGuardianProcessID:_CreateToolhelp32Snapshot_failed_
call fcn.004045b0
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x128
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00405ad0
add esp, 0xc
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40231e
push str.GetGuardianProcessID:_Process32First_failed_
call fcn.004045b0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
nop
mov ecx, str.LMIGuardianSvc.exe
lea eax, [ebp - 0x120]
jmp 0x402330
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402350
test dl, dl
je 0x40234c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402350
add eax, 2
add ecx, 2
test dl, dl
jne 0x402330
xor eax, eax
jmp 0x402355
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40247c
push dword [ebp - 0x13c]
call fcn.004028a0
mov esi, eax
add esp, 4
test esi, esi
je 0x40246f
push 0x104
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.00405ad0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402390
sub ecx, edx
lea edx, [ebp - 0x120]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4023a2
sub edx, edi
lea eax, [ebp - 0x34c]
sub ecx, edx
push ecx
push esi
push eax
call fcn.00406400
push 0x104
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.00405ad0
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax - 0x34c]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x249], cl
test cl, cl
jne 0x4023d3
lea edi, [ebp - 0x248]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4023f0
mov ax, word [0x417644]
lea ecx, [ebp - 0x248]
mov word [edi], ax
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402410
mov eax, dword [str.join.me.exe]
mov dword [ecx], eax
mov eax, dword [0x417448]
mov dword [ecx + 4], eax
mov eax, dword [0x41744c]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x248]
push eax
push str.GetGuardianProcessID:_joinmePath:__s
call fcn.004045b0
lea eax, [ebp - 0x248]
push 0x417670
push eax
call fcn.0040693a
add esp, 0x10
test eax, eax
jne 0x402493
push str.GetGuardianProcessID:_fopen_fail_
call fcn.004045b0
push esi
call fcn.00405bfc
add esp, 8
jmp 0x40247c
push str.GetProcessPathByPID_fail_
call fcn.004045b0
add esp, 4
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402320
jmp 0x4024b0
push eax
call fcn.004067ff
mov eax, dword [ebp - 0x13c]
push eax
push str.GetGuardianProcessID:_PID:__d
mov dword [ebp - 0x10], eax
call fcn.004045b0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret