Function at 0x40c8c6
Capabilities:
Create process on windows

Disassembly:
push 0x294
push 0x566c60
call fcn.004b6110
mov edx, dword [ebp + 8]
mov dword [ebp - 0x278], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x270], eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28c], ebx
xor esi, esi
mov edi, esi
mov dword [ebp - 0x274], edi
mov dword [eax], esi
test edx, edx
je 0x40cc2f
test ecx, ecx
je 0x40cc2f
mov dword [ebp - 0x24c], str.FirePhoenixSvc
mov dword [ebp - 0x248], str.DesktopSvc
mov dword [ebp - 0x244], str.SpSvc
mov dword [ebp - 0x240], str.HpSvc
mov dword [ebp - 0x23c], str.WpSvc
mov dword [ebp - 0x238], str.QuickSeeSvc
mov dword [ebp - 0x234], str.BzySearchSvc
mov dword [ebp - 0x230], str.StoreSvc
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x284], esi
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0040d349
call fcn.00501811
mov dword [ebp - 0x2a4], eax
push 5
pop ebx
dec ebx
mov dword [ebp - 0x26c], ebx
cmp dword [ebp - 0x280], 0
je 0x40caf4
cmp dword [ebp - 0x284], 0
jne 0x40caf4
mov eax, esi
mov dword [ebp - 0x290], esi
cmp eax, 8
jae 0x40caba
test edi, edi
jne 0x40caf4
mov ebx, esi
mov dword [ebp - 0x288], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + eax*4 - 0x24c]
mov dword [ebp - 0x2a0], eax
push eax
call fcn.0040ef1b
cmp eax, 4
jne 0x40ca82
push 0x210
push esi
lea eax, [ebp - 0x22c]
push eax
call fcn.004f92b0
add esp, 0xc
push 0x107
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x2a0]
call fcn.0040edf9
lea eax, [ebp - 0x22c]
push eax
call dword [ebp - 0x28c]
pop ecx
test eax, eax
je 0x40ca82
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x288], ebx
test ebx, ebx
je 0x40ca82
push 0x534a64
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ca82
push dword [ebp - 0x270]
push dword [ebp - 0x27c]
push dword [ebp - 0x278]
call eax
mov edi, eax
mov dword [ebp - 0x274], edi
test edi, edi
jne 0x40ca82
mov eax, dword [ebp - 0x270]
mov dword [eax], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0040caae
mov eax, dword [ebp - 0x290]
inc eax
mov dword [ebp - 0x290], eax
jmp 0x40c9bb
test edi, edi
jne 0x40caf4
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x40cb0f
call fcn.00501811
sub eax, dword [ebp - 0x2a4]
cmp eax, 0x1388
jg 0x40caf7
mov ebx, dword [ebp - 0x26c]
test ebx, ebx
jle 0x40caf4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x40c992
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x40cb0f
test edi, edi
jne 0x40cc2f
cmp dword [ebp + 0x1c], edi
jne 0x40cb0f
xor eax, eax
jmp 0x40cc31
test edi, edi
jne 0x40cc2f
mov ebx, esi
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x26c], esi
mov edi, esi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0
je 0x40cb53
push 0x534554
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x294], ebx
test ebx, ebx
je 0x40cb77
push str.Wow64DisableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x29c], eax
test edi, edi
je 0x40cb8a
lea eax, [ebp - 0x26c]
push eax
call edi
mov dword [ebp - 0x298], eax
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x268]
push eax
call fcn.004f92b0
add esp, 0xc
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], 0xd640
call fcn.0040de4b
neg eax
sbb eax, eax
and eax, str.runas
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 1
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov dword [ebp - 0x274], edi
test edi, edi
je 0x40cc23
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x270]
mov dword [ecx], eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040cc4f
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c