Function at 0x4a8f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56070d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x184]
call fcn.004b27f0
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4a9316
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, str._SystemFolder_msiexec.exe
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x4a8fa1
movzx eax, ax
push eax
call fcn.00415200
jmp 0x4a8fad
push 0x19
push str._SystemFolder_msiexec.exe
call fcn.00408e90
mov dword [ebp - 4], 1
lea edx, [ebp - 0x10]
push 0
lea ecx, [ebp - 0x18]
call fcn.004b4150
add esp, 4
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8fe5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a9020
cmp byte [esi + 0x2a4], 0
jne 0x4a9020
cmp byte [esi + 0x2a5], 0
jne 0x4a9020
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [esi + 0x178]
push eax
push dword [ebp + 8]
call edx
mov ecx, 0x5de694
mov dword [esi + 0x14], eax
call fcn.004c8200
jmp 0x4a92e0
cmp byte [0x5de684], 0
je 0x4a90b6
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4a9316
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
push 0x28
push str.Launching_msiexec.exe_with_command_line:
call fcn.00418fd0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x4a908a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9070
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00418fd0
lea eax, [ebp - 0x10]
mov ecx, 0x5de64c
push eax
call fcn.004c58e0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a90b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0x44
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 0xa
call fcn.004cab30
mov eax, dword [0x5de4cc]
test eax, eax
je 0x4a9113
lea ecx, [ebp - 0x20]
push ecx
call eax
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [eax]
cmp dword [eax - 0xc], ecx
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp dword [eax - 0xc], edx
cmove eax, edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x74]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4a917c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1c], 0
je 0x4a9176
call fcn.004cab30
mov eax, dword [0x5de4d0]
test eax, eax
je 0x4a9176
lea ecx, [ebp - 0x20]
push ecx
call eax
mov byte [ebp - 0x1c], 0
mov byte [ebp + 0xb], 0
jmp 0x4a91c3
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1c], 0
je 0x4a91bf
call fcn.004cab30
mov eax, dword [0x5de4d0]
test eax, eax
je 0x4a91bf
lea ecx, [ebp - 0x20]
push ecx
call eax
mov byte [ebp - 0x1c], 0
mov byte [ebp + 0xb], 1
cmp byte [0x5de684], 0
je 0x4a922f
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4a9316
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10]
push 0x1b
push str.Return_code_of_msiexec.exe:
call fcn.00418fd0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004b3080
push eax
mov ecx, 0x5de64c
call fcn.004c58e0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a922f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5de694
call fcn.004c8200
cmp byte [ebp + 0xb], 0
jne 0x4a92da
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4a9316
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x11
cmp dword [eax - 0xc], 0
jne 0x4a92a4
mov edx, 0x83
lea ecx, [ebp + 8]
call fcn.004bb250
mov byte [ebp - 4], 0x12
xor dl, dl
lea ecx, [ebp + 8]
call fcn.0049c940
mov byte [ebp - 4], 0x11
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a92ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a92ae
xor dl, dl
lea ecx, [ebp - 0x10]
call fcn.0049c940
mov dword [esi + 0x14], 1
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a92d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 7
jmp 0x4a92e2
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4a9301
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408fe0
int3