Function at 0x47d080
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ebx
call fcn.0046d4f0
test eax, eax
je 0x47d124
push ebx
push str.CRegOps::StopTheApp_:_pszAppName___s_n
push 0x6a33d0
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x6a32d0], eax
mov eax, 0x6a33d0
mov dword [0x6a32d4], ecx
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47d0e0
mov edi, 0x6a32d0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47d0f1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6a32d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
xor esi, esi
push 0x124
lea edx, [ebp - 0x22c]
push esi
push edx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x230], esi
call fcn.00599fb0
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47d150
sub eax, edx
je 0x47d42a
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x234], ebx
cmp ebx, 0xffffffff
je 0x47d3a1
lea eax, [ebp - 0x230]
push eax
push ebx
mov dword [ebp - 0x230], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x47d312
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 0xc]
call fcn.0046d4f0
test eax, eax
je 0x47d1d9
lea ecx, [ebp - 0x20c]
push ecx
push str.pe32.szExeFile___s_n
push 0x6a31d0
call fcn.00599ee3
add esp, 0xc
push 0x6a31d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00599e8d
add esp, 8
test eax, eax
jne 0x47d291
mov eax, dword [ebp - 0x218]
test esi, 0x100000
jne 0x47d20b
mov eax, dword [ebp - 0x228]
push eax
test esi, 0x200000
je 0x47d255
lea ecx, [ebp - 0x108]
push str.TASKKILL__F__PID__d
push ecx
call fcn.00599ee3
mov ecx, dword [ebp - 0x240]
add esp, 0xc
or esi, 0x1000000
push esi
lea edx, [ebp - 0x108]
push edx
call fcn.0047c3d0
test eax, eax
jne 0x47d291
call fcn.0046d4f0
test eax, eax
je 0x47d291
push str.Failed_StartTheApp_n
jmp 0x47d285
push 0
push 0x1f0fff
call edi
test eax, eax
jne 0x47d2be
call fcn.0046d4f0
test eax, eax
je 0x47d291
call ebx
push eax
push str.Failed_OpenProcess_GetLastError___d_n
push 0x6a30d0
call fcn.00599ee3
add esp, 0xc
push 0x6a30d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x47d1a6
mov ebx, dword [ebp - 0x234]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47d42a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x47d2ac
call fcn.0046d4f0
test eax, eax
je 0x47d2ac
call ebx
push eax
push str.Failed_TerminateProcess_GetLastError___d_n
push 0x6a2fd0
call fcn.00599ee3
add esp, 0xc
push 0x6a2fd0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov ebx, dword [ebp - 0x234]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47d42a
call fcn.0046d4f0
test eax, eax
je 0x47d2b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_Process32First:_GetLastError___d_n
push 0x6a2ed0
call fcn.00599ee3
mov eax, dword [0x5ccefc]
mov edx, dword [str.EXIT:]
mov dword [0x6a2dd4], eax
mov eax, 0x6a2ed0
add esp, 0xc
mov dword [0x6a2dd0], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47d351
mov edi, 0x6a2dd0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47d362
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6a2dd0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47d42a
call fcn.0046d4f0
test eax, eax
je 0x47d42a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_CreateToolhelp32Snapshot:_GetLastError___d_n
push 0x6a2cd0
call fcn.00599ee3
mov ecx, dword [str.EXIT:]
mov edx, dword [0x5ccefc]
mov eax, 0x6a2cd0
mov dword [0x6a2bd0], ecx
add esp, 0xc
mov dword [0x6a2bd4], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47d3e6
mov edi, 0x6a2bd0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47d3f7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6a2bd0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
call fcn.0046d4f0
test eax, eax
mov eax, dword [ebp - 0x238]
je 0x47d4ba
push eax
push str.CRegOps::StopTheApp_:_bRetVal___d_n
push 0x6a2ad0
call fcn.00599ee3
mov ecx, dword [str.EXIT:]
mov edx, dword [0x5ccefc]
mov eax, 0x6a2ad0
mov dword [0x6a29d0], ecx
add esp, 0xc
mov dword [0x6a29d4], edx
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47d470
mov edi, 0x6a29d0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47d481
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6a29d0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8