Function at 0x14000a730
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8c0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov r12, rcx
call fcn.140007d70
mov r8d, 0x104
lea rdx, [rsp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000b092
call fcn.140069504
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
xor ebp, ebp
or rsi, 0xffffffffffffffff
cmp dword [rax + 0xb78], ebp
je 0x14000aaa5
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [rsp + 0x6b0]
lea r8d, [rbp + 3]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x2a0]
call fcn.140082440
call fcn.1400696cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14000a828
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0xa0]
lea rax, [rsp + 0xa0]
test rax, 0xffffffffffff0000
jne 0x14000a87a
movzx edi, cx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14000a983
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003a40
jmp 0x14000a983
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14000a8f6
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000a983
cmp dword [rdx + 0x10], eax
jge 0x14000a8c8
cmp dword [rbx - 0xc], eax
jge 0x14000a8bd
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14000a983
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000a8df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
jmp 0x14000a983
mov r13d, dword [rbx - 0x10]
lea r14, [rsp + 0xa0]
sub r14, rbx
sar r14, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000a92a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003180
mov rbx, qword [rsp + 0x50]
cmp r14, r13
ja 0x14000a94a
movsxd rax, edi
lea r13, [rax + rax]
lea r8, [rbx + r14*2]
mov r9, r13
mov rdx, r13
mov rcx, rbx
call fcn.140081c40
jmp 0x14000a967
movsxd rax, edi
lea r13, [rax + rax]
mov r9, r13
lea r8, [rsp + 0xa0]
mov rdx, r13
mov rcx, rbx
call fcn.140080540
test edi, edi
js 0x14000aa9a
cmp edi, dword [rbx - 0xc]
jg 0x14000aa9a
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], 0
mov r8d, 5
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140003e50
nop
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x4b0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdx, rcx
mov qword [rsp + 0x78], rcx
lea r14, [rsp + 0x4b0]
lea r13, [rsp + 0x4b0]
mov rdi, qword [rsp + 0x68]
sub r13, rdi
sar r13, 1
mov r15d, dword [rdi - 0x10]
lea ebx, [r15 + rcx]
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x14000aa02
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140003180
mov rdi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
cmp r13, r15
ja 0x14000aa0b
lea r14, [rdi + r13*2]
movsxd rdx, edx
add rdx, rdx
lea rcx, [rdi + r15*2]
mov r9, rdx
mov r8, r14
call fcn.140080540
test ebx, ebx
js 0x14000aa8f
cmp ebx, dword [rdi - 0xc]
jg 0x14000aa8f
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], 0
mov r9d, 0x104
lea r8, [rsp + 0x2a0]
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.140041aa0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000aa6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000aaa5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000aaa5
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
nop
lea rax, [r12 + 0x28]
lea r9, [r12 + 0x18]
mov qword [rsp + 0x20], rax
lea r8, str..EXE
lea rdx, [rsp + 0x2a0]
mov rcx, r12
call fcn.14000a0b0
test eax, eax
je 0x14000b092
lea r13, [r12 + 0x30]
lea r9, [r12 + 0x20]
mov qword [rsp + 0x20], r13
lea r8, str..INI
lea rdx, [rsp + 0x2a0]
mov rcx, r12
call fcn.14000a0b0
test eax, eax
je 0x14000b092
call fcn.1400696cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ab20
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.1400696cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ab51
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 8]
lea r8, [0x1400a4510]
lea rdx, [rsp + 0x2a0]
mov rcx, r12
call fcn.14000a0b0
test eax, eax
jne 0x14000abd3
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000abae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14000abcc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000b092
mov r9d, 5
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [r12 + 8]
call fcn.140003560
nop
mov rdx, rax
lea rcx, [r12 + 8]
call fcn.1400047a0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000ac20
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [r13]
mov rax, qword [r12 + 0x10]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000ac4c
mov edx, 0x104
lea rcx, [r12 + 0x10]
call fcn.140003180
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
mov r9, qword [r12 + 0x10]
lea r8, [0x1400a4510]
lea rdx, str.PDL_NAME
lea rcx, str.Profiles
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
mov rdx, qword [r12 + 0x10]
test rdx, rdx
jne 0x14000ac8a
mov ecx, ebp
jmp 0x14000aca4
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14000b087
cmp ecx, dword [rdx - 0xc]
jg 0x14000b087
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [r12 + 0x10]
mov word [rax + rcx*2], 0
test r11d, r11d
jne 0x14000ad09
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000ace4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14000ad02
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000b092
mov rdi, qword [r13]
mov rax, qword [r12 + 0x158]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000ad3b
mov edx, 0x104
lea rcx, [r12 + 0x158]
call fcn.140003180
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
mov r9, qword [r12 + 0x158]
lea r8, [0x1400a4510]
lea rdx, str.CAPTDefaultName
lea rcx, str.Profiles
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rdx, qword [r12 + 0x158]
test rdx, rdx
jne 0x14000ad7c
mov ecx, ebp
jmp 0x14000ad96
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14000b07c
cmp ecx, dword [rdx - 0xc]
jg 0x14000b07c
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [r12 + 0x158]
mov word [rax + rcx*2], 0
mov rdi, qword [r13]
mov rax, qword [r12 + 0x128]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000ade5
mov edx, 0x104
lea rcx, [r12 + 0x128]
call fcn.140003180
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
mov r9, qword [r12 + 0x128]
lea r8, [0x1400a4510]
lea rdx, str.ModelDir
lea rcx, str.MasterInstManualPath
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rdx, qword [r12 + 0x128]
test rdx, rdx
jne 0x14000ae26
mov ecx, ebp
jmp 0x14000ae40
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14000b071
cmp ecx, dword [rdx - 0xc]
jg 0x14000b071
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [r12 + 0x128]
mov word [rax + rcx*2], 0
mov rdi, qword [r13]
mov rax, qword [r12 + 0x130]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000ae8f
mov edx, 0x104
lea rcx, [r12 + 0x130]
call fcn.140003180
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
mov r9, qword [r12 + 0x130]
lea r8, [0x1400a4510]
lea rdx, str.InstallDir
lea rcx, str.MasterInstManualPath
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rdx, qword [r12 + 0x130]
test rdx, rdx
jne 0x14000aed0
mov ecx, ebp
jmp 0x14000aeea
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14000b066
cmp ecx, dword [rdx - 0xc]
jg 0x14000b066
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [r12 + 0x130]
mov word [rax + rcx*2], 0
mov rdi, qword [r13]
mov rax, qword [r12 + 0x138]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000af39
mov edx, 0x104
lea rcx, [r12 + 0x138]
call fcn.140003180
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
mov r9, qword [r12 + 0x138]
lea r8, [0x1400a4510]
lea rdx, str.IndexFile
lea rcx, str.MasterInstManualPath
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rdx, qword [r12 + 0x138]
test rdx, rdx
je 0x14000af93
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbp, rcx
test ecx, ecx
js 0x14000b05b
cmp ebp, dword [rdx - 0xc]
jg 0x14000b05b
mov dword [rdx - 0x10], ebp
movsxd rdx, ebp
mov rax, qword [r12 + 0x138]
mov word [rax + rdx*2], 0
lea rcx, [r12 + 0x38]
mov r8, qword [r12 + 8]
lea rdx, str._sICD.DLL
call fcn.1400040b0
mov rcx, r12
call fcn.14000a300
test eax, eax
jne 0x14000b015
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000aff3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14000b011
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000b092
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000b036
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14000b054
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x14000b092
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret