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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db207
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 [0x57184c]
cmp ecx, dword [edx + 4]
jle 0x49e9bf
push 0x57184c
call fcn.0049f6f1
add esp, 4
cmp dword [0x57184c], 0xffffffff
jne 0x49e9bf
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.0049f240
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.0049f240
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.0049f240
mov dword [ebp - 0x78], 3
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
push eax
push ecx
call fcn.0049dc10
push fcn.0049e810
push 3
push 0x1c
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push eax
call fcn.0049fa88
push 0x4dc420
call fcn.0049fa73
add esp, 4
push 0x57184c
call fcn.0049f6b2
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 0x49e9e4
mov eax, dword [edi]
jmp 0x49e9e6
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 0x49ea03
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 0x49ebb0
mov edi, dword [ebp - 0x14]
push dword [edi + ebx*4]
lea eax, [ebp - 0x38]
push eax
call fcn.0049e3c0
mov esi, dword [0x571850]
mov dword [ebp - 0x1c], eax
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x49ea84
mov ebx, eax
push ebx
lea ecx, [edi + 0x10]
call fcn.0049e2c0
shr eax, 0x1f
test al, al
je 0x49ea58
mov edi, dword [edi + 8]
jmp 0x49ea5c
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x49ea43
mov edi, dword [0x571850]
mov ebx, dword [ebp - 0x20]
cmp esi, edi
je 0x49ea8a
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
push eax
call fcn.0049e2c0
shr eax, 0x1f
test al, al
jne 0x49ea8a
jmp 0x49ea8c
mov edi, dword [0x571850]
mov esi, edi
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x49eaa7
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0049f0e0
mov edi, dword [0x571850]
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 0x49eb9d
mov eax, dword [esi + 0x28]
sub eax, 1
je 0x49eca4
sub eax, 1
je 0x49eb6c
sub eax, 1
jne 0x49eb9d
inc ebx
cmp ebx, dword [ebp - 0x18]
jge 0x49eb9d
push dword [edi + ebx*4]
lea eax, [ebp - 0x50]
push eax
call fcn.0049e3c0
push str.INSTALL
mov ecx, eax
call fcn.0049e330
mov ecx, dword [ebp - 0x3c]
mov esi, eax
cmp ecx, 8
jb 0x49eb1d
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.0049f0e0
test esi, esi
jne 0x49eb2d
mov esi, dword [ebp - 0x10]
mov dword [esi + 4], 0
jmp 0x49eba0
push dword [edi + ebx*4]
lea eax, [ebp - 0x50]
push eax
call fcn.0049e3c0
push str.UNINSTALL
mov ecx, eax
call fcn.0049e330
mov ecx, dword [ebp - 0x3c]
mov esi, eax
cmp ecx, 8
jb 0x49eb5c
inc ecx
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
call fcn.0049f0e0
test esi, esi
mov esi, dword [ebp - 0x10]
jne 0x49eba0
mov dword [esi + 4], 1
jmp 0x49eba0
inc ebx
cmp ebx, dword [ebp - 0x18]
jge 0x49eb9d
mov edx, dword [edi + ebx*4]
cmp word [edx], 0
jne 0x49eb7f
xor ecx, ecx
jmp 0x49eb93
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49eb84
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x58]
push edx
call fcn.0049f240
mov esi, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x18]
jl 0x49ea23
lea edi, [esi + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x50]
call fcn.00494360
push str.Secure.Net.Host.Runtime.Windows.ini
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0049e730
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x49ebf3
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0049f0e0
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 0x49ecd6
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 0x55cab0
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.0049f240
lea eax, [ebp - 0x38]
cmp edi, eax
je 0x49ecc1
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x49ec8c
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.0049f0e0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x49ecaf
mov eax, dword [edi]
jmp 0x49ecb1
mov esi, dword [ebp - 0x10]
mov byte [esi], 1
jmp 0x49eba0
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.0049e7a0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x49ecd6
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0049f0e0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x49eceb
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0049f0e0
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