Function at 0x407e9b
Capabilities:
Enumerate processes

Disassembly:
push 0x2f4
mov eax, 0x4381d9
call fcn.00423b6c
mov edi, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
mov bl, dl
mov dword [ebp - 0x2fc], edi
mov byte [ebp - 0x2f1], bl
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], dx
add ecx, 0xe0
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ecx + 0x14], 8
jb 0x407ee1
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00415344
push eax
lea ecx, [ebp - 0x40]
call fcn.00407e0a
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401f44
cmp dword [ebp - 0x30], esi
sete al
test al, al
jne 0x408351
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x300]
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push 0x43e64c
push eax
call fcn.0042c13d
mov esi, eax
push esi
call fcn.00402b0e
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402136
xor ecx, ecx
mov esi, 0x451150
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x408344
cmp dword [ebp + 0x10], 0
jbe 0x407ffb
push str.OPatchInstall:_Inspecting_for_Blocked_application_
mov ecx, esi
call fcn.0041b07a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
cmovae eax, dword [ebp - 0x28]
push 3
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0xc4]
push eax
call fcn.00401973
push dword [ebp - 0xc4]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041b07a
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc4], eax
je 0x407fd5
push dword [ebp - 0xc4]
call fcn.0042ea16
pop ecx
push 0x43b304
mov ecx, esi
call fcn.0041b07a
push 0x43c7fd
mov ecx, esi
call fcn.0041b07a
push 0x43b300
mov ecx, esi
call fcn.0041b07a
xor ecx, ecx
cmp dword [ebp + 0x10], 0
mov ebx, ecx
mov dword [ebp - 0x2f8], ebx
jbe 0x4082fe
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 0x2f2], cl
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0042c17f
pop ecx
pop ecx
test eax, eax
je 0x40825a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x408051
push 0x43e684
call fcn.0041ecba
jmp 0x40823d
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40807b
push 0x43e6a0
call fcn.0041ecba
jmp 0x40822d
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [edi]
jne 0x408209
mov ebx, 0x451150
push str.OPatchInstall:_Comparing_
mov ecx, ebx
call fcn.0041b07a
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
lea ecx, [ebp - 0x1c8]
push 3
lea eax, [ebp - 0x2cc]
push eax
call fcn.004041da
push 3
push dword [ebp - 0x1c8]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
call fcn.00401973
push dword [ebp - 0xc4]
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0041b07a
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xc4], eax
je 0x408108
push dword [ebp - 0xc4]
call fcn.0042ea16
pop ecx
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c8], eax
je 0x408126
push dword [ebp - 0x1c8]
call fcn.0042ea16
pop ecx
push str._to_
mov ecx, ebx
call fcn.0041b07a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
cmovae eax, dword [ebp - 0x28]
push 3
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0xc4]
push eax
call fcn.00401973
push dword [ebp - 0xc4]
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0041b07a
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc4], eax
je 0x408186
push dword [ebp - 0xc4]
call fcn.0042ea16
pop ecx
push 0x43b304
mov ecx, ebx
call fcn.0041b07a
push 0x43c7fd
mov ecx, ebx
call fcn.0041b07a
push 0x43b300
mov ecx, ebx
call fcn.0041b07a
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
lea ecx, [ebp - 0x1c8]
push 3
lea eax, [ebp - 0x2cc]
push eax
call fcn.004041da
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c8]
call fcn.0042c17f
mov ebx, eax
lea eax, [ebp - 0x1c4]
neg ebx
pop ecx
sbb bl, bl
inc bl
pop ecx
cmp dword [ebp - 0x1c8], eax
je 0x408205
push dword [ebp - 0x1c8]
call fcn.0042ea16
pop ecx
test bl, bl
jne 0x408220
lea eax, [ebp - 0x2f0]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40807b
jmp 0x408227
mov byte [ebp - 0x2f2], 1
mov ebx, dword [ebp - 0x2f8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x2f2], 0
jne 0x40825a
inc ebx
add edi, 0x29c
mov dword [ebp - 0x2f8], ebx
cmp ebx, dword [ebp + 0x10]
jae 0x4082f3
xor ecx, ecx
jmp 0x40800d
mov esi, 0x451150
push str.OPatchInstall:_Blocked_application_discovered_
mov ecx, esi
call fcn.0041b07a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
cmovae eax, dword [ebp - 0x28]
push 3
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0xc4]
push eax
call fcn.00401973
push dword [ebp - 0xc4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041b07a
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc4], eax
je 0x4082bf
push dword [ebp - 0xc4]
call fcn.0042ea16
pop ecx
push 0x43b304
mov ecx, esi
call fcn.0041b07a
push 0x43c7fd
mov ecx, esi
call fcn.0041b07a
push 0x43b300
mov ecx, esi
call fcn.0041b07a
mov edi, dword [ebp - 0x2fc]
mov bl, 1
mov byte [ebp - 0x2f1], bl
jmp 0x408304
mov edi, dword [ebp - 0x2fc]
mov esi, 0x451150
mov bl, byte [ebp - 0x2f1]
push 0x43d1ec
call fcn.00402b0e
pop ecx
push eax
push 0x43d1ec
lea ecx, [ebp - 0x28]
call fcn.00402136
test bl, bl
jne 0x408344
mov eax, dword [ebp - 0x300]
xor ecx, ecx
cmp word [eax], cx
je 0x407f5c
lea eax, [ebp - 0x300]
push eax
push 0x43e64c
push ecx
jmp 0x407f3b
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 1
call fcn.00401f44
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00401f44
movzx eax, bl
call fcn.00423b1e
ret 0xc