Function at 0x140014770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x140020878]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call fcn.140014ce0
test eax, eax
jne 0x140014c0f
mov dword [rsp + 0x38], 1
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
and eax, 0x3ff
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x26
ja case.0x1400147fd.3
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x14c38]
add rax, rcx
jmp rax
lea rdx, [0x140020598]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205a0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205a8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205b0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205b8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205c0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205c8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205d0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
movzx eax, word [rsp + 0x30]
sar eax, 0xa
cmp eax, 2
jne 0x1400148f3
lea rdx, [0x1400205d8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014908
lea rdx, [0x1400205e0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205e8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205f0]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x1400205f8]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020600]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020608]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020610]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020618]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020620]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020628]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020630]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020638]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020640]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020648]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020650]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020658]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020660]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020668]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020670]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020678]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
lea rdx, [0x140020680]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
jmp 0x140014b23
mov dword [rsp + 0x38], 0
lea rdx, [0x140020688]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
cmp qword [rsp + 0x288], 0
je 0x140014c0f
cmp dword [rsp + 0x38], 0
je 0x140014c0f
lea rdx, str.Language
lea rcx, [0x1400206a8]
call fcn.140001b90
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014c0f
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x3c], 0x104
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014c04
lea rdx, [0x1400206e8]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
lea rdx, [0x1400202a4]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140015420
add rsp, 0x270
pop rdi
ret