Function at 0x140016660
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x610]
xor esi, esi
mov r12, qword [rbp + 0x618]
mov edi, r8d
mov r13, qword [rbp + 0x620]
mov rbx, rcx
mov r14, qword [rbp + 0x638]
mov r15d, esi
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x628]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r9
test rcx, rcx
je 0x14001686f
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140043ce0
mov r9d, edi
lea r8, str.UWP_d
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400032c0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.140043ce0
lea r9, [rbp + 0x170]
mov qword [rsp + 0x28], rbx
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
lea rdx, [0x1400819d0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rbp + 0x170]
cmp ax, word [0x1400815c8]
je 0x140016aa4
mov rax, qword [rsp + 0x40]
lea r15d, [rsi + 1]
test rax, rax
je 0x14001678b
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14001678b
lea rcx, [rbp + 0x170]
mov edx, 0x104
mov qword [rsp + 0x20], rcx
lea r8, str._sUwp_s
mov rcx, rax
call fcn.1400032c0
test r12, r12
je 0x1400167a4
lea r8, [rbp + 0x170]
mov edx, 0x104
mov rcx, r12
call fcn.140049578
test r13, r13
je 0x1400167d2
mov qword [rsp + 0x28], rbx
lea r8, [0x1400815c8]
mov r9, r13
mov dword [rsp + 0x20], 0x104
lea rdx, str.DisplayName
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140016805
mov qword [rsp + 0x28], rbx
lea r8, [0x1400815c8]
mov r9, rax
mov dword [rsp + 0x20], 0x104
lea rdx, str.ProductId
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
test r14, r14
je 0x140016aa4
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.140043ce0
lea r9, [rbp + 0x380]
mov qword [rsp + 0x28], rbx
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
lea rdx, str.Size
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rbp + 0x380]
cmp ax, word [0x1400815c8]
je 0x140016aa1
lea rcx, [rbp + 0x380]
jmp 0x140016a99
mov eax, esi
test rdx, rdx
je 0x140016aa4
mov rbx, qword [rdx]
cmp rbx, rdx
je 0x140016aa4
mov rcx, qword [rdx + 8]
test edi, edi
je 0x1400168a2
nop
inc eax
cmp rbx, rcx
je 0x140016aa4
mov rbx, qword [rbx]
cmp eax, edi
jne 0x140016890
test rbx, rbx
je 0x140016aa4
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140043ce0
mov r9, qword [rbx + 0x21c]
test r9, r9
jne 0x1400168cd
lea r9, [rbx + 0x10]
lea rax, str..asma
mov edx, 0x104
lea r8, str._suwpinfo_s
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.1400032c0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov dword [rsp + 0x20], 3
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140006030
cmp rax, 0xffffffffffffffff
je 0x140016aa4
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.140043ce0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x380]
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
lea rdx, str._PFN_
lea rcx, [0x1400819d8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rbp + 0x380]
cmp ax, word [0x1400815c8]
je 0x140016aa4
mov rax, qword [rsp + 0x40]
mov r15d, 1
test rax, rax
je 0x1400169ad
mov r8, qword [rbx + 0x21c]
test r8, r8
jne 0x1400169a0
lea r8, [rbx + 0x10]
mov edx, 0x104
mov rcx, rax
call fcn.140049578
test r12, r12
je 0x1400169c6
lea r8, [rbp + 0x380]
mov edx, 0x104
mov rcx, r12
call fcn.140049578
test r13, r13
je 0x1400169fb
lea rax, [rsp + 0x60]
mov r9, r13
mov qword [rsp + 0x28], rax
lea r8, [0x1400815c8]
lea rdx, str._DisplayName_
mov dword [rsp + 0x20], 0x104
lea rcx, [0x1400819d8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140016a35
lea rcx, [rsp + 0x60]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400815c8]
lea rcx, [0x1400819d8]
mov dword [rsp + 0x20], 0x104
lea rdx, str._ProductId_
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
test r14, r14
je 0x140016aa4
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.140043ce0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x170]
lea r8, [0x1400815c8]
mov dword [rsp + 0x20], 0x104
lea rdx, str._Size_
lea rcx, [0x1400819d8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rbp + 0x170]
cmp ax, word [0x1400815c8]
je 0x140016aa1
lea rcx, [rbp + 0x170]
call fcn.14004b99c
mov rsi, rax
mov qword [r14], rsi
mov eax, r15d
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0x6a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret