Function at 0x14008aa20
Capabilities:
Check os version
Copy file
Create directory
Delete file
Get common file path
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x528], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r13d, r9d
mov rsi, r8
mov r12, rcx
call fcn.1400d7540
lea r14, [0x1402c1970]
test rsi, rsi
je 0x14008ab30
cmp byte [rsi], 0
je 0x14008ab30
lea rdx, str._tellprod
mov rcx, rsi
call fcn.14010d534
test eax, eax
jne 0x14008aaa3
call fcn.140081660
xor eax, eax
jmp 0x14008b53f
lea rdx, [0x140220608]
mov rcx, rsi
call fcn.1400c9790
mov rbx, rax
test rax, rax
je 0x14008ab30
add rbx, 2
lea rdx, [0x1401f0ff8]
mov rcx, rbx
call fcn.14010d30c
mov rcx, rax
test rax, rax
jne 0x14008aae7
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
add rcx, rbx
movzx edi, byte [rcx]
mov byte [rcx], 0
mov rdx, r14
sub rdx, rbx
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
inc rbx
test al, al
jne 0x14008aaf3
mov byte [rcx], dil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
not rcx
lea rax, [rcx + r14 - 2]
cmp rax, r14
jbe 0x14008ab30
nop dword [rax + rax]
cmp byte [rax], 0x20
jne 0x14008ab30
mov byte [rax], 0
dec rax
cmp rax, r14
ja 0x14008ab20
cmp byte [0x1402c1970], 0
jne 0x14008ab4b
mov r8d, 0x104
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
not rcx
mov dword [rcx + r14 - 4], 0x696e69
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
lea r9, [0x1402c1860]
lea r8, [0x14024d112]
lea rdx, str.cmdLine
lea rcx, str.System
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [0x1402b9cc8]
mov qword [rsp + 0x38], rdx
lea rdx, [0x1402c1860]
lea rcx, [rsp + 0x38]
call fcn.1400ca6a0
mov byte [0x1402c1860], 0
test rsi, rsi
je 0x14008abe2
cmp byte [rsi], 0
je 0x14008abe2
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
je 0x14008abd5
mov dl, 0x20
lea rcx, [rsp + 0x38]
call fcn.1400ca870
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400ca830
mov rdi, qword [rsp + 0x38]
mov qword [0x1402c0178], r12
lea rcx, str.RICHED32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402c0308], rax
lea r8, str.eb2012xInstSetup64
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov qword [0x1402bff58], rax
test rax, rax
jne 0x14008b4df
lea r9, str.eb2012xInstSetup64
mov ebx, 1
mov r8d, ebx
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x1402bff58], rax
xor ecx, ecx
lea rsi, str.ocxdrv32.dll
lea r14, [0x140000000]
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
mov byte [rcx + r14 + 0x2bfc40], al
inc rcx
test al, al
jne 0x14008ac60
xor edx, edx
lea rcx, [0x1402bfa60]
call fcn.1400d0c40
xor ecx, ecx
call fcn.14010d57c
mov rcx, rax
call fcn.140112608
mov rcx, rdi
call fcn.14000a0c0
mov rcx, rdi
call fcn.140085ca0
cmp dword [0x1402c0964], 0
jne 0x14008b257
mov byte [rbp + 0xa0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xa1]
call fcn.14010da60
lea rdi, [0x1402c1ca0]
cmp dword [0x1402c0b84], 0
je 0x14008ad04
cmp byte [0x1402c1ca0], 0
je 0x14008ad04
mov rcx, rdi
call fcn.140021960
test eax, eax
je 0x14008ad04
xor ecx, ecx
nop
movzx eax, byte [rcx + rdi]
mov byte [rbp + rcx + 0xa0], al
inc rcx
test al, al
jne 0x14008acf0
jmp 0x14008ad27
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rcx + r14 + 0x2b90b0]
mov byte [rbp + rcx + 0xa0], al
inc rcx
test al, al
jne 0x14008ad10
mov byte [rbp - 0x70], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x6f]
call fcn.14010da60
cmp dword [0x1402c0b84], 0
je 0x14008ad71
cmp byte [0x1402c1ca0], 0
je 0x14008ad71
mov rcx, rdi
call fcn.140021960
test eax, eax
je 0x14008ad71
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rcx + rdi]
mov byte [rbp + rcx - 0x70], al
inc rcx
test al, al
jne 0x14008ad60
jmp 0x14008ad7a
lea rcx, [rbp - 0x70]
call fcn.1400e6f70
mov r8d, ebx
mov edx, 0x104
lea rcx, [0x1402bfe50]
call fcn.140071ce0
test eax, eax
jne 0x14008adf4
mov byte [0x1402bfe50], al
cmp dword [0x1402c0744], eax
je 0x14008adcc
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rcx + r14 + 0x2b8ff0]
mov byte [rcx + rsi], al
inc rcx
test al, al
jne 0x14008adb0
lea rcx, [rbp + 0xa0]
jmp 0x14008ade5
xor r9d, r9d
mov r8d, ebx
lea rdx, str.32.dll
mov rcx, rsi
call fcn.1400822a0
lea rcx, [rbp - 0x70]
call fcn.140072130
call fcn.140072bb0
jmp 0x14008b078
cmp eax, ebx
jle 0x14008ae66
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xdf13
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, 0x30
lea r8, [0x1401ebd68]
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x30]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca400
xor eax, eax
jmp 0x14008b53f
lea r8, [0x1402bfe50]
xor edx, edx
lea ecx, [rdx + 4]
call fcn.1400729c0
mov rdi, rax
mov rax, qword [rax]
mov r8d, ebx
lea rdx, str.BuildNumber
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi + 0xb0]
mov eax, dword [rdx + 0x1710]
cmp eax, 0x2fbc
jbe 0x14008af0f
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xdf14
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, 0x30
lea r8, [0x1401ebd68]
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x30]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca400
xor eax, eax
jmp 0x14008b53f
cmp eax, 0xc0c
jae 0x14008af84
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xdf15
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r9d, 0x30
lea r8, [0x1401ebd68]
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x30]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca400
xor eax, eax
jmp 0x14008b53f
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax]
cmp dword [0x1402c0744], 0
je 0x14008afb1
mov r8d, 0x104
lea rdx, str._34_.__.iht_66
mov rcx, rsi
call fcn.1400c9950
jmp 0x14008b06c
mov edx, 0x5c
lea rcx, [0x1402bfe50]
call fcn.14010db4c
test rax, rax
je 0x14008afde
lea rcx, [rax + 1]
mov rdx, rsi
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
inc rcx
test al, al
jne 0x14008afd1
mov byte [rbp + 0x1b0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x1b1]
call fcn.14010da60
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x1b0]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1b0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1402bfe50]
lea rcx, [rbp + 0x1b0]
call fcn.14010f9e8
test eax, eax
jne 0x14008b078
lea rcx, [rbp - 0x70]
call fcn.140072130
mov rdx, rsi
lea rcx, str._34_.__.iht_66
call fcn.14010d534
test eax, eax
jne 0x14008b078
lea rcx, [rbp + 0xa0]
call fcn.140072130
mov edx, 0x104
lea rdi, [0x1402c0070]
mov rcx, rdi
call fcn.140071fd0
lea rcx, [rbp + 0x2c0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [rbp + 0x2c0]
mov rcx, rdi
call fcn.14010d534
test eax, eax
jne 0x14008b0c6
lea rcx, [rbp - 0x70]
call fcn.140072130
mov edx, 0x104
mov rcx, rdi
call fcn.140071fd0
mov rcx, rdi
call fcn.1400cfaf0
test eax, eax
jne 0x14008b0f0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [0x1402bfc38], ebx
mov rcx, rdi
call fcn.1400d0090
test eax, eax
je 0x14008b104
mov rcx, rdi
call fcn.1400d4680
xor ecx, ecx
lea r14, [0x1402bff60]
nop dword [rax]
movzx eax, byte [rcx + rdi]
mov byte [rcx + r14], al
inc rcx
test al, al
jne 0x14008b110
mov rcx, r14
call fcn.1400c9bc0
xor edx, edx
lea r15, [0x1402bfd40]
movzx eax, byte [rdx + r14]
mov byte [rdx + r15], al
inc rdx
test al, al
jne 0x14008b130
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rsi + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x14008b150
xor r9d, r9d
mov r8d, ebx
lea rdx, str.32.dll
mov rcx, rsi
call fcn.1400822a0
mov rdi, r14
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
movzx eax, byte [rsi + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x14008b181
cmp byte [0x1402bfe50], al
je 0x14008b1eb
lea rcx, [0x1402bfe50]
call fcn.1400d0090
test eax, eax
je 0x14008b1bb
xor r8d, r8d
mov rdx, r14
lea rcx, [0x1402bfe50]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
cmp byte [0x1402bfe50], 0
je 0x14008b1eb
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [0x1402bfe50]
call fcn.14010f9e8
mov dword [0x1402bfc3c], eax
call fcn.14000e340
cmp dword [0x1402c0964], 0
jne 0x14008b257
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe00b
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
mov rax, qword [rsp + 0x30]
lea rdi, [0x1402c0180]
sub rdi, rax
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rax + rdi], cl
inc rax
test cl, cl
jne 0x14008b240
lea rcx, [rsp + 0x30]
jmp 0x14008b2e5
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x40], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x40]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe00c
lea rcx, [rsp + 0x40]
call fcn.1400cc060
nop
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe00d
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rdx, str._s__s
lea rcx, [0x1402c0180]
call fcn.14010d754
nop
lea rcx, [rsp + 0x30]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x40]
call fcn.1400ca400
cmp dword [0x1402c096c], 0
jne 0x14008b34a
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14008b326
call fcn.1400d17c0
test eax, eax
jne 0x14008b326
mov r8d, ebx
lea edx, [rax + 2]
lea rcx, str.This_product_requires_Administrator_rights_to_Install_or_Modify.
call fcn.14000a910
mov edi, dword [0x1402bd960]
jmp 0x14008b533
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14008b34a
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x1402c0858]
cmp al, 6
cmovae ecx, ebx
mov dword [0x1402c0858], ecx
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x4c], 0x1ff
lea rcx, [rsp + 0x48]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, 0xf4fffe
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x1402c0638], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov r8, qword [0x1402c0178]
lea rdx, [0x140087a50]
mov ecx, 4
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x1402c0748], rax
mov rcx, r12
call fcn.14008a960
test ax, ax
je 0x14008b449
mov edx, r13d
mov rcx, r12
call fcn.140081700
test eax, eax
je 0x14008b449
xor r9d, r9d
xor r8d, r8d
mov edx, 0x590
mov rcx, qword [0x1402c0418]
call qword [sym.imp.USER32.dll_PostMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x14008b452
mov rcx, qword [0x1402c0528]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008b41a
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402c0528]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x14008b430
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jg 0x14008b3f3
jmp 0x14008b452
mov qword [rsp + 0x68], 0
mov rcx, qword [0x1402c0748]
test rcx, rcx
je 0x14008b464
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x1402c0638]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1402bfb28]
test rcx, rcx
je 0x14008b49b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x1402bfb30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [0x1402bfb28], 0
mov rcx, qword [0x1402c0308]
test rcx, rcx
je 0x14008b4b8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1402c0308], 0
mov rcx, qword [0x1402c0068]
call qword [sym.imp.GDI32.dll_DeleteObject]
xor r8d, r8d
mov edx, ebx
mov rcx, qword [0x1402bff58]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edi, dword [0x1402bd960]
jmp 0x14008b533
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x40], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x40]
call fcn.1400ca6a0
xor r8d, r8d
mov edx, 0xe00f
lea rcx, [rsp + 0x40]
call fcn.1400cc060
nop
mov edx, 0x10
lea r8d, [rdx - 0xf]
mov rcx, qword [rsp + 0x40]
call fcn.14000a910
mov edi, dword [0x1402bd960]
lea rcx, [rsp + 0x40]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca400
mov eax, edi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x528]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret