Function at 0x401cd0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4133f1
mov eax, dword fs:[0]
push eax
mov eax, 0x1454
call fcn.00411340
mov eax, dword [0x41905c]
xor eax, esp
mov dword [esp + 0x1450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41905c]
xor eax, esp
push eax
lea eax, [esp + 0x1468]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebp, ebp
push 0x4163f4
xor bl, bl
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call edi
mov esi, eax
cmp esi, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynW]
jle 0x401d88
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp esi, eax
lea eax, [esp + 0x38]
jle 0x401d5e
push eax
mov ecx, esi
call fcn.00405060
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
je 0x401d8a
lea edx, [esi + 1]
push edx
push 0x4163f4
push ecx
call ebp
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x1470], eax
push str.BrCcUxSys.exe
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
mov esi, eax
xor edi, edi
cmp esi, edi
jle 0x401dec
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00405060
mov ecx, dword [eax]
cmp ecx, edi
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
je 0x401dec
lea edx, [esi + 1]
push edx
push str.BrCcUxSys.exe
push ecx
call ebp
mov dword [esp + 0x28], esi
push str.______TerminateOrphanCCProcess___IN_______n
mov eax, 0x41a300
mov byte [esp + 0x1474], 1
call fcn.00402c10
add esp, 4
lea eax, [esp + 0x34]
push eax
push 0x1000
lea ecx, [esp + 0x264]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x401fee
mov ebp, dword [esp + 0x34]
shr ebp, 1
je 0x401f16
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x401e40
mov edx, dword [esp + edi*4 + 0x25c]
push edx
push 0
push 0x100411
call ebx
mov esi, eax
test esi, esi
je 0x401edf
lea eax, [esp + 0x34]
push eax
push 0x200
lea ecx, [esp + 0x64]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401edf
mov eax, dword [esp + 0x5c]
push 0x104
lea edx, [esp + 0x1260]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jbe 0x401edf
cmp dword [esp + 0x1c], 0
jle 0x401eb4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x125c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401eb4
mov dword [esp + 0x30], esi
jmp 0x401edf
cmp dword [esp + 0x28], 0
jle 0x401ed8
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x125c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ed8
mov dword [esp + 0x14], esi
jmp 0x401edf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, ebp
jb 0x401e40
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x401f0f
mov ebp, dword [esp + 0x14]
xor esi, esi
cmp ebp, esi
je 0x401f23
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
xor bl, bl
jmp 0x401fee
cmp dword [esp + 0x14], 0
jne 0x401f1d
xor bl, bl
jmp 0x401fee
mov ebp, dword [esp + 0x14]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx ecx, ax
lea edx, [esp + 0x50]
call fcn.00403b50
mov byte [esp + 0x1470], 2
mov eax, dword [eax]
cmp eax, esi
jne 0x401f48
mov eax, 0x415bbc
mov edi, eax
call fcn.00403940
mov byte [esp + 0x1470], 1
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x401f74
push eax
call fcn.00407637
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
je 0x401fb6
push 0
push ebx
call esi
push 0x2710
push ebx
call edi
cmp eax, 0x102
jne 0x401faf
push str.Failed_to_terminate_Main_process._n
mov eax, 0x41a300
call fcn.00402bb0
add esp, 4
call fcn.00402f90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x401fec
push 0
push ebp
call esi
push 0x2710
push ebp
call edi
cmp eax, 0x102
jne 0x401fe5
push str.Failed_to_terminate_Ux_process._n
mov eax, 0x41a300
call fcn.00402bb0
add esp, 4
call fcn.00402f90
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
push str.______TerminateOrphanCCProcess___OUT_______n
mov eax, 0x41a300
call fcn.00402c10
mov byte [esp + 0x1474], 0
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x402019
push eax
call fcn.00407637
add esp, 4
mov dword [esp + 0x1470], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402035
push eax
call fcn.00407637
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1450]
xor ecx, esp
call fcn.004074f2
add esp, 0x1460
ret