Function at 0x14000c1b0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x970]
sub rsp, 0xa70
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x960], rax
lea rcx, [rbp + 0x550]
call fcn.1400eb9d0
lea rax, [rbp + 0x550]
lea r9, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea r8, [0x140181e34]
lea rdx, str.Name
lea rcx, str.Registration
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp + 0x550]
lea r9, [rbp + 0x350]
mov qword [rsp + 0x28], rax
lea r8, [0x140181e34]
lea rdx, str.Code
lea rcx, str.Registration
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [rbp + 0x150]
lea r14, [0x140208860]
test cx, cx
je 0x14000c272
movzx eax, word [rbp + 0x350]
test ax, ax
jne 0x14000c2de
lea r9, [rbp + 0x150]
lea r8, [0x140181e34]
lea rdx, str.Name
lea rcx, str.Registration
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rbp + 0x350]
lea r8, [0x140181e34]
lea rdx, str.Code
lea rcx, str.Registration
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [rbp + 0x150]
movzx eax, word [rbp + 0x350]
xor esi, esi
test cx, cx
je 0x14000c394
test ax, ax
je 0x14000c394
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x760]
mov qword [rsp + 0x30], rsi
lea r8, [rbp + 0x150]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x860]
mov qword [rsp + 0x30], rsi
lea r8, [rbp + 0x350]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0x860]
lea rcx, [rbp + 0x760]
call fcn.14000c760
test eax, eax
je 0x14000c394
mov rcx, qword [0x1401fbba0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4d5
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call fcn.1400f11b0
jmp 0x14000c55c
xor ecx, ecx
call fcn.140059780
mov rcx, qword [0x1401fbad8]
lea r9, [0x14000d9f0]
mov r8, rax
lea rax, [rsp + 0x40]
mov edx, 0x409
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, 1
jne 0x14000c55c
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x14000c3d4
add eax, 0xfffffffe
mov qword [rsp + 0xa80], rbx
mov qword [rsp + 0xa88], rdi
cmp eax, 0x7e
ja 0x14000c52c
mov edi, esi
lea rcx, [rbp + 0x44]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x14000c403
test eax, eax
jle 0x14000c43e
lea rbx, [rbp + 0x44]
movsx ecx, byte [rbx]
call fcn.1400f909c
test eax, eax
je 0x14000c52c
inc edi
inc rbx
lea rcx, [rbp + 0x44]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x14000c431
cmp edi, eax
jl 0x14000c414
lea rdx, [rbp + 0x44]
lea rcx, [rsp + 0x40]
call fcn.14000c760
test eax, eax
je 0x14000c52c
lea rax, [rbp + 0x150]
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x350]
lea r8, [rbp + 0x44]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rbp + 0x550]
lea r8, [rbp + 0x150]
lea rdx, str.Name
lea rcx, str.Registration
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r9, [rbp + 0x550]
lea r8, [rbp + 0x350]
lea rdx, str.Code
lea rcx, str.Registration
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x14000c525
lea r8, [rbp + 0x150]
lea rdx, str.Name
lea rcx, str.Registration
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r8, [rbp + 0x350]
lea rdx, str.Code
lea rcx, str.Registration
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, 0x4d7
jmp 0x14000c531
mov edx, 0x4d6
mov rcx, qword [0x1401fbba0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call fcn.1400f11b0
mov rbx, qword [rsp + 0xa80]
mov rdi, qword [rsp + 0xa88]
mov rcx, qword [rbp + 0x960]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0xa70]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret