Function at 0x482f2e
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push 0x30
mov eax, 0x506bb5
call fcn.004cc273
mov edi, ecx
xor ebx, ebx
lea ecx, [edi + 0x20]
push 3
mov byte [ebp - 0xd], bl
call fcn.0048ed7d
mov ecx, edi
mov esi, eax
call fcn.004857ff
test esi, esi
je 0x482ff7
push dword [eax]
lea ecx, [esi + 4]
call fcn.00447dcd
test eax, eax
jne 0x482f76
mov ecx, edi
call fcn.00484db0
jmp 0x483474
mov eax, esi
lea ecx, [edi + 0x30]
add eax, 4
push eax
call fcn.00487198
add esi, 4
lea ecx, [ebp - 0x18]
mov edx, esi
call fcn.00473740
push eax
mov ecx, 0x56f630
mov dword [ebp - 4], ebx
call fcn.00446083
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004068bc
mov ecx, 0x56f630
call fcn.00473210
mov ecx, edi
call fcn.004857ff
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.00409a3c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x130]
call fcn.00482964
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004068bc
push esi
lea ecx, [edi + 4]
call fcn.00446083
mov byte [ebp - 0xd], 1
jmp 0x483000
push eax
lea ecx, [edi + 0x30]
call fcn.00487198
lea esi, [edi + 0x2c]
push esi
lea ecx, [edi + 0xa4]
call fcn.00446083
cmp byte [0x56f62c], 0
je 0x4830b3
lea ecx, [ebp - 0x18]
call fcn.00406bcb
push str.Full_command_line:
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.0040706a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048ada7
push eax
mov ecx, 0x56f5fc
call fcn.0049190a
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.004068bc
or dword [ebp - 4], 0xffffffff
cmp byte [0x56f62c], 0
je 0x4830b3
lea ecx, [ebp - 0x18]
call fcn.00406bcb
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x18]
mov esi, dword [esi]
push str.Command_line_to_pass_to_MSI:
call fcn.0040706a
push esi
lea ecx, [ebp - 0x18]
call fcn.0048ada7
push eax
mov ecx, 0x56f5fc
call fcn.0049190a
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 5
call fcn.004068bc
or dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x90]
lea ecx, [edi + 0x174]
push esi
call fcn.00446083
push 1
lea ecx, [edi + 0x174]
call fcn.0048aaf3
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00473740
mov dword [ebp - 4], 6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004068bc
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.004873f6
mov dword [ebp - 0x18], eax
test eax, eax
je 0x483139
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0048762f
push eax
mov dword [ebp - 4], 7
mov ecx, edi
push dword [ebp - 0x18]
call fcn.004857c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004068bc
xor eax, eax
inc eax
jmp 0x483474
mov dword [edi + 0x2c0], esi
mov dword [ebp - 4], 8
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], 0x52f6d0
mov dword [ebp - 0x3c], 0x5318fc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 9
test byte [edi + 0x74], 2
je 0x4831e8
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.004834c3
lea eax, [edi + 0x1f0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0048bd51
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x240]
call fcn.0047eb11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00407175
mov byte [ebp - 4], 0xa
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00487251
mov ecx, edi
call fcn.0048653d
push eax
mov ecx, esi
call fcn.00489567
lea eax, [edi + 0x238]
push eax
lea ecx, [edi + 0x10c]
call fcn.00446083
lea eax, [edi + 0x224]
mov ecx, edi
push eax
call fcn.00484cb7
push 6
lea ecx, [edi + 0x20]
call fcn.0048ed7d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x483204
push 1
mov ecx, edi
call fcn.004861a5
jmp 0x48323a
push 7
lea ecx, [edi + 0x20]
call fcn.0048ed7d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x483219
push 1
jmp 0x483233
push 8
lea ecx, [edi + 0x20]
call fcn.0048ed7d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x48323a
push ebx
mov ecx, edi
call fcn.004861a5
push ebx
mov ecx, edi
call fcn.0048627d
cmp byte [ebp + 8], 0
je 0x48324f
mov dword [edi + 0xc0], 3
jmp 0x483454
mov ecx, edi
call fcn.00486173
test al, al
mov byte [edi + 0x1e4], al
mov ecx, edi
sete byte [0x5699cc]
call fcn.00483509
push str.Advinst_
lea ecx, [ebp - 0x24]
call fcn.00409a3c
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.004874c6
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00407092
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.004068bc
push dword [ebp - 0x24]
call fcn.00490540
cmp dword [ebp - 0x18], 0
jne 0x4832d8
cmp byte [0x56f5e8], 0
je 0x4832d8
mov dl, 1
mov dword [edi + 0xc0], 3
mov ecx, 0xcc
call fcn.0047f8c3
jmp 0x48336f
push ecx
push ebx
push 0xdc
lea ecx, [edi + 0x174]
call fcn.0048ab77
test byte [edi + 0x74], 2
je 0x483319
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x52f6b8
mov ecx, edi
push 0xdc
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - 0x1c], 0x52f6c0
mov dword [ebp - 0x18], edi
call fcn.00483a9e
mov ecx, edi
call fcn.004835c8
test al, al
jne 0x483448
test byte [edi + 0x74], 4
je 0x48335d
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x52f6b8
mov ecx, edi
push 0x8a
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - 0x20], 0x52f6b0
mov dword [ebp - 0x1c], edi
call fcn.00483a9e
cmp byte [ebp - 0x18], 0
jne 0x48336f
lea eax, [edi + 0x240]
mov ecx, edi
push eax
call fcn.00484ee6
test al, al
je 0x483377
xor ebx, ebx
inc ebx
jmp 0x483448
mov ecx, edi
call fcn.00483802
cmp byte [ebp - 0xd], 0
jne 0x48339d
mov ecx, edi
call fcn.00484d04
test al, al
je 0x48339d
mov ecx, edi
call fcn.00484db0
mov ebx, eax
jmp 0x483448
mov ecx, edi
call fcn.0048420f
mov ecx, edi
call fcn.00483848
lea eax, [edi + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407175
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4833ed
push ebx
lea edx, [edi + 0x1f0]
lea ecx, [ebp + 8]
call fcn.0048b3ca
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x28
call fcn.00446083
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x27
call fcn.004068bc
lea ecx, [edi + 0x180]
call fcn.0048a97d
lea eax, [edi + 0x240]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00483ae3
mov ecx, edi
mov ebx, eax
call fcn.00486037
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x52f6b8
mov ecx, edi
push 0x10a
mov byte [ebp - 4], 0x27
push eax
mov dword [ebp - 0x2c], 0x52f6a8
mov dword [ebp - 0x28], esi
call fcn.00483a9e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.004068bc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.004068bc
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0x30
call fcn.00486c30
mov byte [ebp - 4], 0x31
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], 0x52f6d0
call fcn.004cc23c
ret 4