Function at 0x1400dea10
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rdx, str.CBaseDlgCtrl::BtnLicenseAgreementDebugSilentLog
lea rcx, [rsp + 0x30]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rbp, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400dea9d
test byte [rcx + 0x1c], 1
je 0x1400dea9d
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x18
lea r8, [0x14025e0c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rax, qword [0x1402bc0b8]
lea r8, str.BtnLicenseAgreementDebugSilentLog
lea rdx, str.Action_start__s.
lea rcx, [0x1402bc0b8]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r15, rax
lea edx, [rsi + 8]
mov r8d, 0x800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400decd9
xor r14b, r14b
mov rcx, qword [0x1402bbf50]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov r8, rdi
lea rdx, str.TraceFile
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rdx, [0x140251dfc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400deb3c
mov r14b, 1
jmp 0x1400dec85
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.1401e7e40
mov r8d, 0x104
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400debb7
mov edx, 0x5c
lea rcx, [rsp + 0x80]
call fcn.1401e768c
lea rdx, [0x14025421c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140251df8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DebugSettings.ini
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
mov r9, rdi
lea r8, str.SilentDebug.log
lea rdx, str.LogFilePath
lea rcx, str.SilentLog_Debug
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x140251dfc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400dec12
lea rdx, str.SilentDebug.log
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1400dec64
mov r8d, 0x400
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400dec64
mov edx, 0x5c
mov rcx, rdi
call fcn.1401e768c
lea rdx, [0x14025421c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140251df8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.SilentDebug.log
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [0x1402bc0b8]
mov rdx, rdi
lea rcx, [0x1402bc0b8]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov esi, eax
test eax, eax
jne 0x1400decb1
mov rbx, qword [0x1402bbf68]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 0x38]
call qword [case.0x1400136d6.0]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 0x40]
call qword [case.0x1400136d6.0]
test r14b, r14b
jne 0x1400decc9
mov rax, qword [0x1402bc0b8]
lea rcx, [0x1402bc0b8]
mov rax, qword [rax + 0x10]
call qword [case.0x1400136d6.0]
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400dece8
mov esi, 0x80010002
mov dword [0x1402bbd98], 2
mov rax, qword [0x1402bc0b8]
mov r9d, esi
lea r8, str.BtnLicenseAgreementDebugSilentLog
lea rdx, str.Action_ended__s._Return_value__08x.
lea rcx, [0x1402bc0b8]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov al, 1
mov byte [rsp + 0x38], al
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400ded60
test byte [rcx + 0x1c], al
je 0x1400ded60
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x19
mov dword [rsp + 0x20], esi
lea r8, [0x14025e0c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rsp + 0x38]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x30], rdx
test al, al
jne 0x1400dedb9
cmp rcx, r12
je 0x1400dedb9
test byte [rcx + 0x1c], 1
je 0x1400dedb9
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
cmovae rbp, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rbp
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, esi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret