Function at 0x1800ce3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3280]
mov eax, 0x3380
call fcn.180103500
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x33b8], rbx
mov qword [rsp + 0x33c0], rsi
mov qword [rsp + 0x33c8], rdi
mov rax, qword [0x1801c1080]
xor rax, rsp
mov qword [rbp + 0x3270], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
cmp byte [rcx + 0x60], 0
jne 0x1800cf012
mov byte [rcx + 0x60], 1
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_NTCurrentVersionFontLinkSystemLink]
movaps xmmword [rbp + 0x60], xmm0
movaps xmm1, xmmword [0x180182e10]
movaps xmmword [rbp + 0x70], xmm1
movaps xmm0, xmmword [0x180182e20]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm1, xmmword [0x180182e30]
movaps xmmword [rbp + 0x90], xmm1
movaps xmm0, xmmword [0x180182e40]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm1, xmmword [0x180182e50]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmm0, xmmword [0x180182e60]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm1, xmmword [0x180182e70]
movaps xmmword [rbp + 0xd0], xmm1
movzx eax, word [0x180182e80]
mov word [rbp + 0xe0], ax
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [0x180182ea0]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [0x180182eb0]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [0x180182ec0]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm0, xmmword [0x180182ed0]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [0x180182ee0]
movaps xmmword [rbp + 0x40], xmm1
mov eax, dword [0x180182ef0]
mov dword [rbp + 0x50], eax
movzx eax, word [0x180182ef4]
mov word [rbp + 0x54], ax
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r12d, 1
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800cf012
mov rsi, qword [rsp + 0x78]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800cf009
mov r14, qword [rsp + 0x70]
mov qword [rbp - 0x40], r14
xor edx, edx
lea r8d, [r12 + 0x7f]
lea rcx, [rbp + 0x1f0]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2a70]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xa70]
call fcn.1801099b0
mov dword [rsp + 0x4c], 0x400
mov dword [rsp + 0x48], 0x7fe
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xa70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x2a70]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movabs r15, 0x38e38e38e38e38d
cmp eax, 0x103
je 0x1800cec5d
test eax, eax
jne 0x1800cec4e
cmp dword [rsp + 0x40], 7
jne 0x1800cebc5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov r15, rdi
mov qword [rbp - 0x70], rdi
lea rdi, [rbp + 0xa70]
mov r13, qword [rbp - 0x78]
cmp word [rbp + 0xa70], ax
je 0x1800ce9ad
xor esi, esi
nop dword [rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x270]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1270]
call fcn.1801099b0
mov edx, 0x400
lea rcx, [rbp + 0x1270]
lea rax, [rbp + 0x1270]
mov r8, rdi
sub r8, rax
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x1800ce6e4
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800ce6e4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800ce6c1
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov edx, 0x2c
lea rcx, [rbp + 0x1270]
call fcn.180108e9c
mov rbx, rax
test rax, rax
je 0x1800ce776
movzx ecx, word [rax + 2]
call fcn.180129118
test eax, eax
jne 0x1800ce983
movzx ecx, word [rbx + 2]
call fcn.180129118
test eax, eax
jne 0x1800ce8f7
mov edx, 0x400
lea rcx, [rbp + 0x270]
lea rax, [rbp + 0x270]
sub rbx, rax
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x1800ce766
movzx eax, word [rbx + rcx + 2]
test ax, ax
je 0x1800ce766
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800ce743
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
jmp 0x1800ce8f4
mov word [rbp + 0x270], si
mov ebx, esi
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2270]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1a70]
call fcn.1801099b0
xor edx, edx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1a70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x58], 0x400
mov dword [rsp + 0x44], 0x7fe
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x2270]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1800ce8b1
test eax, eax
jne 0x1800ce8b1
cmp dword [rsp + 0x60], 1
jne 0x1800ce827
lea rdx, [rbp + 0x1270]
lea rcx, [rbp + 0x1a70]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1800ce858
inc ebx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2270]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1a70]
call fcn.1801099b0
mov edx, ebx
jmp 0x1800ce7a9
mov edx, 0x400
lea rcx, [rbp + 0x270]
lea r8, [rbp + 0x2270]
lea rax, [rbp + 0x270]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x1800ce8a3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800ce8a3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800ce880
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
cmp word [rbp + 0x270], 0
je 0x1800ce983
lea rdx, [0x180182fcc]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1800ce8db
mov word [rax], si
lea rdx, [0x180182fd4]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1800ce8f7
mov word [rax], si
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
lea rax, [rbp + 0x270]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800ce915
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x38]
call fcn.18004f440
nop
cmp r15, r13
je 0x1800ce962
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
add r13, 0x20
mov qword [rbp - 0x78], r13
jmp 0x1800ce97a
lea r8, [rbp - 0x38]
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.18007ffe0
mov r15, qword [rbp - 0x70]
mov r13, qword [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.18004f5d0
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x1800ce990
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x1800ce680
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call fcn.1801099b0
mov edx, 0x80
lea rcx, [rbp + 0xf0]
lea r8, [rbp + 0x2a70]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x1800cea03
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800cea03
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800ce9e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor edi, edi
mov word [rax], di
mov edx, 0x80
lea rcx, [rbp + 0xf0]
call fcn.18013b500
lea rdx, str.Tahoma
lea rcx, [rbp + 0xf0]
call fcn.1801164dc
mov rbx, qword [rbp - 0x80]
test eax, eax
jne 0x1800ceab2
cmp rbx, r13
je 0x1800cebbc
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800cea55
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x1f0]
lea rax, [rbp + 0x1f0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7fffffbe]
test rax, rax
je 0x1800cea93
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800cea93
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800cea70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], di
mov edx, 0x40
lea rcx, [rbp + 0x1f0]
call fcn.18013b500
cmp rbx, r13
je 0x1800cebbc
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800ceae0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x38]
call fcn.18004f440
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1800d1a30
mov rdi, qword [rdi + 8]
mov rax, qword [rsp + 0x68]
cmp rax, rdi
jne 0x1800ceb90
lea rax, [rbp - 0x38]
mov qword [rsp + 0x58], rax
mov rdi, qword [rdi]
mov r15, qword [rdi + 8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, rdi
call fcn.1800d8aa0
mov r10, qword [rsp + 0x50]
mov rdx, qword [r10 + 0x10]
movabs rcx, 0x38e38e38e38e38d
sub rcx, rdx
cmp rcx, 1
jb 0x1800cf042
lea rcx, [rdx + 1]
mov qword [r10 + 0x10], rcx
mov qword [rdi + 8], rax
mov qword [r15], rax
mov r9, qword [r10 + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x60]
mov rcx, r10
call fcn.1800d7430
mov rax, qword [rbp - 0x60]
jmp 0x1800ceb98
mov qword [rbp - 0x60], rax
mov byte [rbp - 0x58], 0
lea rcx, [rax + 0x30]
lea rax, [rbp - 0x80]
cmp rcx, rax
je 0x1800cebb1
mov r8, r13
mov rdx, rbx
call fcn.1800d3ca0
nop
lea rcx, [rbp - 0x38]
call fcn.18004f5d0
xor edi, edi
lea rcx, [rbp - 0x80]
call fcn.18007faa0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2a70]
call fcn.1801099b0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xa70]
call fcn.1801099b0
mov dword [rsp + 0x4c], 0x400
mov dword [rsp + 0x48], 0x7fe
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xa70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x2a70]
mov edx, r12d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc r12d
cmp eax, 0x103
jne 0x1800ce640
mov rbx, qword [rsp + 0x50]
movabs r15, 0x38e38e38e38e38d
lea rax, [rbp + 0x1f0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800cec70
lea r13, [rbx + 0x40]
lea rdx, [rbp + 0x1f0]
mov rcx, r13
call fcn.18004f440
mov r8, r13
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1800d1a30
mov rbx, qword [rbx + 8]
mov rax, qword [rsp + 0x68]
cmp rax, rbx
jne 0x1800ced11
mov qword [rsp + 0x68], r13
mov rbx, qword [rbx]
mov rdi, qword [rbx + 8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
call fcn.1800d8c00
mov rcx, rax
mov r10, qword [rsp + 0x50]
mov rax, qword [r10 + 0x10]
sub r15, rax
cmp r15, 1
jb 0x1800cf04f
inc rax
mov qword [r10 + 0x10], rax
mov qword [rbx + 8], rcx
mov qword [rdi], rcx
mov r9, qword [r10 + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x60]
mov rcx, r10
call fcn.1800d7430
mov rax, qword [rbp - 0x60]
xor edi, edi
lea r12, [rax + 0x30]
mov r15d, edi
lea rdi, str.SimSun_ExtB
xor esi, esi
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800ceeb5
cmp word [rbx], 0
je 0x1800ceeb5
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0xf0]
call fcn.1801099b0
mov edx, 0x40
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub rbx, rax
lea rax, [rdx + 0x7fffffbe]
test rax, rax
je 0x1800ced83
movzx eax, word [rcx + rbx]
test ax, ax
je 0x1800ced83
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800ced61
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov edx, 0x40
lea rcx, [rbp + 0xf0]
call fcn.18013b500
mov r11, qword [r12 + 8]
mov r9, qword [r12]
cmp r9, r11
je 0x1800cee28
lea rax, [rbp + 0xf0]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rax + r10*2], 0
jne 0x1800cedc0
nop dword [rax + rax]
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x1800ceddd
mov r8, qword [r9]
mov rdx, qword [r9 + 0x10]
cmp rdx, r10
jne 0x1800cee16
lea rcx, [rbp + 0xf0]
test rdx, rdx
je 0x1800cee1f
lea rax, [rbp + 0xf0]
sub r8, rax
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800cee16
add rcx, 2
sub rdx, 1
je 0x1800cee1f
jmp 0x1800cee00
add r9, 0x20
cmp r9, r11
jne 0x1800cedd0
cmp r9, r11
jne 0x1800ceeb5
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800cee50
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x38]
call fcn.18004f440
nop
mov rdx, qword [r12 + 8]
cmp qword [r12 + 0x10], rdx
je 0x1800cee9f
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
add qword [r12 + 8], 0x20
jmp 0x1800ceeac
lea r8, [rbp - 0x38]
mov rcx, r12
call fcn.18007ffe0
nop
lea rcx, [rbp - 0x38]
call fcn.18004f5d0
inc r15d
add rdi, 8
cmp r15d, 4
jb 0x1800ced21
mov rax, qword [r12 + 8]
cmp qword [r12], rax
mov rsi, qword [rbp - 0x68]
je 0x1800cefff
mov r15, qword [rsp + 0x50]
mov rax, qword [r15 + 8]
mov rdi, qword [rax]
cmp rdi, rax
je 0x1800cefff
nop
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x1800ceefe
mov rdx, qword [r13]
lea rcx, [rdi + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1800cef0c
mov rcx, qword [rcx]
call fcn.1801164dc
test eax, eax
je 0x1800ceff2
mov rbx, qword [r12]
cmp rbx, qword [r12 + 8]
je 0x1800ceff2
nop dword [rax + rax]
mov r10, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800cef3d
mov r10, qword [rbx]
mov r11, qword [rdi + 0x38]
mov r9, qword [rdi + 0x30]
cmp r9, r11
je 0x1800cefb4
nop word [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r10 + rax*2], 0
jne 0x1800cef60
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x1800cef78
mov r8, qword [r9]
mov rdx, qword [r9 + 0x10]
cmp rdx, rax
jne 0x1800cefa6
mov rax, r10
test rdx, rdx
je 0x1800cefaf
sub r8, r10
nop dword [rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x1800cefa6
add rax, 2
sub rdx, 1
je 0x1800cefaf
jmp 0x1800cef90
add r9, 0x20
cmp r9, r11
jne 0x1800cef50
cmp r9, r11
jne 0x1800cefde
mov rax, r11
cmp qword [rdi + 0x40], r11
je 0x1800cefcf
mov rdx, rbx
mov rcx, rax
call fcn.1800520d0
add qword [rdi + 0x38], 0x20
jmp 0x1800cefde
mov r8, rbx
mov rdx, rax
lea rcx, [rdi + 0x30]
call fcn.18005d8c0
add rbx, 0x20
cmp rbx, qword [r12 + 8]
jne 0x1800cef30
mov r15, qword [rsp + 0x50]
mov rdi, qword [rdi]
cmp rdi, qword [r15 + 8]
jne 0x1800ceef0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3270]
xor rcx, rsp
call fcn.1801027e0
lea r11, [rsp + 0x3380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1800e1f2c
nop
lea rcx, str.list_T__too_long
call fcn.1800e1f2c
int3