Function at 0x1400e9450
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 [0x140191010]
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, [0x140199388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140199380], 0
jne 0x1400e94bd
lea rcx, [0x140199360]
call fcn.140040ae0
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140199380]
test rcx, rcx
je 0x1400e94f1
mov rax, qword [rcx]
lea r8, [0x14014b008]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
jmp 0x1400e94f8
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 0x1400e9515
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002ed0
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 0x1400e958c
mov edx, Ordinal_21
lea rax, [0x14014af88]
movzx ecx, word [r9]
mov r8d, 0x3c
cmp cx, r8w
jb 0x1400e958c
sub r9, rax
cmp cx, r8w
ja 0x1400e958c
cmp rdx, 1
je 0x1400e95f8
dec rdx
add rax, 2
movzx ecx, word [rax + r9]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x1400e956a
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, [0x1401921e8]
test eax, eax
je 0x1400e9614
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 0x1400e9622
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x160]
call qword [case.0x14006aed5.0]
mov ebx, eax
jmp 0x1400e9808
mov r15d, ebx
lea rcx, [0x1401921c0]
mov r14d, dword [rbp - 0x55]
mov rax, qword [0x1401921c8]
cmp qword [rcx + 8], rax
jne 0x1400e966c
test r15d, r15d
jne 0x1400e966c
test r14, r14
je 0x1400e966c
lea rdx, [0x140127eb0]
mov rcx, r14
call fcn.140072510
mov r12, rax
test rax, rax
jne 0x1400e9767
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 0x1400e97e2
cmp rbx, 8
jne 0x1400e97e2
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
test rax, rax
je 0x1400e97e2
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 0x1400e9716
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 0x1400e972f
mov r9d, r11d
sub r9d, r12d
add r9d, r13d
cmp r9d, r10d
cmovge r10d, r9d
mov dword [rsp + 0x30], reloc.bdusers.dll_Ordinal_21
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 0x1400e97f9
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 0x1400e97cc
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_1]
mov r15d, dword [rbp - 0x69]
jmp 0x1400e9677
mov ebx, dword [rbp - 0x59]
mov rdi, r12
mov qword [rbp - 0x51], r12
cmp rbx, r14
cmovae rbx, r14
jmp 0x1400e9673
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x160]
call qword [case.0x14006aed5.0]
mov ebx, eax
test rdi, rdi
je 0x1400e9808
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_operator_1]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1400e984b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e9846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e9846
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140071e30
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