Function at 0x10000d800
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x100025108]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r13, rcx
mov rcx, qword [rcx + 0x3f658]
mov ebx, 0x200
mov r14, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r15d, r15d
lea r11, [rsp + 0x40]
mov qword [rsp + 0x30], r11
lea rax, [rsp + 0x60]
lea r8, [0x100006390]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 2]
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000de35
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000d8b6
lea rdx, [r13 + 0x400]
lea rcx, [rsp + 0x60]
call fcn.10000dea8
mov edi, eax
jmp 0x10000d8bb
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000d8eb
mov rcx, qword [0x100025288]
lea rbp, [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0xc
jmp 0x10000de53
lea rax, [rsp + 0x40]
lea r8, [0x1000063f0]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r14
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea r12, [0x100006370]
movzx edi, ax
mov ebx, 0x100
lea rbp, [0x100025288]
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000d9c6
cmp r15w, word [rsp + 0x60]
je 0x10000d994
lea rcx, [r13 + 0xa0c]
lea r8, [rsp + 0x60]
mov rdx, rbx
sub r8, rcx
lea rax, [rdx + 0x7ffffefe]
cmp rax, r15
je 0x10000d985
movzx eax, word [r8 + rcx]
cmp ax, r15w
je 0x10000d985
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10000d961
cmp rdx, r15
jne 0x10000d98e
sub rcx, 2
mov word [rcx], r15w
jmp 0x10000d9ec
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov rcx, qword [rcx + 0x10]
mov edx, 0xe
mov r8, r12
call fcn.10000a5f4
jmp 0x10000d9ec
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000d9ec
test byte [rcx + 0x1c], 4
je 0x10000d9ec
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r9d, edi
mov r8, r12
call fcn.100009850
cmp edi, r15d
jl 0x10000de66
lea rax, [rsp + 0x40]
lea r8, [0x1000063a8]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r14
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000de19
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000da61
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.10000dea8
mov edi, eax
jmp 0x10000da66
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000da92
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x10
mov r8, r12
jmp 0x10000de5a
lea rax, [rsp + 0x40]
lea r8, [0x1000063c0]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r14
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000ddfd
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000db02
lea rdx, [r13 + 0x200]
lea rcx, [rsp + 0x60]
call fcn.10000dea8
mov edi, eax
jmp 0x10000db07
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000db30
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x12
jmp 0x10000da8a
lea rax, [rsp + 0x40]
lea r8, [0x100006428]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r14
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000dc29
mov rcx, qword [r13 + 0xa00]
cmp rcx, r15
je 0x10000db9a
call qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [r13 + 0xa00], r15
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], r15
call fcn.10000ee2c
mov r14, rax
cmp rax, r15
je 0x10000dc24
mov rcx, qword [rsp + 0x50]
xor edx, edx
lea r8d, [rdx + 0xa]
add rcx, 2
call qword [sym.imp.msvcrt.dll_wcstol]
mov r15d, eax
test eax, eax
jle 0x10000dc21
mov ecx, 0x15
call fcn.10000988c
mov ebx, 0x30
lea ecx, [rbx - 0x10]
cmp eax, ebx
cmovl ebx, ecx
mov ecx, 0x16
call fcn.100009a60
movzx edx, r15w
xor r15d, r15d
lea r8d, [r15 + 1]
mov r9d, ebx
mov rcx, r14
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [r13 + 0xa00], rax
mov ebx, 0x100
jmp 0x10000dc24
xor r15d, r15d
mov r14, qword [rsp + 0x48]
cmp qword [r13 + 0xa00], r15
jne 0x10000dc62
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov rcx, qword [rcx + 0x10]
mov edx, 0x14
mov r8, r12
call fcn.10000a5f4
cmp edi, r15d
jl 0x10000de66
lea rax, [rsp + 0x40]
lea r8, [0x1000063d8]
mov edi, 0x200
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], edi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, r15d
cmovle ecx, eax
cmp ecx, r15d
jl 0x10000ddf8
cmp r15w, word [rsp + 0x60]
je 0x10000ddc6
lea rdx, [r13 + 0x800]
lea rcx, [rsp + 0x60]
sub rcx, rdx
lea rax, [rbx + 0x7ffffefe]
cmp rax, r15
je 0x10000dcfb
movzx eax, word [rcx + rdx]
cmp ax, r15w
je 0x10000dcfb
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x10000dcd8
cmp rbx, r15
jne 0x10000dd04
sub rdx, 2
lea rax, [rsp + 0x40]
mov word [rdx], r15w
lea r8, [0x100006410]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], edi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000dda2
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000dd70
lea rdx, [r13 + 0x600]
lea rcx, [rsp + 0x60]
call fcn.10000dea8
mov edi, eax
jmp 0x10000dd75
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000de66
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x15
jmp 0x10000da8a
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x16
jmp 0x10000da8a
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r8, r12
call fcn.10000a5f4
jmp 0x10000de66
mov edi, r15d
jmp 0x10000de66
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x13
jmp 0x10000da8a
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0x11
jmp 0x10000da8a
mov rcx, qword [0x100025288]
lea rbp, [0x100025288]
cmp rcx, rbp
je 0x10000de66
test byte [rcx + 0x1c], 4
je 0x10000de66
mov edx, 0xd
lea r8, [0x100006370]
mov rcx, qword [rcx + 0x10]
mov r9d, edi
call fcn.100009850
mov rcx, qword [r13 + 0x3f658]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.100020bc0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret