Function at 0x140012d50
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x390
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r15, rcx
lea rcx, [rsp + 0x40]
call fcn.14000a1bc
nop
mov byte [rsp + 0x38], 0
mov r8d, 0x17
lea rdx, str.srl::System::Initialize
lea rcx, [rsp + 0x40]
call fcn.140009e14
nop
call fcn.140022850
cmp dword [rax + 8], 4
jl 0x140012dd1
mov byte [rsp + 0x38], 1
lea rcx, [rsp + 0x38]
call fcn.140018900
lea rcx, [rbp + 0x70]
call fcn.140012c60
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x70]
mov rdi, 0xffffffffffffffff
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140012df2
inc esi
mov r9d, 0x80
lea r8, [rsp + 0x68]
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1400186d0
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rbp + 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r14d, r14d
mov ebx, r14d
test eax, eax
sete bl
test eax, eax
jne 0x140012eab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140012eab
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp + 0x70]
xor edx, edx
lea ecx, [rax - 0x77]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
mov r9d, 0x80
lea r8, [rsp + 0x68]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400186d0
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rbp + 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, r14d
test eax, eax
sete bl
test ebx, ebx
jne 0x14001312b
lea rcx, [r15 + 8]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x140012ec6
mov eax, r14d
jmp 0x140012eda
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140012ed0
mov r8d, eax
call fcn.140002a7c
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140012ef7
call fcn.140235920
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str._systemrequirementslabcyriconfig.ini
lea rcx, [rbp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rbp + 0x1b0]
lea r8, [0x1402ed39c]
lea rdx, [0x1402f1d50]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x1b0], 0
jne 0x1400130ae
lea rcx, [rbp + 0xa8]
call fcn.140012c60
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xa8]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140012f85
inc esi
mov r9d, 0x80
lea r8, [rsp + 0x68]
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1400186d0
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rbp + 0xa8]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, r14d
test eax, eax
sete bl
test eax, eax
jne 0x140013044
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140013044
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp + 0xa8]
xor edx, edx
lea ecx, [rax - 0x77]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
mov r9d, 0x80
lea r8, [rsp + 0x68]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400186d0
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rbp + 0xa8]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, r14d
test eax, eax
sete bl
test ebx, ebx
jne 0x140013110
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140013063
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140013056
mov r14d, edi
mov r8d, r14d
lea rcx, [r15 + 0x10]
call fcn.140002a7c
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140013084
call fcn.140235920
lea rcx, [r15 + 0x10]
call fcn.140015650
lea r9, [rbp + 0xe0]
mov r8, qword [r15 + 0x10]
lea rdx, [0x1402f1d50]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400130da
lea rcx, [r15 + 0x10]
lea rax, [rbp + 0x1b0]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400130c0
mov r8d, edi
lea rdx, [rbp + 0x1b0]
call fcn.140002a7c
nop
lea rcx, [rsp + 0x38]
call fcn.14001a370
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14022b1a0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r8d, 0x80
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400188f0
call fcn.140008560
int3
mov r8d, 0x80
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400188f0
call fcn.140008560
int3