Function at 0x1400a1b00
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r12, r9
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x78], rdx
mov r14, rcx
movzx eax, byte [rbp + 0x260]
mov byte [rsp + 0x30], al
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x34], ebx
test al, al
je 0x1400a1ba7
mov rdx, r8
lea rcx, [rsp + 0x60]
call fcn.14000c2c0
mov edi, 1
mov dword [rsp + 0x34], edi
mov rdx, qword [rax]
mov ecx, ebx
lea r8, [0x1400f51c0]
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400a1b99
cmp rcx, 4
jne 0x1400a1b80
mov eax, ebx
jmp 0x1400a1b9d
sbb eax, eax
or eax, edi
test eax, eax
jne 0x1400a1ba7
movzx esi, dil
jmp 0x1400a1baa
xor sil, sil
or ebx, 0xffffffff
test dil, 1
je 0x1400a1bdc
and edi, 0xfffffffe
mov dword [rsp + 0x34], edi
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a1bd8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
mov edi, dword [rsp + 0x34]
test sil, sil
je 0x1400a1de9
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1400b5f30
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14000c2c0
nop
mov rax, qword [rax]
movzx eax, word [rax]
cmp ax, word [0x1400dd1f0]
jne 0x1400a1c19
xor esi, esi
mov eax, esi
jmp 0x1400a1c20
sbb eax, eax
or eax, 1
xor esi, esi
test eax, eax
lea rdi, str.Default
mov rdx, r15
cmove rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000c2c0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a1c59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
mov rdx, r13
lea rcx, [rsp + 0x70]
call fcn.14000c2c0
nop
mov rax, qword [rax]
movzx eax, word [rax]
cmp ax, word [0x1400dd1f0]
jne 0x1400a1c7a
mov eax, esi
jmp 0x1400a1c7f
sbb eax, eax
or eax, 1
test eax, eax
mov rdx, r13
cmove rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c2c0
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a1cb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14009d070
nop
lea r8, str._settings.ini
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14009f7a0
cmp qword [rax + 0x18], 8
jb 0x1400a1cda
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x30]
mov r8, r12
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x1400a1d1a
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400a5a00
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x1400a1d44
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400a5a00
test edi, edi
je 0x1400a1daa
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
jne 0x1400a1d65
mov ecx, 0x8007000e
call fcn.140003970
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a1d84
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a1fbe
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.imgengine.dll_Ordinal_8 + 8]
jmp 0x1400a1fbe
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a1dc9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a1de5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.imgengine.dll_Ordinal_8]
mov edi, dword [rsp + 0x34]
xor r8d, r8d
movzx edx, byte [rsp + 0x30]
mov rcx, r15
call fcn.1400a1ff0
mov rsi, rax
test rax, rax
jne 0x1400a1e2e
test r12, r12
jne 0x1400a1e0e
mov qword [r14], r12
jmp 0x1400a1fbe
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
jne 0x1400a1fbe
mov ecx, 0x8007000e
call fcn.140003970
int3
xor r15d, r15d
mov dword [rsp + 0x38], r15d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
mov ebx, r15d
mov qword [rbp - 0x80], rbx
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1400a1ed3
lea rdx, [0x1401336e4]
call fcn.1400af724
mov r15, rax
test rax, rax
je 0x1400a1ed0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x1400a1ec8
mov ecx, 0x8007000e
call fcn.140003970
int3
mov rcx, r15
call fcn.1400aee84
xor r15d, r15d
mov rcx, qword [0x1401331c8]
cmp rsi, rcx
je 0x1400a1ef8
cmp rsi, qword [0x1401331c0]
je 0x1400a1ef8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1401331c8]
cmp byte [rsp + 0x30], 0
je 0x1400a1f0c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [0x1401331c8], r15
test r13d, r13d
jne 0x1400a1f50
test rbx, rbx
jne 0x1400a1f1d
mov qword [rsp + 0x58], r15
jmp 0x1400a1f46
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400a1f46
mov ecx, 0x8007000e
call fcn.140003970
int3
lea rcx, [rsp + 0x58]
or edi, 4
jmp 0x1400a1f82
test r12, r12
jne 0x1400a1f5c
mov qword [rsp + 0x50], r15
jmp 0x1400a1f7a
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400a1f7a
mov ecx, 0x8007000e
call fcn.140003970
int3
lea rcx, [rsp + 0x50]
or edi, 8
mov rax, qword [rcx]
mov qword [r14], rax
mov qword [rcx], r15
or edi, 2
test dil, 8
je 0x1400a1fa3
and edi, 0xfffffff7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
test dil, 4
je 0x1400a1fb5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, r14
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400af8c0
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret