Function at 0x40a963
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x45a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0xc8]
push edi
call fcn.0041b190
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], eax
call fcn.0041f106
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041f59c
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push 0xf
pop ebx
push 0xc
push str.run_as_admin
mov dword [ebp - 8], ebx
mov byte [ebp - 0x1c], 0
call fcn.0040256f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041f155
lea ecx, [ebp - 0x1c]
call fcn.00402525
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push 0x1b
push str.parent_installer_process_id
mov dword [ebp - 8], ebx
mov byte [ebp - 0x1c], 0
call fcn.0040256f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.0041a4a0
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041f19b
lea ecx, [ebp - 0x9c]
call fcn.00402525
lea ecx, [ebp - 0x1c]
call fcn.00402525
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x38], edi
push str.fake_browser_arc
mov word [ebp - 0x4c], ax
call fcn.004067a8
push 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00408f9e
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], ebx
xor ebx, ebx
push 0xe
push str.setup_cmd_line
mov byte [ebp - 0x1c], bl
call fcn.0040256f
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0041f3df
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041f1e0
lea ecx, [ebp - 0x9c]
call fcn.00402499
lea ecx, [ebp - 0x1c]
call fcn.00402525
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x24], ebx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], ebx
call fcn.004043eb
xor eax, eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x6c]
mov dword [ebp - 8], edi
push eax
call fcn.0041ebf9
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00402499
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041f3df
push 0x38
lea eax, [ebp - 0x100]
push ebx
push eax
call fcn.00429740
add esp, 0xc
mov dword [ebp - 0x104], 0x3c
mov dword [ebp - 0x100], 0x40
call fcn.004203bf
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push 5
pop edi
push 0x1c
mov dword [ebp - 0xf8], str.runas
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe8], edi
call fcn.0042769c
pop ecx
mov ecx, eax
call fcn.0040a446
mov ecx, dword [esi + 0x100]
mov dword [esi + 0x100], eax
test ecx, ecx
je 0x40ab7b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esi + 0x100]
test eax, eax
setne bl
test eax, eax
je 0x40aba9
push dword [ebp - 0xfc]
mov eax, dword [ecx]
push dword [ebp - 0xcc]
call dword [eax]
jmp 0x40abd6
and dword [esi + 0x100], 0
test ecx, ecx
je 0x40abbb
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp dword [ebp - 0xe4], edi
push dword [ebp - 0xfc]
sete al
mov byte [esi + 0x104], al
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0xc8]
call fcn.0041b190
mov ecx, dword [eax]
mov dword [esi + 0xc0], ecx
lea ecx, [ebp - 0x84]
mov eax, dword [eax + 4]
mov dword [esi + 0xc4], eax
call fcn.00402499
lea ecx, [ebp - 0x34]
call fcn.00402499
lea ecx, [ebp - 0xbc]
call fcn.0041f589
lea ecx, [ebp - 0x4c]
call fcn.00402499
lea ecx, [ebp - 0x6c]
call fcn.0041f589
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427412
mov esp, ebp
pop ebp
ret