Function at 0x10000251c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x100
mov rax, qword [0x100012110]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov esi, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetACP]
mov r13d, 2
lea rdx, [rsp + 0x78]
movsxd rcx, eax
mov r8d, r13d
mov qword [0x100013170], rbx
call qword [sym.imp.GDI32.dll_TranslateCharsetInfo]
neg eax
sbb ecx, ecx
xor ebp, ebp
and ecx, dword [rsp + 0x78]
mov word [rsp + 0xe0], bp
mov dword [rsp + 0x78], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edi, [rbp + 0x20]
lea r8, [rsp + 0xa0]
mov r9d, edi
mov edx, 0x2af8
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
jne 0x1000025c5
lea r8, [0x1000017f8]
lea rcx, [rsp + 0xa0]
or r9, 0xffffffffffffffff
mov rdx, rdi
call sub.msvcrt.dll_wcsncpy_s
mov edi, 9
mov ecx, edi
call fcn.100006d6c
lea rcx, [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x68], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], ebp
neg eax
mov dword [rsp + 0x30], ebp
xor r8d, r8d
xor edx, edx
mov ecx, eax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, edi
mov qword [0x1000133a0], rax
call fcn.100006d6c
lea r9, [0x1000028b0]
add eax, eax
lea edx, [rdi + 0x5c]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rbp
mov dword [0x100013388], eax
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x1000133b0], rax
cmp rax, rbp
jne 0x100002661
xor eax, eax
jmp 0x1000027e1
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1000133b0]
mov edx, 0x68
mov rbx, rax
and ebx, 0x400000
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
cmp rax, rbp
je 0x10000265a
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, 0xffffffec
mov rcx, rdi
or rax, rbx
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x100033b60]
cmp rcx, rbp
je 0x10000265a
lea rax, [rsp + 0x70]
lea rdx, [0x100001818]
mov ebx, 4
mov qword [rsp + 0x28], rax
lea rax, [0x100033b50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x100033b50]
mov edx, 0xc8
cmp eax, ebp
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
cmovl ecx, edx
mov qword [rsp + 0x28], rax
lea rax, [0x100033b54]
mov dword [0x100033b50], ecx
mov rcx, qword [0x100033b60]
lea rdx, [0x100001830]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x100033b54]
lea rdx, [0x100001848]
cmp eax, ebp
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
cmovl ecx, r13d
mov qword [rsp + 0x28], rax
lea rax, [0x100033b58]
mov dword [0x100033b54], ecx
mov rcx, qword [0x100033b60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x100033b58]
movzx edx, word [0x100012b34]
lea r8d, [rbx + 0x2e]
cmp eax, ebp
cmovl ecx, r8d
xor r8d, r8d
mov dword [0x100033b58], ecx
xor ecx, ecx
call fcn.100006dc0
mov rcx, qword [0x1000133b0]
mov edx, esi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1000133b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1000133b0]
lea edx, [rbx + 0x65]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
lea eax, [rbx - 3]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.10000f2c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret