Function at 0x164ca4fb0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [0x164cf5010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, qword [rbp + 0x67]
mov r13, qword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
mov qword [rbp - 0x49], rsi
mov rdx, qword [rbp + 0x7f]
xor r14d, r14d
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov qword [rbp - 9], r14
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r14w
mov qword [rbp + 7], r14
mov r8b, 1
lea rcx, [rbp - 0x19]
call fcn.164ca3cb0
cmp eax, 1
jne 0x164ca5262
test r12, r12
je 0x164ca5192
mov ebx, eax
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x164ca50a3
cmp rdx, rbx
jb 0x164ca5079
dec rdx
lea r9, [0x164ce02e0]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.164ccf5a0
test eax, eax
je 0x164ca50a3
mov r8, rbx
lea rdx, [0x164ce02e0]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x164ca50a3
mov r8, rbx
lea rdx, [0x164ce02e0]
lea rcx, [rbp - 0x19]
call fcn.164c97be0
mov r15, 0xffffffffffffffff
nop word [rax + rax]
inc r15
cmp word [r12 + r15*2], 0
jne 0x164ca50b0
mov r8, r15
mov rdx, r12
lea rcx, [rbp - 0x19]
call fcn.164c97be0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
mov qword [rbp - 0x41], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x41]
mov r8d, ebx
lea rcx, str.HKEY_LOCAL_MACHINE
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryOpen]
mov edi, eax
test eax, eax
jne 0x164ca5305
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r14w
xor r9d, r9d
lea r8, [rbp - 0x39]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryEnumVal]
test eax, eax
jne 0x164ca5179
nop dword [rax + rax]
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
mov rdx, rsi
mov rax, r13
call qword [0x164cdeeb8]
mov edi, eax
test eax, eax
jne 0x164ca5179
mov edx, ebx
inc ebx
xor r9d, r9d
lea r8, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryEnumVal]
test eax, eax
je 0x164ca5140
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryClose]
nop
lea rcx, [rbp - 0x39]
call fcn.164c938b0
jmp 0x164ca5305
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
mov qword [rbp - 0x41], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x41]
mov r8d, 8
lea rcx, str.HKEY_LOCAL_MACHINE
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryOpen]
mov edi, eax
test eax, eax
jne 0x164ca5305
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r14w
lea ebx, [rax + 1]
xor r9d, r9d
lea r8, [rbp - 0x39]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryEnumKey]
test eax, eax
jne 0x164ca5249
nop dword [rax]
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
mov rdx, rsi
mov rax, r13
call qword [0x164cdeeb8]
mov edi, eax
test eax, eax
jne 0x164ca5249
mov edx, ebx
inc ebx
xor r9d, r9d
lea r8, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryEnumKey]
test eax, eax
je 0x164ca5210
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.aswCmnOS.dll_dep_osRegistryClose]
nop
lea rcx, [rbp - 0x39]
call fcn.164c938b0
jmp 0x164ca5305
mov edi, r14d
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rax, qword [rbp - 0x19]
mov qword [rbp - 0x41], rax
mov esi, 0x200
mov r15, 0xffffffffffffffff
nop dword [rax]
nop word [rax + rax]
mov eax, 2
mul rsi
cmovo rax, r15
mov rdx, rax
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x164ca52f6
mov r14, rax
mov rax, qword [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x164ca538e
lea rcx, [rsi - 2]
mov eax, eax
cmp rax, rcx
jb 0x164ca533f
add rsi, rsi
movabs rax, 0x3fffffffffffffff
cmp rsi, rax
jb 0x164ca5290
mov edi, 8
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x164ca5314
call fcn.164cd6f98
nop
lea rcx, [rbp - 0x19]
call fcn.164c938b0
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.164cd6f70
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r13, r13
je 0x164ca52fb
cmp word [rbx], di
je 0x164ca52fb
mov rsi, qword [rbp - 0x49]
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
mov rax, r13
call qword [0x164cdeeb8]
mov edi, eax
test eax, eax
jne 0x164ca52fb
mov rax, r15
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x164ca5370
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x164ca5350
jmp 0x164ca52fb
call qword [sym.imp.aswCmnOS.dll_dep_osGetLastError]
mov edi, eax
jmp 0x164ca52fb