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

Disassembly:
push 0x34
mov eax, 0x5179c2
call fcn.004db733
mov edi, ecx
xor ebx, ebx
lea ecx, [edi + 0x1c]
push 3
mov byte [ebp - 0xd], bl
call fcn.0049b6c5
mov ecx, edi
mov esi, eax
call fcn.00490401
mov ecx, eax
test esi, esi
je 0x48d68b
push dword [ecx]
add esi, 4
mov ecx, esi
call fcn.00407037
test eax, eax
jne 0x48d600
mov ecx, edi
call fcn.0048fb92
jmp 0x48dbfb
lea ecx, [edi + 0x30]
push esi
call fcn.00491caf
mov ecx, esi
call fcn.00496e53
mov ecx, edi
call fcn.00490401
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.0040d92c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea ecx, [edi + 0x130]
call fcn.0048c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040d148
mov edx, dword [esi]
lea eax, [edi + 4]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x18], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48d685
cmp dword [ecx + 0xc], ebx
jl 0x48d67a
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48d677
mov ecx, esi
call fcn.004070e1
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov dword [edi + 4], eax
jmp 0x48d685
lea eax, [edi + 4]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.0040d8ae
mov byte [ebp - 0xd], 1
jmp 0x48d694
push ecx
lea ecx, [edi + 0x30]
call fcn.00491caf
mov edx, dword [edi + 0x28]
lea eax, [edi + 0xa4]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x18], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48d6e4
cmp dword [ecx + 0xc], ebx
jl 0x48d6d9
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48d6d3
mov ecx, esi
call fcn.004070e1
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov dword [edi + 0xa4], eax
jmp 0x48d6e4
lea eax, [edi + 0xa4]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.0040d8ae
cmp byte [0x57f574], 0
je 0x48d7be
lea ecx, [ebp - 0x18]
call fcn.0040ce82
mov esi, str.Full_command_line:
mov dword [ebp - 4], 1
push esi
call fcn.004e0c26
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00410f3f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x48d733
push esi
call fcn.004e0c26
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00410f3f
lea eax, [ebp - 0x18]
mov ecx, 0x57f540
push eax
call fcn.004a1ec6
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.0040d148
or dword [ebp - 4], 0xffffffff
cmp byte [0x57f574], 0
je 0x48d7be
lea ecx, [ebp - 0x18]
call fcn.0040ce82
mov dword [ebp - 4], 3
mov esi, dword [edi + 0x28]
push str.Command_line_to_pass_to_MSI:
call fcn.004e0c26
pop ecx
push eax
push str.Command_line_to_pass_to_MSI:
lea ecx, [ebp - 0x18]
call fcn.00410f3f
test esi, esi
je 0x48d79d
push esi
call fcn.004e0c26
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00410f3f
lea eax, [ebp - 0x18]
mov ecx, 0x57f540
push eax
call fcn.004a1ec6
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
call fcn.0040d148
or dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x90]
lea ecx, [edi + 0x178]
push esi
call fcn.0049609c
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00478b50
mov dword [ebp - 4], 5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040d148
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.0049200c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x48d840
lea ecx, [edi + 0x104]
push ecx
lea ecx, [ebp + 8]
call fcn.0040713a
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 6
push ecx
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004903c8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d148
lea eax, [ebx + 1]
jmp 0x48dbfb
mov dword [ebp - 0x40], 0x54491c
mov dword [edi + 0x264], esi
mov dword [ebp - 0x40], 0x544a74
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 7
test byte [edi + 0x74], 2
je 0x48d922
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0048dc3e
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [edi + 0x1f4]
call fcn.0048818d
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [ebp - 0x18], esp
mov esi, esp
call dword [eax + 0x24]
push eax
mov ecx, esi
call fcn.0040713a
mov byte [ebp - 4], 8
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 7
call fcn.00491e0d
lea ecx, [edi + 0x1f4]
call fcn.00487dbd
push eax
lea ecx, [edi + 0x30]
call fcn.004949bc
mov edx, dword [edi + 0x250]
lea eax, [edi + 0x10c]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x18], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48d914
cmp dword [ecx + 0xc], ebx
jl 0x48d909
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48d903
mov ecx, esi
call fcn.004070e1
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov dword [edi + 0x10c], eax
jmp 0x48d914
lea eax, [edi + 0x10c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.0040d8ae
lea eax, [edi + 0x23c]
mov ecx, edi
push eax
call fcn.0048fa6f
push 6
lea ecx, [edi + 0x1c]
call fcn.0049b6c5
mov esi, eax
test esi, esi
je 0x48d941
push 1
lea ecx, [edi + 0x1f4]
call fcn.00487c3b
jmp 0x48d97d
push 7
lea ecx, [edi + 0x1c]
call fcn.0049b6c5
mov esi, eax
test esi, esi
je 0x48d955
push 1
jmp 0x48d972
push 8
lea ecx, [edi + 0x1c]
call fcn.0049b6c5
mov esi, eax
test esi, esi
je 0x48d97d
push ebx
lea ecx, [edi + 0x1f4]
call fcn.00487c3b
push ebx
lea ecx, [edi + 0x1f4]
call fcn.00487d0d
cmp byte [ebp + 8], 0
je 0x48d992
mov dword [edi + 0xc0], 3
jmp 0x48dbe6
lea ecx, [edi + 0x1f4]
call fcn.00487c0b
test al, al
mov byte [edi + 0x1e8], al
mov ecx, edi
sete byte [0x57cb1c]
call fcn.0048dc84
push str.Advinst_
lea ecx, [ebp - 0x24]
call fcn.0040d92c
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x30]
call fcn.004920df
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00410f3f
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.0040d148
push dword [ebp - 0x24]
call fcn.0049bff9
test esi, esi
jne 0x48da1b
cmp byte [0x57f52c], 0
je 0x48da1b
mov dl, 1
mov dword [edi + 0xc0], 3
mov ecx, 0xcc
call fcn.00489116
jmp 0x48da86
mov ecx, edi
call fcn.0048edb6
push ecx
push ebx
mov esi, 0xdc
lea ecx, [edi + 0x178]
push esi
call fcn.004961a6
test byte [edi + 0x74], 2
je 0x48da51
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x542298
push eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0048e24d
mov ecx, edi
call fcn.0048dd7a
test al, al
jne 0x48dbda
test byte [edi + 0x74], 4
je 0x48da8e
push 0x8a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x5422a0
push eax
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.0048e24d
cmp byte [ebp - 0x18], 0
je 0x48da8e
xor ebx, ebx
inc ebx
jmp 0x48dbda
mov ecx, edi
call fcn.0048df2d
cmp byte [ebp - 0xd], 0
jne 0x48dab4
mov ecx, edi
call fcn.0048faf6
test al, al
je 0x48dab4
mov ecx, edi
call fcn.0048fb92
mov ebx, eax
jmp 0x48dbda
mov ecx, edi
call fcn.0048df89
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040713a
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x48db7a
mov edx, dword [edi + 0x204]
lea ecx, [eax - 0x10]
mov dword [ebp + 8], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48db1b
cmp dword [ecx + 0xc], ebx
jl 0x48db0f
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48db0f
mov ecx, esi
call fcn.004070e1
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x48db1b
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0040d8ae
push ebx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00496ae9
pop ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp + 8], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x48db6e
cmp dword [ecx + 0xc], ebx
jl 0x48db62
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x48db62
mov ecx, esi
call fcn.004070e1
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.0040d645
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x48db6e
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0040d8ae
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
call fcn.0040d148
lea ecx, [edi + 0x184]
call fcn.00495e42
mov eax, dword [edi + 0x22c]
mov ecx, edi
mov dword [edi + 0xc0], eax
mov al, byte [edi + 0x230]
mov byte [edi + 0xc4], al
lea eax, [ebp - 0x14]
push eax
call fcn.0048e28e
mov ecx, edi
mov ebx, eax
call fcn.00490c55
lea eax, [edi + 0x30]
mov dword [ebp - 0x30], 0x542290
mov dword [ebp - 0x2c], eax
mov ecx, edi
push 0x10a
lea eax, [ebp - 0x30]
push eax
call fcn.0048e24d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040d148
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0040d148
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0x21
call fcn.00491633
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.004db6fc
ret 4