Function at 0x1400074e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rdx + 0x20]
lea rdi, str.Framework::CFrame
mov qword [rcx + 0x140], rax
lea r8, [rbp - 0x20]
mov rax, qword [0x14005c2e0]
mov rbx, rdx
mov r14, rcx
xor r15d, r15d
cmp qword [rdx + 0x18], r15
cmovne rdi, qword [rdx + 0x18]
mov rcx, qword [rax + 0x18]
mov rdx, rdi
mov qword [rbp - 0x80], rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x1400075bf
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov edx, 0x7f00
mov qword [rbp - 0x68], rax
mov rax, qword [0x14005c2e0]
mov qword [rbp - 0x70], 0x50
mov qword [rbp - 0x60], r15
mov rcx, qword [rax + 0x18]
mov rax, qword [rbx]
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140046cc0]
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x48], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x28], rax
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
call fcn.140009644
test ax, ax
je 0x140007960
mov ecx, 0x1000000
mov eax, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x30]
mov r13d, dword [rbx + 0x34]
mov dword [rsp + 0x74], eax
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x78], eax
mov eax, 0x20000000
cmp byte [rbx + 0x38], r15b
je 0x1400075f0
mov edi, ecx
jmp 0x1400075fa
cmp byte [rbx + 0x39], r15b
mov edi, r15d
cmovne edi, eax
mov rcx, qword [r14 + 0x140]
test rcx, rcx
je 0x1400077f2
lea r8, [rsp + 0x68]
mov edx, 0x20019
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1185]
test eax, eax
jne 0x1400077f2
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowPosLeft
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x64], 4
mov sil, 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000766b
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x30], eax
jmp 0x14000766e
mov sil, r15b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowPosTop
lea rax, [rsp + 0x60]
mov dword [rsp + 0x64], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400076af
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x34], eax
jmp 0x1400076b2
mov sil, r15b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowPosRight
lea rax, [rsp + 0x60]
mov dword [rsp + 0x64], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400076f3
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x38], eax
jmp 0x1400076f6
mov sil, r15b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowPosBottom
lea rax, [rsp + 0x60]
mov dword [rsp + 0x64], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007737
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x3c], eax
jmp 0x14000773a
mov sil, r15b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowMode
lea rax, [rsp + 0x60]
mov dword [rsp + 0x64], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007790
cmp dword [rsp + 0x60], 0xffffffff
jne 0x140007780
mov edi, 0x20000000
jmp 0x140007790
cmp dword [rsp + 0x60], 1
mov edi, r15d
mov eax, 0x1000000
cmove edi, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
je 0x1400077f2
mov eax, dword [rbp + 0x38]
sub eax, dword [rbp + 0x30]
cmp eax, 0x32
jl 0x1400077f2
mov eax, dword [rbp + 0x3c]
sub eax, dword [rbp + 0x34]
cmp eax, 0x32
jl 0x1400077f2
lea rcx, [r14 + 0x70]
mov rax, r14
neg rax
lea r8, [rbp + 0x30]
sbb rdx, rdx
and rdx, rcx
mov rcx, qword [0x14005c2e0]
call fcn.14000b288
mov eax, dword [rbp + 0x30]
mov edx, dword [rbp + 0x34]
mov r12d, dword [rbp + 0x38]
mov r13d, dword [rbp + 0x3c]
sub r12d, eax
sub r13d, edx
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x70], edx
mov r15, qword [rbx + 0x48]
test r15, r15
jne 0x1400077ff
mov r15, qword [rbx + 0x10]
mov esi, dword [rbx + 0x3c]
mov eax, 0x6cf0000
mov rdx, qword [rbx + 0x50]
test esi, esi
cmove esi, eax
or esi, edi
test rdx, rdx
je 0x140007828
lea rcx, [r14 + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x14001c390.0]
and qword [rsp + 0x48], 0
mov r9d, esi
mov eax, dword [rsp + 0x70]
mov r8, r15
mov rdx, qword [rbp - 0x80]
mov rcx, r14
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140016b58
mov rcx, qword [r14 + 8]
lea rdx, [rbp + 0x40]
xor r15d, r15d
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
call qword [sym.imp.USER32.dll_GetClientRect]
lea rcx, [r14 + 0x88]
lea rdx, [rbp + 0x40]
call fcn.140006ef0
mov rdx, qword [rbx + 0x10]
or rdi, 0xffffffffffffffff
test rdx, rdx
je 0x1400078b4
lea rcx, [r14 + 0x150]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1400078a2
mov r8d, eax
call fcn.14001f4a0
mov rdx, qword [rbx + 0x48]
lea rsi, [r14 + 0x278]
test rdx, rdx
je 0x1400078d0
inc rdi
cmp word [rdx + rdi*2], r15w
jne 0x1400078c4
jmp 0x1400078e3
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400078f0
inc rdi
cmp word [rdx + rdi*2], r15w
jne 0x1400078d9
mov r8d, edi
mov rcx, rsi
call fcn.14001f4a0
jmp 0x14000791a
mov r8d, 2
cmp dword [rsi + 0x10], r8d
jge 0x140007911
mov rcx, qword [rsi]
xor r9d, r9d
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14001c390.0]
mov rax, qword [rsi + 8]
xor ecx, ecx
mov word [rax], cx
mov rax, qword [0x14005c2e0]
cmp byte [rax + 0x2d3], r15b
je 0x140007939
mov rcx, qword [r14 + 8]
mov edx, 1
call qword [sym.imp.Mso98Win32Client.dll_Ordinal_4573]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140039650
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x304b851
call fcn.140003f14
int3