Function at 0x14000dcd0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2448
call fcn.1401ad200
sub rsp, rax
mov qword [rsp + 0x2418], 0xfffffffffffffffe
mov rax, qword [0x1402aa808]
xor rax, rsp
mov qword [rsp + 0x2430], rax
lea rcx, [rsp + 0x2c8]
call fcn.140061270
nop
lea rcx, [rsp + 0x278]
call fcn.140003370
nop
lea rcx, [rsp + 0x300]
call fcn.140003370
nop
lea rcx, [rsp + 0x250]
call fcn.140003370
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003370
nop
lea rcx, [rsp + 0x2340]
call fcn.140003370
nop
mov dword [rsp + 0x2f8], 0
mov r8w, 0x2f
mov rdx, qword [rsp + 0x2458]
lea rcx, [rsp + 0x2c8]
call fcn.1400612e0
lea rcx, [rsp + 0x2c8]
call fcn.140062550
cmp rax, 4
je 0x14000dd96
jmp 0x14000e3c9
xor edx, edx
lea rcx, [rsp + 0x2c8]
call fcn.1400627c0
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.140010520
mov edx, 1
lea rcx, [rsp + 0x2c8]
call fcn.1400627c0
mov rdx, rax
lea rcx, [rsp + 0x300]
call fcn.140010520
mov edx, 2
lea rcx, [rsp + 0x2c8]
call fcn.1400627c0
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.140010520
mov edx, 3
lea rcx, [rsp + 0x2c8]
call fcn.1400627c0
mov rdx, rax
lea rcx, [rsp + 0x2a0]
call fcn.140010520
lea rcx, [rsp + 0x300]
call fcn.140003530
lea rdx, [0x1401e0bac]
mov rcx, rax
call fcn.1401ad250
test rax, rax
jne 0x14000de5d
lea rcx, [rsp + 0x2a0]
call fcn.140003530
lea rdx, [0x1401e0c64]
mov rcx, rax
call fcn.1401ad250
test rax, rax
je 0x14000de62
jmp 0x14000e3c9
lea rcx, [rsp + 0x278]
call fcn.140003530
lea rdx, str.PROF
mov rcx, rax
call fcn.1401ac890
test eax, eax
jne 0x14000de87
jmp 0x14000e3c9
lea rcx, [rsp + 0x278]
call fcn.140003530
lea rdx, str.HKEY_LOCAL_MACHINE
mov rcx, rax
call fcn.1401ac890
test eax, eax
jne 0x14000e0fb
lea rcx, [rsp + 0x2370]
call fcn.14004dcb0
nop
mov qword [rsp + 0x2368], 0
lea rcx, [rsp + 0x300]
call fcn.140003550
mov qword [rsp + 0x23b0], rax
lea rcx, [rsp + 0x250]
call fcn.140003530
lea rdx, [0x1401e0cdc]
mov rcx, rax
call fcn.1401acf04
test eax, eax
jne 0x14000df0e
lea rdx, [0x1401e0d5c]
lea rcx, [rsp + 0x250]
call fcn.140010520
lea rcx, [rsp + 0x2a0]
call fcn.140003530
lea rdx, [0x1401e0dfc]
mov rcx, rax
call fcn.1401acf04
test eax, eax
jne 0x14000df42
lea rdx, [0x1401e0e14]
lea rcx, [rsp + 0x2a0]
call fcn.140010520
cmp qword [rsp + 0x23b0], 0
je 0x14000df72
mov rax, qword [rsp + 0x23b0]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14000df72
mov rcx, qword [rsp + 0x23b0]
call fcn.140010230
mov qword [rsp + 0x23b0], rax
mov r8, qword [rsp + 0x23b0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x2370]
call fcn.14004ca50
mov qword [rsp + 0x2368], rax
lea rcx, [rsp + 0x2a0]
call fcn.140003530
lea rdx, [0x1401e1084]
mov rcx, rax
call fcn.1401acf04
test eax, eax
jne 0x14000dfd8
cmp qword [rsp + 0x2368], 0
jne 0x14000dfd3
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e362
jmp 0x14000e0e9
lea rcx, [rsp + 0x2a0]
call fcn.140003530
lea rdx, [0x1401e15d4]
mov rcx, rax
call fcn.1401ac890
test eax, eax
jne 0x14000e068
mov qword [rsp + 0x23b8], 0
cmp qword [rsp + 0x2368], 0
jne 0x14000e021
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e362
lea rcx, [rsp + 0x250]
call fcn.140003550
mov rdx, rax
lea rcx, [rsp + 0x2370]
call fcn.14004dd80
mov qword [rsp + 0x23b8], rax
cmp qword [rsp + 0x23b8], 0
je 0x14000e063
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e362
jmp 0x14000e0e9
mov qword [rsp + 0x23c0], 0
lea rcx, [rsp + 0x250]
call fcn.140003550
mov rdx, rax
lea rcx, [rsp + 0x2370]
call fcn.14004dd80
mov qword [rsp + 0x23c0], rax
cmp qword [rsp + 0x23c0], 0
jne 0x14000e0b6
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e362
lea rcx, [rsp + 0x2a0]
call fcn.140003530
mov rdx, rax
mov rcx, qword [rsp + 0x23c0]
call fcn.1401ac890
test eax, eax
je 0x14000e0e9
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e362
lea rcx, [rsp + 0x2370]
call fcn.14004dd10
jmp 0x14000e2f8
mov edx, 0x105
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [rsp + 0x2f8], eax
mov dx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.140040640
mov qword [rsp + 0x23c8], rax
cmp qword [rsp + 0x23c8], 0
je 0x14000e152
cmp qword [rsp + 0x23c8], 0
je 0x14000e168
mov rcx, qword [rsp + 0x23c8]
call fcn.140010230
movzx eax, word [rax]
test eax, eax
je 0x14000e168
lea r8, [0x1401e1694]
mov edx, 0x105
lea rcx, [rsp + 0x40]
call fcn.1401ac918
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x2340]
call fcn.140010520
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x2340]
call fcn.140010550
lea rcx, [rsp + 0x2340]
call fcn.140003530
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000e1af
jmp 0x14000e362
lea rcx, [rsp + 0x278]
call fcn.140003530
mov qword [rsp + 0x2420], rax
lea rcx, [rsp + 0x250]
call fcn.140003530
mov qword [rsp + 0x2428], rax
lea rcx, [rsp + 0x300]
call fcn.140003530
mov rcx, qword [rsp + 0x2420]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x1001
lea r9, [rsp + 0x330]
lea r8, [0x1401e1698]
mov rcx, qword [rsp + 0x2428]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x2a0]
call fcn.140003530
mov dx, 0x2a
mov rcx, rax
call fcn.1401ab2f0
test rax, rax
jne 0x14000e26c
lea rcx, [rsp + 0x2a0]
call fcn.140003530
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.1401ac890
test eax, eax
je 0x14000e262
jmp 0x14000e362
jmp 0x14000e2f8
lea rcx, [rsp + 0x23d8]
call fcn.140061270
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003530
mov r8w, 0x2a
mov rdx, rax
lea rcx, [rsp + 0x23d8]
call fcn.1400612e0
xor edx, edx
lea rcx, [rsp + 0x23d8]
call fcn.1400627c0
mov qword [rsp + 0x23d0], rax
mov rcx, qword [rsp + 0x23d0]
call fcn.1401abfb8
mov r8, rax
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x23d0]
call fcn.1401aaf6c
test eax, eax
je 0x14000e2eb
lea rcx, [rsp + 0x23d8]
call fcn.1400612b0
jmp 0x14000e362
lea rcx, [rsp + 0x23d8]
call fcn.1400612b0
mov dword [rsp + 0x2408], 1
lea rcx, [rsp + 0x2340]
call fcn.140003430
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003430
nop
lea rcx, [rsp + 0x250]
call fcn.140003430
nop
lea rcx, [rsp + 0x300]
call fcn.140003430
nop
lea rcx, [rsp + 0x278]
call fcn.140003430
nop
lea rcx, [rsp + 0x2c8]
call fcn.1400612b0
mov eax, dword [rsp + 0x2408]
jmp 0x14000e42e
mov dword [rsp + 0x240c], 0
lea rcx, [rsp + 0x2340]
call fcn.140003430
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003430
nop
lea rcx, [rsp + 0x250]
call fcn.140003430
nop
lea rcx, [rsp + 0x300]
call fcn.140003430
nop
lea rcx, [rsp + 0x278]
call fcn.140003430
nop
lea rcx, [rsp + 0x2c8]
call fcn.1400612b0
mov eax, dword [rsp + 0x240c]
jmp 0x14000e42e
mov dword [rsp + 0x2410], 0xffffffff
lea rcx, [rsp + 0x2340]
call fcn.140003430
nop
lea rcx, [rsp + 0x2a0]
call fcn.140003430
nop
lea rcx, [rsp + 0x250]
call fcn.140003430
nop
lea rcx, [rsp + 0x300]
call fcn.140003430
nop
lea rcx, [rsp + 0x278]
call fcn.140003430
nop
lea rcx, [rsp + 0x2c8]
call fcn.1400612b0
mov eax, dword [rsp + 0x2410]
mov rcx, qword [rsp + 0x2430]
xor rcx, rsp
call fcn.1401ab2d0
add rsp, 0x2448
ret