Function at 0x40b7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x518878
push 0x4b1520
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x524a60]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x258], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x25c], eax
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x250], esi
xor edi, edi
mov dword [ebp - 0x254], edi
mov dword [esi], edi
test ecx, ecx
je 0x40baba
test eax, eax
je 0x40baba
mov dword [ebp - 0x248], str.HpSvc
mov dword [ebp - 0x244], str.WpSvc
mov dword [ebp - 0x240], str.TmSvc
mov dword [ebp - 0x23c], str.SpSvc
mov dword [ebp - 0x238], str.CmSvc
mov dword [ebp - 0x234], str.AndSpSvc
mov dword [ebp - 0x230], str.MYNovelSvc
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x264], edi
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0040bef0
xor ebx, ebx
mov dword [ebp - 0x24c], ebx
cmp ebx, 7
jae 0x40b99b
test edi, edi
jne 0x40baba
cmp dword [ebp - 0x260], edi
je 0x40b99b
cmp dword [ebp - 0x264], edi
jne 0x40b99b
xor esi, esi
mov dword [ebp - 0x268], esi
mov dword [ebp - 4], esi
push dword [ebp + ebx*4 - 0x248]
call fcn.0040e050
cmp eax, 4
jne 0x40b96b
push 0x210
push esi
lea eax, [ebp - 0x22c]
push eax
call fcn.004b1030
add esp, 0xc
push 0x107
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + ebx*4 - 0x248]
call fcn.0040def0
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x268], esi
test esi, esi
je 0x40b96b
push 0x4ecbb4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b96b
push dword [ebp - 0x250]
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
call eax
mov edi, eax
mov dword [ebp - 0x254], edi
test edi, edi
jne 0x40b96b
mov eax, dword [ebp - 0x250]
mov dword [eax], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0040b98f
inc ebx
jmp 0x40b8a2
test edi, edi
jne 0x40baba
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x24c], edi
xor ebx, ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 4], 1
push 0x4eaa04
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x26c], esi
test esi, esi
je 0x40b9fb
push str.Wow64DisableWow64FsRedirection
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebx
mov edi, eax
push str.Wow64RevertWow64FsRedirection
push esi
call ebx
mov ebx, eax
mov dword [ebp - 0x270], ebx
test edi, edi
je 0x40ba0e
lea eax, [ebp - 0x24c]
push eax
call edi
mov dword [ebp - 0x274], eax
push 0x3c
push 0
lea eax, [ebp - 0x2b0]
push eax
call fcn.004b1030
add esp, 0xc
mov dword [ebp - 0x2b0], 0x3c
mov dword [ebp - 0x2ac], 0xc240
call fcn.0040dca0
neg eax
sbb eax, eax
and eax, str.runas
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 1
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov dword [ebp - 0x254], edi
test edi, edi
je 0x40baae
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x250]
mov dword [ecx], eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040baec
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a1588
mov esp, ebp
pop ebp
ret 0x14