Function at 0x140008158
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xae8]
sub rsp, 0xbb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14003e0a8]
xor rax, rsp
mov qword [rbp + 0xaa0], rax
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov rdi, rcx
xor r13d, r13d
mov ebx, r13d
mov word [rbp + 0xc0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xc2]
call fcn.14001dbc0
mov r12d, 0x208
cmp word [str.2CB51501_DA86_4216_9C9B_2C52A64BA047], 0x7b
jne 0x1400081f9
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xc0]
lea rdx, str.InstallLocation
lea rcx, str.2CB51501_DA86_4216_9C9B_2C52A64BA047
call qword [0x140032600]
jmp 0x14000820f
lea r8, str.2CB51501_DA86_4216_9C9B_2C52A64BA047
mov rdx, r12
lea rcx, [rbp + 0xc0]
call fcn.140004074
mov r15d, 0x6b
cmp word [rbp + 0xc0], r13w
je 0x1400085a2
lea rcx, [rbp + 0xc0]
call qword [0x140032350]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0xbe], 0x5c
je 0x140008254
lea r8, [0x140034f90]
mov rdx, r12
lea rcx, [rbp + 0xc0]
call fcn.14000728c
lea r8, str.Resources
mov rdx, r12
lea rcx, [rbp + 0xc0]
call fcn.14000728c
mov dword [rbp - 0x80], 0x114
lea rcx, [rbp - 0x80]
call qword [0x1400320c0]
test rdi, rdi
je 0x1400082c1
cmp word [rdi], r13w
je 0x1400082c1
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.1400089ac
test al, al
je 0x1400082c1
cmp word [rsp + 0x32], r15w
jne 0x1400082c1
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
test rax, rax
jne 0x1400085f0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.140008620
mov r11, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
sub r11, rdi
movabs rax, 0x4bda12f684bda13
imul r11
mov r14, rdx
sar r14, 2
mov rax, r14
shr rax, 0x3f
add r14, rax
cmp r14, 1
jne 0x14000832d
lea rdx, [rdi + 0xcc]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
jmp 0x140008581
jbe 0x140008581
mov dword [rsp + 0x30], 0x4090000
lea rcx, str.kernel32
call qword [0x1400320d0]
mov rcx, rax
lea rdx, str.GetUserDefaultUILanguage
call qword [0x1400320c8]
test rax, rax
je 0x140008369
call rax
mov word [rsp + 0x30], ax
jmp 0x140008409
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Control_PanelDesktopResourceLocale
mov rcx, 0xffffffff80000001
call qword [0x140032018]
test eax, eax
jne 0x140008409
mov word [rbp + 0xa0], r13w
xor eax, eax
mov qword [rbp + 0xa2], rax
mov qword [rbp + 0xaa], rax
mov dword [rsp + 0x48], 0x12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [0x140032010]
cmp word [rbp + 0xa0], r13w
je 0x1400083fe
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.14001da58
mov word [rsp + 0x30], ax
mov rcx, qword [rsp + 0x40]
call qword [0x140032008]
mov r15d, r13d
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rsi
cmp word [rsi], r13w
je 0x140008540
mov word [rbp + 0xa0], r13w
xor eax, eax
mov qword [rbp + 0xa2], rax
mov qword [rbp + 0xaa], rax
mov qword [rbp + 0xb2], rax
lea rdx, [rbp + 0xa0]
movzx ecx, word [rsi]
call fcn.140007ff0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
test rax, rax
jne 0x140008576
movzx r12d, word [rsi]
mov eax, 0x3ff
and r12w, ax
cmp r12w, word [rsi]
je 0x1400084af
lea rdx, [rbp + 0xa0]
movzx ecx, r12w
call fcn.140007ff0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
test rax, rax
jne 0x140008576
mov eax, 0x400
movzx ecx, r12w
or cx, ax
cmp cx, word [rsi]
je 0x1400084eb
lea rdx, [rbp + 0xa0]
call fcn.140007ff0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
test rax, rax
jne 0x140008576
test r14, r14
je 0x140008538
mov rsi, rdi
mov ecx, 0x3ff
movzx eax, word [rsi]
and ax, cx
cmp ax, r12w
jne 0x140008524
lea rdx, [rsi + 0xcc]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
test rax, rax
jne 0x140008573
mov ecx, 0x3ff
inc r13
add rsi, 0xd8
cmp r13, r14
jb 0x1400084f8
mov rsi, qword [rsp + 0x40]
xor r13d, r13d
test rbx, rbx
jne 0x140008576
inc r15d
add rsi, 2
mov qword [rsp + 0x40], rsi
cmp r15d, 2
jb 0x140008416
test rbx, rbx
jne 0x140008576
lea rdx, [rdi + 0xcc]
lea rcx, [rbp + 0xc0]
call fcn.1400080ec
mov rbx, rax
jmp 0x140008576
xor r13d, r13d
mov rsi, qword [rsp + 0x38]
mov r15d, 0x6b
test rdi, rdi
je 0x14000858e
mov rcx, rdi
call fcn.14001d2e0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
test rbx, rbx
jne 0x1400085f0
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
lea r9, str.UltraMonRes.dll
lea r8, str.Failed_to_load_resource_DLL__s._Try_repairing_your_installation_of__s__and_make_sure_that_all_language_packs_have_the_correct_version__version__d_is_required._n
mov edx, 0x7d0
lea rcx, [rbp + 0x2d0]
call fcn.1400040ec
lea rcx, [rbp + 0x2d0]
call qword [0x1400320d8]
mov r9d, 0x30
mov r8, rsi
lea rdx, [rbp + 0x2d0]
xor ecx, ecx
call qword [0x1400325b0]
mov rax, rbx
mov rcx, qword [rbp + 0xaa0]
xor rcx, rsp
call fcn.14001d120
mov rbx, qword [rsp + 0xc00]
add rsp, 0xbb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret