Function at 0x180002690
Capabilities:
Get disk size
Identify system language via api
Print debug messages
Query or enumerate registry value
Read .ini file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
lea rax, str.SoftwareTiqs_Via_QKcozApp
mov qword [rbp - 0x30], rax
xor edi, edi
mov dword [rbp + 0x160], edi
mov dword [rsp + 0x50], 4
lea rax, [rbp - 0x40]
mov qword [rbp - 0x38], rax
mov dword [rbp + 0x170], 0x20019
mov dword [rbp + 0x178], edi
mov qword [rbp - 0x28], 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add rax, 0x15f
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x15f
xor eax, eax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov ecx, 0x10
call fcn.18003f9e0
mov qword [rax + 8], rdi
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
mov word [rbp - 0x60], di
mov qword [rbp - 0x5a], rdi
mov qword [rbp - 0x52], rdi
xor eax, eax
mov word [rbp - 0x5d], ax
mov byte [rbp - 0x5b], al
mov word [rbp - 0x5a], ax
mov byte [rbp - 0x58], al
mov word [rbp - 0x57], ax
mov byte [rbp - 0x55], al
mov word [rbp - 0x54], ax
mov byte [rbp - 0x52], al
mov word [rbp - 0x51], ax
mov byte [rbp - 0x4f], al
mov word [rbp - 0x4e], ax
mov byte [rbp - 0x4c], al
mov dword [rbp - 0x64], edi
mov dword [rsp + 0x6c], edi
lea rcx, [rsp + 0x60]
call fcn.180016300
test al, al
je 0x1800027bd
lea rdx, [rbp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.180016490
mov byte [rbp - 0x60], dil
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x18], rcx
and al, 1
mov byte [rbp - 0x10], al
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.18000e3d0
lea rcx, [rsp + 0x60]
call fcn.1800193a0
lea rax, [rsp + 0x60]
mov qword [rbp + 0x168], rax
lea rdx, [rbp + 0x168]
call fcn.180010d50
mov byte [rbp + 0x168], 0
mov r8b, 1
lea rdx, [rbp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.180015ef0
mov byte [rbp + 0x168], 0
mov r8b, 1
lea rdx, [rbp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.180015fc0
mov byte [rbp + 0x168], 0
mov r8b, 1
lea rdx, [rbp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.180016160
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 8], xmm0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x170]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x178]
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x38], rax
mov r8b, 1
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x60]
call fcn.180016230
mov ebx, dword [rsp + 0x64]
lea rcx, [rsp + 0x70]
call fcn.18000ddf0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], rdi
mov edx, 0x10
call fcn.18003f8f4
test ebx, ebx
jne 0x180002a74
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LoopLast
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rcx, 0x117
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 0x117
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000b8d0
test ebx, ebx
jne 0x180002a65
cmp dword [0x1800c8fa0], 0x4ea9f84f
jne 0x180002a54
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryThreadpoolStackInformation]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesEx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadpoolTimerEx]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNLSVersion]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
xor r9d, r9d
xor r8d, r8d
lea rdx, str.w7ion86wUcMq7Se4Ri44166c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStringTypeW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PurgeComm]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetTapePosition]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseThreadpoolTimer]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_BackupWrite]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDynamicTimeZoneInformation]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OfferVirtualMemory]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [rbp + 0x160]
add rsp, 0x240
pop rdi
pop rbx
pop rbp
ret
lea rcx, str.Value_does_not_exist_or_error_reading_value.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x180002aa3
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rax, 0x123
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x123
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.18000ba50
lea r9, [rbp - 8]
lea r8, [rbp - 0x20]
lea rdx, [rbp]
lea rcx, [0x18006d908]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x180002add
mov r9, qword [rbp - 0x20]
shr r9, 0x14
lea r8, str.Total_disk_space_on_C:_is__lu_MB.
mov edx, 0x100
lea rcx, [rbp + 0x40]
call fcn.180001470
xor eax, eax
add rsp, 0x240
pop rdi
pop rbx
pop rbp
ret