Function at 0x4a8c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56021d
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.004b24d0
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4a8fe7
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 0x4a8c71
movzx eax, ax
push eax
call fcn.00415190
jmp 0x4a8c7d
push 0x19
push str._SystemFolder_msiexec.exe
call fcn.00408e70
mov dword [ebp - 4], 1
lea edx, [ebp - 0x10]
push 0
lea ecx, [ebp - 0x18]
call fcn.004b3e60
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 0x4a8cb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a8cf0
cmp byte [esi + 0x2a4], 0
jne 0x4a8cf0
cmp byte [esi + 0x2a5], 0
jne 0x4a8cf0
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [esi + 0x178]
push eax
push dword [ebp + 8]
call edx
mov ecx, 0x5de660
mov dword [esi + 0x14], eax
call fcn.004c8440
jmp 0x4a8fb1
cmp byte [0x5de650], 0
je 0x4a8d86
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4a8fe7
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.00418f60
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x4a8d5a
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 0x4a8d40
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00418f60
lea eax, [ebp - 0x10]
mov ecx, 0x5de618
push eax
call fcn.004c5b20
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 0x4a8d86
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
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
movzx ecx, byte [ebp - 0x1c]
test eax, eax
mov eax, dword [ebp + 8]
mov edx, 1
cmovne ecx, edx
mov byte [ebp - 0x1c], cl
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 0x4a8e4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1c], 0
je 0x4a8e48
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
movzx ecx, byte [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x1c], cl
mov byte [ebp + 0xb], 0
jmp 0x4a8e94
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 0x4a8e90
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
movzx ecx, byte [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x1c], cl
mov byte [ebp + 0xb], 1
cmp byte [0x5de650], 0
je 0x4a8f00
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4a8fe7
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.00418f60
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004b2d70
push eax
mov ecx, 0x5de618
call fcn.004c5b20
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 0x4a8f00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x5de660
call fcn.004c8440
cmp byte [ebp + 0xb], 0
jne 0x4a8fab
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4a8fe7
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 0x4a8f75
mov edx, 0x83
lea ecx, [ebp + 8]
call fcn.004bb060
mov byte [ebp - 4], 0x12
xor dl, dl
lea ecx, [ebp + 8]
call fcn.0049c7c0
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 0x4a8f7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a8f7f
xor dl, dl
lea ecx, [ebp - 0x10]
call fcn.0049c7c0
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 0x4a8fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 7
jmp 0x4a8fb3
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 0x4a8fd2
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.00408fc0
int3