Function at 0x4c8320
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d971
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.MozillaWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
xor ecx, ecx
mov dword [ebp - 0x268], ecx
test eax, eax
je 0x4c837b
lea ecx, [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4c8556
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ecx
push eax
push 0x400
call ebx
mov esi, eax
test esi, esi
je 0x4c83ec
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e7b30
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
push esi
test eax, eax
jne 0x4c83f3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x4c8606
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x224], 0
cmovae eax, dword [ebp - 0x234]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040f7e0
xor edi, edi
cmp dword [ebp - 0x224], edi
jbe 0x4c847b
nop dword [eax + eax]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
lea esi, [ebp - 0x234]
cmovae edx, dword [ebp - 0x234]
cmovae esi, dword [ebp - 0x234]
movzx eax, word [edx + edi*2]
push eax
call fcn.004ecea8
mov word [esi + edi*2], ax
add esp, 4
inc edi
cmp edi, dword [ebp - 0x224]
jb 0x4c8440
push 0xb
push 0
push str.thunderbird
lea ecx, [ebp - 0x234]
call fcn.00410650
cmp eax, 0xffffffff
je 0x4c8556
xor eax, eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00417530
test al, al
je 0x4c852d
push dword [ebp - 0x268]
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x4c852d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
push 0
cmovae eax, dword [ebp - 0x264]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x1f
jl 0x4c852d
mov bl, 1
jmp 0x4c852f
xor bl, bl
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x4c8606
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.004120a0
jmp 0x4c8606
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004c4020
test al, al
je 0x4c85c9
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 0
cmovae eax, dword [ebp - 0x24c]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x1f
jl 0x4c85c9
mov bl, 1
jmp 0x4c85cb
xor bl, bl
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x4c85e9
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x4c8624
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.004120a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret 8