Function at 0x140016230
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x400]
xor esi, esi
mov r13, qword [rbp + 0x408]
mov edi, r8d
mov r15, qword [rbp + 0x420]
mov rbx, rcx
mov r12, qword [rbp + 0x428]
mov r14d, esi
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x410]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x430]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r9
test rcx, rcx
je 0x14001641d
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140043ce0
mov r9d, edi
lea r8, str.Application_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, str.GUID
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
mov r9, rbx
lea r8d, [rsi - 1]
lea rdx, str.Type
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
movzx eax, word [rbp + 0x170]
cmp ax, word [0x1400815c8]
je 0x14001662e
test edi, edi
jle 0x14001662e
mov rax, qword [rsp + 0x40]
lea r14d, [rsi + 1]
test rax, rax
je 0x14001638a
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x14001638a
lea rcx, [rbp + 0x170]
mov edx, 0x104
mov qword [rsp + 0x20], rcx
lea r8, str._sApp_s
mov rcx, rax
call fcn.1400032c0
test r13, r13
je 0x1400163a3
lea r8, [rbp + 0x170]
mov edx, 0x104
mov rcx, r13
call fcn.140049578
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400163d6
mov qword [rsp + 0x28], rbx
lea r8, [0x1400815c8]
mov r9, rax
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]
test r15, r15
je 0x1400163de
mov dword [r15], edi
test r12, r12
je 0x1400163fb
mov r8, rbx
lea rdx, str.Size
lea rcx, [rsp + 0x60]
call fcn.14000d2a0
mov qword [r12], rax
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14001662e
mov r9, rbx
lea rdx, str.Hide
lea rcx, [rsp + 0x60]
jmp 0x14001661c
mov eax, esi
test rdx, rdx
je 0x14001662e
mov rbx, qword [rdx]
cmp rbx, rdx
je 0x14001662e
mov rcx, qword [rdx + 8]
test edi, edi
je 0x140016452
nop dword [rax]
inc eax
cmp rbx, rcx
je 0x14001662e
mov rbx, qword [rbx]
cmp eax, edi
jne 0x140016440
test rbx, rbx
je 0x14001662e
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140043ce0
mov r9, qword [rbx + 0x21c]
test r9, r9
jne 0x14001647d
lea r9, [rbx + 0x10]
lea rax, str..asma
mov edx, 0x104
lea r8, str._s_appinfo_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 0x14001662e
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
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._GUID_
lea rcx, str.Application
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
lea r9, [rsp + 0x60]
mov r8d, 0xffffffff
lea rdx, str._AppType_
lea rcx, str.Application
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov edi, eax
movzx eax, word [rbp + 0x170]
cmp ax, word [0x1400815c8]
je 0x14001662e
test edi, edi
jle 0x14001662e
mov rax, qword [rsp + 0x40]
mov r14d, 1
test rax, rax
je 0x140016586
mov r8, qword [rbx + 0x21c]
test r8, r8
jne 0x140016579
lea r8, [rbx + 0x10]
mov edx, 0x104
mov rcx, rax
call fcn.140049578
test r13, r13
je 0x14001659f
lea r8, [rbp + 0x170]
mov edx, 0x104
mov rcx, r13
call fcn.140049578
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400165d9
lea rcx, [rsp + 0x60]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400815c8]
lea rcx, str.Application
mov dword [rsp + 0x20], 0x104
lea rdx, str._DisplayName_
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
test r15, r15
je 0x1400165e1
mov dword [r15], edi
test r12, r12
je 0x1400165ff
mov rcx, qword [rbx + 0x21c]
test rcx, rcx
jne 0x1400165f6
lea rcx, [rbx + 0x10]
call fcn.140005a90
mov qword [r12], rax
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14001662e
lea r9, [rsp + 0x60]
lea rdx, str._Hide_
lea rcx, str.Application
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, r14d
sete sil
mov dword [rdi], esi
mov eax, r14d
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0x498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret