Function at 0x4791a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1180
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov ecx, esi
mov dword [ebp - 0x1c], edi
call fcn.004122d0
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
jne 0x47944a
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push str.PPTFrameClass
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
je 0x4792b4
push str.PP12FrameClass
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
je 0x4792b4
push str.OpusApp
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x479249
push str.winword.exe
jmp 0x4792b9
push str.XLMAIN
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x479262
push str.excel.exe
jmp 0x4792b9
push str.rctrl_renwnd32
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x47927b
push str.outlook.exe
jmp 0x4792b9
push str.CabinetWClass
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x479294
push str.explorer.exe
jmp 0x4792b9
push str.Notepad
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x479427
push str.notepad.exe
jmp 0x4792bc
push str.powerpnt.exe
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 3
push edi
push edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 0xd], 0
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.004122d0
push 0
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x20]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
test edi, edi
je 0x479311
mov byte [ebp - 0xd], 1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jg 0x479424
cmp byte [ebp - 0xd], 0
je 0x4792e2
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor bl, bl
xor edi, edi
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], edi
je 0x47934b
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
test bl, bl
je 0x479407
push 0x22
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0043b8e0
mov ecx, dword [esi + 0xfc]
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov byte [ebp - 4], 3
call fcn.0045f030
lea eax, [ebp - 0x28]
push eax
call fcn.00478300
push eax
lea ecx, [ebp - 0x24]
push 0x22
push ecx
mov byte [ebp - 4], 4
call fcn.00448d30
add esp, 0x14
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 5
call fcn.004018e0
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.004223c0
add esp, 0xc
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 5
push edi
push edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.0043b8e0
push 0x4ae26b
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
je 0x479335
mov bl, 1
jmp 0x479339