Function at 0x1400fa980
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
lea rdx, [rbp - 0x31]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rbp - 1], 0x28
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], 0
jne 0x1400fa9ed
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x1400faa21
mov rax, qword [rcx]
lea r8, [0x14016be40]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
jmp 0x1400faa28
lea rax, str._error_interface_not_inited_
xor ebx, ebx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 7
mov word [rbp - 0x21], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1400faa45
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002f20
nop
lea r9, [rbp - 0x21]
mov r10, qword [rbp - 0x21]
mov r11, qword [rbp - 9]
cmp r11, 8
cmovae r9, r10
cmp qword [rbp - 0x11], 0x11
jne 0x1400faabc
mov edx, 0x11
lea rax, [0x14016be48]
movzx ecx, word [r9]
mov r8d, 0x3c
cmp cx, r8w
jb 0x1400faabc
sub r9, rax
cmp cx, r8w
ja 0x1400faabc
cmp rdx, 1
je 0x1400fab28
dec rdx
add rax, 2
movzx ecx, word [rax + r9]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x1400faa9a
mov qword [rbp - 0x39], 0xffffffff80000001
lea rdi, [rbp - 0x21]
cmp r11, 8
cmovae rdi, r10
lea rax, [rbp - 0x55]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xffff
lea r8, str.mainuilastpos
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea r13, [0x1401b9210]
test eax, eax
je 0x1400fab44
mov dword [rbp - 0x69], eax
mov qword [rbp - 0x61], r13
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
mov r14, rbx
mov rcx, qword [rbp - 0x61]
mov r15d, dword [rbp - 0x69]
jmp 0x1400fab52
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x160]
call qword [case.0x140077645.0]
mov ebx, eax
jmp 0x1400fad38
mov r15d, ebx
lea rcx, [0x1401b91d8]
mov r14d, dword [rbp - 0x55]
mov rax, qword [0x1401b91e0]
cmp qword [rcx + 8], rax
jne 0x1400fab9c
test r15d, r15d
jne 0x1400fab9c
test r14, r14
je 0x1400fab9c
lea rdx, [0x140142e90]
mov rcx, r14
call fcn.14007e930
mov r12, rax
test rax, rax
jne 0x1400fac97
mov dword [rbp - 0x69], 8
mov qword [rbp - 0x61], r13
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
mov r15d, dword [rbp - 0x69]
mov rdi, rbx
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x49], rbx
test r15d, r15d
jne 0x1400fad12
cmp rbx, 8
jne 0x1400fad12
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
je 0x1400fad12
lea rdx, [rbp - 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [rbp - 0x29]
sub ecx, dword [rbp - 0x31]
mov ebx, dword [rbp + 0x13]
mov r15d, dword [rbp + 0x1b]
lea eax, [rbx + r15]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub r8d, eax
mov r12d, dword [rbp - 0x25]
mov r14d, r12d
mov r13d, dword [rbp - 0x2d]
sub r14d, r13d
mov r11, qword [rbp + 0x1b]
shr r11, 0x20
mov r10, qword [rbp + 0x13]
shr r10, 0x20
lea eax, [r11 + r10]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
sub r9d, eax
add ecx, r8d
cmp ecx, r15d
jle 0x1400fac46
mov r8d, r15d
sub r8d, dword [rbp - 0x29]
add r8d, dword [rbp - 0x31]
cmp r8d, ebx
cmovl r8d, ebx
lea eax, [r14 + r9]
cmp eax, r11d
jle 0x1400fac5f
mov r9d, r11d
sub r9d, r12d
add r9d, r13d
cmp r9d, r10d
cmovge r10d, r9d
mov dword [rsp + 0x30], 0x15
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
mov r9d, r10d
xor edx, edx
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, 1
jmp 0x1400fad29
mov dword [rbp - 0x59], r14d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov r9d, 0xffff
lea r8, str.mainuilastpos
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400facfc
mov dword [rbp - 0x69], eax
mov qword [rbp - 0x61], r13
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
mov rdi, rbx
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x49], rbx
mov rcx, r12
call qword [sym.imp.mfc140u.dll_operator]
mov r15d, dword [rbp - 0x69]
jmp 0x1400faba7
mov ebx, dword [rbp - 0x59]
mov rdi, r12
mov qword [rbp - 0x51], r12
cmp rbx, r14
cmovae rbx, r14
jmp 0x1400faba3
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x160]
call qword [case.0x140077645.0]
mov ebx, eax
test rdi, rdi
je 0x1400fad38
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_operator]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1400fad7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fad76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fad76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret