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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r14, rdx
xor r13d, r13d
mov r15d, r13d
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
lea rdi, [rdx + 0x40]
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x18005b7ea
mov rsi, qword [rdi]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x18005b89d
mov r12d, 0x100
mov r8d, r12d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1800bbd80
lea rcx, [0x1800f5bf8]
lea rdx, [0x1800f5bfa]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, r12w
jae 0x18005b86a
movzx eax, al
mov byte [rbp + rax - 0x50], 1
add rcx, 2
cmp rcx, rdx
jne 0x18005b820
lea rcx, [rsi + rbx*2]
mov rbx, rsi
cmp rsi, rcx
jae 0x18005b89d
movzx eax, word [rbx]
cmp ax, r12w
jae 0x18005b859
movzx eax, ax
cmp byte [rbp + rax - 0x50], 0
jne 0x18005b862
add rbx, 2
cmp rbx, rcx
jmp 0x18005b844
sub rbx, rsi
sar rbx, 1
jmp 0x18005b8a4
lea r8, [rsi + rbx*2]
mov rbx, rsi
cmp rsi, r8
jae 0x18005b89d
mov ecx, 1
lea rax, [0x1800f5bf8]
movzx edx, word [rbx]
cmp word [rax], dx
je 0x18005b862
add rax, 2
sub rcx, 1
jne 0x18005b885
add rbx, 2
cmp rbx, r8
jmp 0x18005b874
mov rbx, 0xffffffffffffffff
cmp ebx, 0xffffffff
je 0x18005b968
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
movsxd r8, ebx
cmp qword [rdi + 0x10], r8
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18005b8d8
mov rdx, qword [rdi]
lea rcx, [rbp - 0x78]
call fcn.18001b240
lea rcx, [rsp + 0x68]
call fcn.18000bd30
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x78], xmm1
lea eax, [rbx + 1]
movsxd rcx, eax
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x18005bd7f
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rdi + 0x18], 8
jb 0x18005b93d
mov rdi, qword [rdi]
lea rdx, [rdi + rcx*2]
lea rcx, [rbp - 0x78]
call fcn.18001b240
lea rcx, [rsp + 0x48]
call fcn.18000bd30
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x58], xmm1
jmp 0x18005b97f
mov r8d, 0x12
lea rdx, str.HKEY_LOCAL_MACHINE
lea rcx, [rsp + 0x68]
call fcn.18001b240
lea rcx, [rsp + 0x68]
call fcn.180058910
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r13
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18005bca1
mov rbx, qword [rsp + 0x38]
lea rdx, [r14 + 0x60]
cmp qword [rdx + 0x18], 8
jb 0x18005b9d6
mov rdx, qword [rdx]
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18005ba30
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x18005ba30
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18005bade
test al, 1
jne 0x18005ba30
shr rax, 1
cmp word [rbp + rax*2 - 0x52], 0
je 0x18005bae3
test rbx, rbx
je 0x18005ba3f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18005ba81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ba7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd85
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18005bd34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bd2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd6d
jmp 0x18005bd2f
mov word [rbp - 0x50], r13w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.1800bbd80
lea r8, [r14 + 0x20]
cmp qword [r8 + 0x18], 8
jb 0x18005bb05
mov r8, qword [r8]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r9, [rbp + 0x1c0]
mov r8d, 0xffffffff
lea rdx, [0x1800ff640]
lea rcx, str.three_end
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x18005bbed
test rbx, rbx
je 0x18005bb4e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18005bb90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bb8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd8b
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18005bd34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bd2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd73
jmp 0x18005bd2f
mov r15d, 1
test rbx, rbx
je 0x18005bc02
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18005bc44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bc3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd91
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18005bd34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bd2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd79
jmp 0x18005bd2f
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18005bce3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bcde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd97
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f68b0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18005bd34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bd2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bd67
call fcn.18008c16c
mov eax, r15d
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.18008c720
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800beee8
int3
call fcn.1800beee8
int3
call fcn.1800beee8
int3
call fcn.1800beee8
nop
call fcn.18000be60
nop
call fcn.1800beee8
int3
call fcn.1800beee8
int3
call fcn.1800beee8
int3
call fcn.1800beee8
int3