Function at 0x48d00f
Capabilities:
Create process on windows

Disassembly:
push 0x394
mov eax, 0x4c9038
call fcn.004a1297
mov edi, ecx
lea ebx, [edi + 0xc4]
mov eax, dword [ebx]
mov esi, dword [eax + 0xf0]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [ebp - 0x200], edi
mov dword [ebp - 0x1fc], eax
cmp eax, ecx
jbe 0x48d04b
call fcn.0049c5c2
mov eax, dword [ebx]
push dword [eax + 0xf8]
mov esi, dword [esi]
push dword [eax + 0xf4]
lea eax, [ebp - 0x60]
push dword [ebp - 0x1fc]
push esi
push eax
call fcn.0048f749
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 0xc]
mov esi, eax
mov eax, ecx
mov dword [ebp - 0x204], ecx
call fcn.00404bd6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.00404132
call fcn.0048dd0a
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [ebp - 0x250]
push eax
call fcn.004040fa
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
push eax
call fcn.004040fa
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x204]
push esi
call fcn.0048ecdf
mov dword [ebp - 0x1fc], eax
cmp eax, 0xffffffff
je 0x48d1fd
mov ebx, dword [esi + 0xc]
mov edi, esi
lea esi, [ebp - 0x210]
call fcn.0047f45e
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x218]
call fcn.0047f45e
push 1
push dword [ebp - 0x1fc]
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x210]
call fcn.004056db
lea esi, [ebp - 0x238]
call fcn.004056db
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push eax
call fcn.0048f78e
mov byte [ebp - 4], 3
mov esi, eax
lea eax, [ebp - 0x230]
call fcn.00404bd6
mov byte [ebp - 4], 2
lea eax, [ebp - 0x7c]
push eax
call fcn.00404132
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x218]
call fcn.0047f45e
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x210]
call fcn.0047f45e
push 1
push dword [ebp - 0x1fc]
lea esi, [ebp - 0x238]
lea eax, [ebp - 0x210]
call fcn.004056db
lea esi, [ebp - 0x50]
call fcn.004056db
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.0048f78e
mov byte [ebp - 4], 4
mov esi, eax
lea eax, [ebp - 0x250]
call fcn.00404bd6
mov byte [ebp - 4], 2
lea eax, [ebp - 0x7c]
push eax
call fcn.00404132
push str.AI_MORE_CMD_LINE1
lea ecx, [ebp - 0x48]
call fcn.004021b7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x230]
call fcn.00405785
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401800
xor ebx, ebx
jmp 0x48d208
lea eax, [ebp - 0x230]
call fcn.00404bd6
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x48d73a
mov edi, dword [ebp - 0x200]
call fcn.0048ef72
test al, al
je 0x48d73a
push str.AI_AppSearchEx
lea esi, [edi + 0xb8]
push dword [esi]
call sub.msi.dll_MsiEnumComponentQualifiersA
cmp eax, ebx
jne 0x48d25b
push str.AI_VerifyPrereq
push dword [esi]
call sub.msi.dll_MsiEnumComponentQualifiersA
cmp eax, ebx
je 0x48d285
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
push eax
call fcn.00404132
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x250]
push eax
call fcn.00404132
mov eax, edi
call fcn.004a131a
ret
mov esi, 0x4d223c
push esi
lea ecx, [ebp - 0x2c]
call fcn.004021b7
mov byte [ebp - 4], 6
push str.InstallMessage
lea ecx, [ebp - 0x48]
call fcn.004021b7
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x314]
push edx
call dword [eax + 0x28]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0xbbb
lea eax, [ebp - 0x1f8]
push eax
call fcn.0047abd5
mov byte [ebp - 4], 0xa
push ebx
push 1
lea ecx, [ebp - 0x314]
call fcn.00401800
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401800
mov byte [ebp - 4], 0xc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov ecx, dword [edi + 0xcc]
mov eax, dword [ecx]
lea edx, [ebp - 0x1f8]
push edx
call dword [eax + 8]
push 0x4d1f64
lea ecx, [ebp - 0x48]
call fcn.004021b7
mov byte [ebp - 4], 0xd
push str.FASTOEM
lea ecx, [ebp - 0x2c]
call fcn.004021b7
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x138d
lea eax, [ebp - 0x2f8]
push eax
call fcn.0047abd5
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 0xcc]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2f8]
push eax
call fcn.004022bc
mov byte [ebp - 4], 0xd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov byte [ebp - 4], 0xc
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401800
push esi
lea ecx, [ebp - 0x48]
call fcn.004021b7
mov byte [ebp - 4], 0x10
push esi
lea ecx, [ebp - 0x2c]
call fcn.004021b7
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x139c
lea eax, [ebp - 0x1a8]
push eax
call fcn.0047abd5
mov byte [ebp - 4], 0x13
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov byte [ebp - 4], 0x14
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401800
mov ecx, dword [edi + 0xcc]
lea edx, [ebp - 0x1a8]
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 8]
lea esi, [ebp - 0x80]
call fcn.0044bcd0
mov byte [ebp - 4], 0x15
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [edi + 0xc8]
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x20c], edx
call dword [eax + 0x50]
test ax, ax
mov eax, str.AiProductCode
je 0x48d441
mov eax, str.AiProductCode64
push eax
lea ecx, [ebp - 0xb8]
call fcn.004021b7
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x230]
call fcn.004522e0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
mov dword [esp], 0x4da63c
call fcn.004021b7
mov byte [ebp - 4], 0x18
mov edi, dword [edi + 0xc8]
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, edi
call dword [eax]
mov edi, eax
mov byte [ebp - 4], 0x19
push dword [ebp - 0x20c]
push esi
lea esi, [ebp - 0x368]
call fcn.0043f560
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x330]
push str._ARPSIZE
push eax
call fcn.00404ac1
add esp, 0x14
mov byte [ebp - 4], 0x1b
push 0x4d988c
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.00404a1f
add esp, 0xc
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb8]
push ecx
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.00404a6e
add esp, 0xc
mov byte [ebp - 4], 0x1d
push 0x4d9840
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.00404a1f
add esp, 0xc
mov byte [ebp - 4], 0x1e
push edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404a6e
add esp, 0xc
mov byte [ebp - 4], 0x1f
push str._FASTOEM1__qn
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a1f
add esp, 0xc
mov byte [ebp - 4], 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
call fcn.00405d6a
mov byte [ebp - 4], 0x1f
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x314]
call fcn.00401800
mov byte [ebp - 4], 0x1e
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00401800
mov byte [ebp - 4], 0x1d
push ebx
push esi
lea ecx, [ebp - 0x3a0]
call fcn.00401800
mov byte [ebp - 4], 0x1c
push ebx
push esi
lea ecx, [ebp - 0x34c]
call fcn.00401800
mov byte [ebp - 4], 0x1b
push ebx
push esi
lea ecx, [ebp - 0x384]
call fcn.00401800
mov byte [ebp - 4], 0x1a
push ebx
push esi
lea ecx, [ebp - 0x330]
call fcn.00401800
mov byte [ebp - 4], 0x19
push ebx
push esi
lea ecx, [ebp - 0x368]
call fcn.00401800
mov byte [ebp - 4], 0x18
push ebx
push esi
lea ecx, [ebp - 0x26c]
call fcn.00401800
mov byte [ebp - 4], 0x17
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401800
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x2a8]
push ebx
push eax
call fcn.0049cb00
add esp, 0xc
mov dword [ebp - 0x2a8], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x2a4], 0x540
call fcn.0043eb20
movzx eax, al
neg eax
sbb eax, eax
and eax, str.runas
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x7c]
jae 0x48d630
lea eax, [ebp - 0x7c]
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x290], ebx
call fcn.004040d2
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2a8]
push eax
mov dword [ebp - 0x28c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x270], ebx
je 0x48d6e4
push 0xffffffffffffffff
push dword [ebp - 0x270]
mov dword [ebp - 0x1fc], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1fc]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [ebp - 0x1fc]
mov byte [ebp - 4], 0x16
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00401800
mov byte [ebp - 4], 0x15
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00401800
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x80]
push eax
call fcn.00413210
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1a8]
push eax
call fcn.004022bc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1f8]
push eax
call fcn.004022bc
jmp 0x48d25d
mov byte [ebp - 4], 0x16
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00401800
mov byte [ebp - 4], 0x15
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00401800
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x80]
push eax
call fcn.00413210
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1a8]
push eax
call fcn.004022bc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1f8]
push eax
call fcn.004022bc
mov edi, 0x642
jmp 0x48d25d
lea eax, [ebp - 0x158]
push eax
call fcn.0048638a
mov byte [ebp - 4], 0x21
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x26c]
call fcn.0043f4a0
mov byte [ebp - 4], 0x22
push eax
mov cl, 1
lea esi, [ebp - 0x158]
call fcn.004863d9
mov byte [ebp - 4], 0x21
push ebx
push 1
lea ecx, [ebp - 0x26c]
call fcn.00401800
lea esi, [ebp - 0x9c]
call fcn.0044bcd0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x200]
call fcn.0048e6fc
test al, al
je 0x48d889
call fcn.0043eb20
test al, al
je 0x48d889
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x230]
call fcn.004522e0
pop ecx
mov byte [ebp - 4], 0x26
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x2e8]
push ebx
push eax
call fcn.0049cb00
add esp, 0xc
mov dword [ebp - 0x2e8], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2e4], 0x500
mov dword [ebp - 0x2dc], str.runas
jae 0x48d813
lea eax, [ebp - 0x98]
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d0], ebx
call fcn.004040d2
mov dword [ebp - 0x2d4], eax
xor esi, esi
lea eax, [ebp - 0x2e8]
inc esi
push eax
mov dword [ebp - 0x2cc], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, ebx
jne 0x48d87b
mov byte [ebp - 4], 0x23
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00401800
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x9c]
push eax
call fcn.00413210
mov byte [ebp - 4], 2
lea eax, [ebp - 0x158]
push eax
call fcn.00486495
jmp 0x48d730
mov byte [ebp - 4], 0x23
push ebx
push esi
lea ecx, [ebp - 0x48]
jmp 0x48d959
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x1fc], eax
cmp eax, dword [ebp - 0x220]
jbe 0x48d8a2
call fcn.0049c5c2
mov edi, dword [ebp - 0x230]
lea esi, [ebp - 0x26c]
call fcn.0044bcd0
mov byte [ebp - 4], 0x24
push dword [ebp - 0x1fc]
push edi
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x230]
call fcn.00405709
mov byte [ebp - 4], 0x23
mov eax, esi
push eax
call fcn.00413210
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x230]
call fcn.004522e0
pop ecx
mov byte [ebp - 4], 0x25
push 0x40
lea eax, [ebp - 0x2ec]
push ebx
push eax
mov dword [ebp - 0x2f0], 0x44
call fcn.0049cb00
mov esi, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp - 0x84], 8
stosd dword es:[edi], eax
jae 0x48d92d
lea esi, [ebp - 0x98]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2f0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004040d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 0x23
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x48d9df
push ebx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa0], 7
call fcn.00401886
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x250]
call fcn.004522e0
pop ecx
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0xb8]
push eax
lea edi, [ebp - 0x158]
call fcn.004865ab
lea eax, [ebp - 0x2c]
mov esi, edi
call fcn.004867ce
mov byte [ebp - 4], 0x27
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov byte [ebp - 4], 0x23
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.00401800
push 7
pop esi
push ebx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0xd8], esi
call fcn.00401886
mov byte [ebp - 4], 0x29
push ebx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xbc], esi
call fcn.00401886
mov byte [ebp - 4], 0x2a
jmp 0x48dac8
lea esi, [ebp - 0x158]
call fcn.004867ff
lea eax, [ebp - 0xd4]
push eax
mov edi, esi
call fcn.004865ab
test al, al
jne 0x48dae2
lea eax, [ebp - 0xf0]
call fcn.0043f650
mov ecx, eax
and ecx, 0xff000000
cmp ecx, 0xd000000
je 0x48daac
cmp dword [ebp - 0xbc], 8
mov edx, dword [ebp - 0xd0]
jae 0x48da6a
lea edx, [ebp - 0xd0]
mov ecx, dword [ebp - 0x200]
mov ecx, dword [ecx + 0xd0]
mov esi, dword [ecx]
push edx
push eax
call dword [esi]
mov ecx, eax
lea esi, [ebp - 0x26c]
call fcn.0043f4a0
mov byte [ebp - 4], 0x2b
lea esi, [ebp - 0x158]
call fcn.004867ce
mov byte [ebp - 4], 0x2a
push ebx
push 1
lea ecx, [ebp - 0x26c]
call fcn.00401800
jmp 0x48dac8
lea eax, [ebp - 0xd4]
call fcn.0043f650
lea esi, [ebp - 0x158]
mov dword [ebp - 0x1fc], eax
call fcn.004867ff
lea eax, [ebp - 0xf0]
push eax
lea edi, [ebp - 0x158]
call fcn.004865ab
test al, al
je 0x48da19
mov byte [ebp - 4], 0x29
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.00401800
mov byte [ebp - 4], 0x23
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.00401800
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x9c]
push eax
call fcn.00413210
mov byte [ebp - 4], 2
lea eax, [ebp - 0x158]
push eax
call fcn.00486495
mov edi, dword [ebp - 0x1fc]
jmp 0x48d25d