Function at 0x49eef0
Capabilities:
Accept command line arguments
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db9b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov esi, ecx
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x54], 0
push edx
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x14], eax
mov edx, dword [ecx]
mov ecx, dword [0x51584c]
cmp ecx, dword [edx + 4]
jle 0x49f05f
push 0x51584c
call fcn.0049fdce
add esp, 4
cmp dword [0x51584c], 0xffffffff
jne 0x49f05f
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
push 4
xor eax, eax
mov dword [ebp - 0xb4], 7
push str._LOG
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
call fcn.0049f900
mov dword [ebp - 0xb0], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
push 9
xor eax, eax
mov dword [ebp - 0x98], 7
push str._ASSEMBLY
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
call fcn.0049f900
mov dword [ebp - 0x94], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
push 8
xor eax, eax
mov dword [ebp - 0x7c], 7
push str._SERVICE
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
call fcn.0049f900
mov dword [ebp - 0x78], 3
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
push eax
push ecx
call fcn.0049e2b0
push fcn.0049eeb0
push 3
push 0x1c
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push eax
call fcn.004a0148
push 0x4dcbd0
call fcn.004a0133
add esp, 4
push 0x51584c
call fcn.0049fd8f
add esp, 4
lea edi, [esi + 8]
mov byte [esi], 0
mov dword [esi + 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x49f084
mov eax, dword [edi]
jmp 0x49f086
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x20]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x58], eax
jb 0x49f0a3
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
xor ebx, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x18], ebx
jle 0x49f250
mov edi, dword [ebp - 0x14]
push dword [edi + ebx*4]
lea eax, [ebp - 0x38]
push eax
call fcn.0049ea60
mov esi, dword [0x515850]
mov dword [ebp - 0x1c], eax
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x49f124
mov ebx, eax
push ebx
lea ecx, [edi + 0x10]
call fcn.0049e960
shr eax, 0x1f
test al, al
je 0x49f0f8
mov edi, dword [edi + 8]
jmp 0x49f0fc
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x49f0e3
mov edi, dword [0x515850]
mov ebx, dword [ebp - 0x20]
cmp esi, edi
je 0x49f12a
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
push eax
call fcn.0049e960
shr eax, 0x1f
test al, al
jne 0x49f12a
jmp 0x49f12c
mov edi, dword [0x515850]
mov esi, edi
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x49f147
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0049f780
mov edi, dword [0x515850]
xor eax, eax
mov dword [ebp - 0x24], 7
cmp esi, edi
mov dword [ebp - 0x28], 0
mov edi, dword [ebp - 0x14]
mov word [ebp - 0x38], ax
je 0x49f23d
mov eax, dword [esi + 0x28]
sub eax, 1
je 0x49f344
sub eax, 1
je 0x49f20c
sub eax, 1
jne 0x49f23d
inc ebx
cmp ebx, dword [ebp - 0x18]
jge 0x49f23d
push dword [edi + ebx*4]
lea eax, [ebp - 0x50]
push eax
call fcn.0049ea60
push str.INSTALL
mov ecx, eax
call fcn.0049e9d0
mov ecx, dword [ebp - 0x3c]
mov esi, eax
cmp ecx, 8
jb 0x49f1bd
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.0049f780
test esi, esi
jne 0x49f1cd
mov esi, dword [ebp - 0x10]
mov dword [esi + 4], 0
jmp 0x49f240
push dword [edi + ebx*4]
lea eax, [ebp - 0x50]
push eax
call fcn.0049ea60
push str.UNINSTALL
mov ecx, eax
call fcn.0049e9d0
mov ecx, dword [ebp - 0x3c]
mov esi, eax
cmp ecx, 8
jb 0x49f1fc
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.0049f780
test esi, esi
mov esi, dword [ebp - 0x10]
jne 0x49f240
mov dword [esi + 4], 1
jmp 0x49f240
inc ebx
cmp ebx, dword [ebp - 0x18]
jge 0x49f23d
mov edx, dword [edi + ebx*4]
cmp word [edx], 0
jne 0x49f21f
xor ecx, ecx
jmp 0x49f233
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49f224
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x58]
push edx
call fcn.0049f900
mov esi, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x18]
jl 0x49f0c3
lea edi, [esi + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x50]
call fcn.00494a10
push str.Secure.Net.Host.Runtime.Windows.ini
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0049edd0
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x49f293
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0049f780
xor eax, eax
mov dword [ebp - 0x3c], 7
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x40], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49f376
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push 0x104
lea eax, [ebp - 0x2d0]
push eax
push 0x500dc0
push str.NetFrameworkSetup
push str.Commandline
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov dword [ebp - 0x24], 7
push eax
lea eax, [ebp - 0x2d0]
mov word [ebp - 0x38], cx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
call fcn.0049f900
lea eax, [ebp - 0x38]
cmp edi, eax
je 0x49f361
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x49f32c
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.0049f780
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x49f34f
mov eax, dword [edi]
jmp 0x49f351
mov esi, dword [ebp - 0x10]
mov byte [esi], 1
jmp 0x49f240
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.0049ee40
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x49f376
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0049f780
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x49f38b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f780
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret