Function at 0x1400384c0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x468
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov ebp, r8d
mov rdi, rcx
test rcx, rcx
je 0x14003872b
test edx, edx
je 0x140038704
mov qword [r11 + 0x10], rbx
lea rdx, str.IsSplendidInstall
mov qword [r11 + 0x18], rsi
mov r8d, 1
lea rsi, [rcx + 0x20]
mov qword [r11 - 0x18], r14
mov r9, rsi
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
xor ebx, ebx
lea rdx, str.IsUWPSplendidInstall
mov ecx, ebx
cmp eax, 1
mov r9, rsi
sete cl
mov dword [rdi + 8], ecx
lea r8d, [rbx + 1]
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ecx, ebx
lea r8d, [rbx + 1]
cmp eax, 1
lea rdx, str.IsGameVisualInstall
mov r9, rsi
sete cl
mov dword [rdi + 0xc], ecx
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ecx, ebx
mov r8d, 0x208
cmp eax, 1
sete cl
xor edx, edx
mov dword [rdi + 0x10], ecx
lea rcx, [rsp + 0x240]
call fcn.1400423d0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1400423d0
lea r9, [rsp + 0x240]
mov qword [rsp + 0x28], rsi
lea r8, [0x140064c30]
mov dword [rdi], ebx
lea rdx, str.IcmFilename
mov dword [rsp + 0x20], 0x104
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x240]
lea r14, [0x14006c188]
cmp ax, word [0x140064c30]
je 0x14003864b
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
lea r8, [0x140064c30]
mov dword [rsp + 0x20], 0x104
lea rdx, str.ICMExist
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x140064c30]
je 0x14003864b
mov ecx, ebx
lea rdx, [rsp + 0x30]
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r14 + rcx*2 - 2]
jne 0x14003864b
cmp rcx, 4
jne 0x140038630
mov dword [rdi], 1
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x240]
lea r8, [0x140064c30]
mov dword [rsp + 0x20], 0x104
lea rdx, str.CPanelIcmFilename
mov dword [rdi + 0x18], ebx
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x240]
cmp ax, word [0x140064c30]
je 0x1400386ec
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
lea r8, [0x140064c30]
mov dword [rsp + 0x20], 0x104
lea rdx, str.CPanelICMExist
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x140064c30]
je 0x1400386ec
lea rcx, [rsp + 0x30]
nop
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [r14 + rbx*2 - 2]
jne 0x1400386ec
cmp rbx, 4
jne 0x1400386d0
mov dword [rdi + 0x18], 1
mov rsi, qword [rsp + 0x490]
mov rbx, qword [rsp + 0x488]
mov r14, qword [rsp + 0x460]
cmp dword [rdi + 8], 0
jne 0x14003872b
cmp dword [rdi + 0xc], 0
jne 0x14003872b
cmp dword [rdi + 0x10], 0
jne 0x14003872b
test ebp, ebp
jne 0x14003871e
cmp dword [rdi], ebp
jmp 0x140038722
cmp dword [rdi + 0x18], 0
je 0x14003872b
mov eax, 1
jmp 0x14003872d
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x468
pop rdi
pop rbp
ret