Function at 0x1400891d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, rcx
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionConsoleTrueTypeFont
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140089419
xor edx, edx
lea r8d, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14013b230
cmp byte [0x14021c5be], bl
je 0x140089384
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r14d, [rbx + 0x20]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x1fc
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x20], rbx
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140089384
mov esi, 0xfe
mov eax, dword [rsp + 0x44]
inc edi
mov ecx, 0x1f
cmp rax, rcx
cmovb ecx, eax
add rcx, rcx
cmp rcx, 0x40
jae 0x140089447
mov eax, dword [rsp + 0x40]
shr rax, 1
mov word [rsp + rcx + 0x70], bx
cmp rax, rsi
mov rcx, rsi
cmovb rcx, rax
add rcx, rcx
cmp rcx, 0x1fe
jae 0x140089447
mov word [rbp + rcx - 0x50], bx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov r8d, 0xa
call fcn.1401437b4
test eax, eax
je 0x140089336
cmp word [rbp - 0x50], bx
je 0x140089336
cmp word [rbp - 0x50], 0x2a
lea rax, [rbp - 0x50]
lea rcx, [rbp - 0x4e]
mov rdx, r15
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14008940c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x1fc
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400892ac
mov esi, ebx
lea r14, [rsp + 0x70]
mov eax, 0x30
inc esi
mov word [r14], ax
mov eax, esi
add rax, rax
cmp rax, 0x40
jae 0x14008944d
mov word [rsp + rax + 0x70], bx
lea rdi, [rbp - 0x50]
movzx eax, bx
lea r9, [rsp + 0x48]
mov ecx, 0xff
mov dword [rsp + 0x58], 0x1fe
rep stosw word [rdi], ax
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
lea rax, [rbp - 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008940e
mov rdx, r15
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14008940c
add r14, 2
cmp esi, 0x14
jb 0x14008938b
jmp 0x14008940e
mov bl, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14013a21c
int3
call fcn.14013a21c
int3