Function at 0x1400081a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006d9f8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, rcx
call fcn.14000865c
xor r12d, r12d
test al, al
je 0x1400081f1
mov al, 1
jmp 0x14000862f
lea rbx, [rdi + 0x40]
mov rdx, rbx
call fcn.14000963c
mov rdx, rbx
call fcn.140009da4
mov rdx, rbx
call fcn.14000a1d4
mov rdx, rbx
mov rcx, rdi
call fcn.14000a3c0
mov word [rbp + 0x20], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x22]
call fcn.140035510
cmp qword [rbx + 0x18], 8
jb 0x140008238
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x20]
lea r8, [0x14005fdc4]
lea rdx, str.version
lea rcx, [0x1400600b0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r14d, 7
or rcx, 0xffffffffffffffff
cmp qword [0x1400716b0], r12
je 0x140008328
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
cmp word [rbp + 0x20], r12w
jne 0x140008294
mov r8, r12
jmp 0x1400082a5
lea rax, [rbp + 0x20]
mov r8, rcx
inc r8
cmp word [rax + r8*2], r12w
jne 0x14000829b
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140006368
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400026bc
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400082cd
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str._INFO___d___read_cfg_app_version__s_.
mov edx, 3
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x28], 0x10
jb 0x140008304
mov rcx, qword [rbp - 0x40]
call fcn.14003440c
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], r12
mov byte [rbp - 0x40], r12b
cmp qword [rbp - 0x48], 8
jb 0x140008324
mov rcx, qword [rbp - 0x60]
call fcn.14003440c
or rcx, 0xffffffffffffffff
mov sil, r12b
mov byte [rsp + 0x30], r12b
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r12
mov word [rbp - 8], r12w
cmp word [rbp + 0x20], r12w
jne 0x140008349
mov r8, r12
jmp 0x14000835a
lea rax, [rbp + 0x20]
mov r8, rcx
inc r8
cmp word [rax + r8*2], r12w
jne 0x140008350
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 8]
call fcn.140006368
nop
lea r8, [rbp - 8]
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000c6b4
nop
lea r8, [0x14005fdfc]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140006c54
nop
lea r8, [rdi + 0x60]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000c774
nop
cmp qword [rsp + 0x50], 8
jb 0x1400083b3
mov rcx, qword [rsp + 0x38]
call fcn.14003440c
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp qword [rsp + 0x70], 8
jb 0x1400083d5
mov rcx, qword [rsp + 0x58]
call fcn.14003440c
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
cmp qword [rbp + 8], r12
je 0x140008407
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000856f
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
lea rdx, [rbp - 0x20]
lea rcx, [rdi + 0x20]
call fcn.1400024e0
xor r8d, r8d
lea rdx, [0x14005fe6c]
lea rcx, [rbp - 0x80]
call fcn.140006368
mov rbx, qword [rbp - 0x20]
cmp rbx, qword [rbp - 0x18]
je 0x140008566
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14000584c
nop
lea r8, [rdi + 0x60]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14000c6b4
nop
lea rcx, [rbp - 0x60]
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r11, qword [rbp - 0x50]
mov r10, r11
mov r14, qword [rbp - 0x70]
cmp r14, r11
cmovb r10, r14
test r10, r10
jmp 0x1400084d1
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x1400084d5
add rdx, 2
add rcx, 2
dec r10
jne 0x1400084be
jmp 0x1400084de
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1400084e1
mov eax, r12d
movsxd rcx, eax
mov eax, r12d
cmp r14, r11
setne al
cmp r14, r11
cmovb eax, esi
test rcx, rcx
cmovne eax, ecx
test eax, eax
jns 0x14000852e
lea rcx, [rbp - 0x60]
cmp r8, 8
cmovae rcx, r9
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008526
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.14000584c
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14000853d
mov rcx, r9
call fcn.14003440c
nop
cmp qword [rbp - 0x28], 8
jb 0x14000854d
mov rcx, qword [rbp - 0x40]
call fcn.14003440c
add rbx, 0x20
cmp rbx, qword [rbp - 0x18]
mov r14d, 7
jne 0x140008453
mov sil, byte [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000bfec
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400085a4
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140008904
mov sil, al
test al, al
je 0x1400085ff
mov rcx, rdi
call fcn.14000a654
jmp 0x1400085ff
cmp qword [0x1400716b0], r12
je 0x1400085ff
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400026bc
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400085c7
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str._ERROR___d___not_exist_app__s_.
mov edx, 1
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x28], 0x10
jb 0x1400085ff
mov rcx, qword [rbp - 0x40]
call fcn.14003440c
nop
cmp qword [rbp - 0x68], 8
jb 0x14000860f
mov rcx, qword [rbp - 0x80]
call fcn.14003440c
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
cmp qword [rbp + 0x10], 8
jb 0x14000862c
mov rcx, qword [rbp - 8]
call fcn.14003440c
mov al, sil
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400326d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret