Function at 0x41a704
Capabilities:
Create process on windows

Disassembly:
push 0x294
push 0x5417d0
call fcn.0049b8b0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x284], edx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x278], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a0], esi
xor edi, edi
mov ebx, edi
mov dword [ebp - 0x27c], ebx
mov dword [eax], edi
test edx, edx
je 0x41ab26
test ecx, ecx
je 0x41ab26
mov dword [ebp - 0x250], str.FirePhoenixSvc
mov dword [ebp - 0x24c], str.DesktopSvc
mov dword [ebp - 0x248], str.SpSvc
mov dword [ebp - 0x244], str.HpSvc
mov dword [ebp - 0x240], str.WpSvc
mov dword [ebp - 0x23c], str.QuickSeeSvc
mov dword [ebp - 0x238], str.BzySearchSvc
mov dword [ebp - 0x234], str.StoreSvc
mov dword [ebp - 0x230], str.WinoptSvc
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x270], edi
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0041a3c5
call fcn.004e57eb
mov dword [ebp - 0x2a4], eax
push 5
pop eax
dec eax
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x28c], 0
je 0x41a972
cmp dword [ebp - 0x270], 0
jne 0x41a972
mov eax, edi
mov dword [ebp - 0x274], edi
cmp eax, 9
jae 0x41a8fc
test ebx, ebx
jne 0x41a900
mov ebx, edi
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 4], edi
mov eax, dword [ebp + eax*4 - 0x250]
mov dword [ebp - 0x29c], eax
push eax
call fcn.0041b031
cmp eax, 4
jne 0x41a8be
push 0x210
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.004db850
add esp, 0xc
push 0x107
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x29c]
call fcn.0041af0f
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x26c], ebx
test ebx, ebx
je 0x41a8b8
push 0x512390
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a8b8
push dword [ebp - 0x278]
push dword [ebp - 0x288]
push dword [ebp - 0x284]
call eax
mov ebx, eax
mov dword [ebp - 0x27c], ebx
test ebx, ebx
jne 0x41a8b8
mov eax, dword [ebp - 0x278]
mov dword [eax], edi
mov ebx, dword [ebp - 0x26c]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041a8f0
mov eax, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x274], eax
mov ebx, dword [ebp - 0x27c]
jmp 0x41a803
test ebx, ebx
je 0x41a91c
test esi, esi
je 0x41a972
push 1
push 1
push 0x510674
push str.pkg_m_srv_suc
call fcn.0041b258
add esp, 0x10
jmp 0x41a972
test esi, esi
je 0x41a936
push 1
push 1
push 0x510674
push str.pkg_m_srv_fail
call fcn.0041b258
add esp, 0x10
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41a98d
call fcn.004e57eb
sub eax, dword [ebp - 0x2a4]
cmp eax, 0x1388
jg 0x41a972
mov eax, dword [ebp - 0x280]
test eax, eax
jle 0x41a972
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x280]
test eax, eax
jg 0x41a7da
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41a98d
test ebx, ebx
jne 0x41ab26
cmp dword [ebp + 0x1c], ebx
jne 0x41a98d
xor eax, eax
jmp 0x41ab28
test ebx, ebx
jne 0x41ab26
mov ebx, edi
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x270], edi
mov eax, edi
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x298], edi
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0
je 0x41a9d7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x290], ebx
test ebx, ebx
je 0x41a9ff
push str.Wow64DisableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x41aa18
lea ecx, [ebp - 0x270]
push ecx
call eax
mov dword [ebp - 0x294], eax
push 0x3c
push edi
lea eax, [ebp - 0x268]
push eax
call fcn.004db850
add esp, 0xc
mov dword [ebp - 0x268], 0x3c
mov dword [ebp - 0x264], 0xd640
call fcn.0041ad50
neg eax
sbb eax, eax
and eax, str.runas
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], 1
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x27c], eax
test eax, eax
jne 0x41aae0
push 0x208
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.004db850
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ex1_d
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x41ab1a
push 1
push 1
lea eax, [ebp - 0x224]
push eax
push str.pkg_m_sh_fail
call fcn.0041b258
add esp, 0x10
jmp 0x41ab1a
test esi, esi
je 0x41aafa
push 1
push 1
push 0x510674
push str.pkg_m_sh_suc
call fcn.0041b258
add esp, 0x10
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x278]
mov dword [ecx], eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041ab40
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c