Function at 0x10000d830
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, [0x1000063c0]
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 0x10000de65
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000d8e6
lea rdx, [r13 + 0x400]
lea rcx, [rsp + 0x60]
call fcn.10000ded8
mov edi, eax
jmp 0x10000d8eb
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000d91b
mov rcx, qword [0x100025288]
lea rbp, [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0xc
jmp 0x10000de83
lea rax, [rsp + 0x40]
lea r8, [0x100006420]
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, [0x1000063a0]
movzx edi, ax
mov ebx, 0x100
lea rbp, [0x100025288]
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
cmp edi, r15d
jl 0x10000d9f6
cmp r15w, word [rsp + 0x60]
je 0x10000d9c4
lea rcx, [r13 + 0xa0c]
lea r8, [rsp + 0x60]
mov rdx, rbx
sub r8, rcx
lea rax, [rdx + 0x7ffffefe]
cmp rax, r15
je 0x10000d9b5
movzx eax, word [r8 + rcx]
cmp ax, r15w
je 0x10000d9b5
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10000d991
cmp rdx, r15
jne 0x10000d9be
sub rcx, 2
mov word [rcx], r15w
jmp 0x10000da1c
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov rcx, qword [rcx + 0x10]
mov edx, 0xe
mov r8, r12
call fcn.10000a624
jmp 0x10000da1c
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000da1c
test byte [rcx + 0x1c], 4
je 0x10000da1c
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r9d, edi
mov r8, r12
call fcn.100009880
cmp edi, r15d
jl 0x10000de96
lea rax, [rsp + 0x40]
lea r8, [0x1000063d8]
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 0x10000de49
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000da91
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.10000ded8
mov edi, eax
jmp 0x10000da96
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000dac2
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x10
mov r8, r12
jmp 0x10000de8a
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], 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 0x10000de2d
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000db32
lea rdx, [r13 + 0x200]
lea rcx, [rsp + 0x60]
call fcn.10000ded8
mov edi, eax
jmp 0x10000db37
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000db60
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x12
jmp 0x10000daba
lea rax, [rsp + 0x40]
lea r8, [0x100006458]
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 0x10000dc59
mov rcx, qword [r13 + 0xa00]
cmp rcx, r15
je 0x10000dbca
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.10000ee5c
mov r14, rax
cmp rax, r15
je 0x10000dc54
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 0x10000dc51
mov ecx, 0x15
call fcn.1000098bc
mov ebx, 0x30
lea ecx, [rbx - 0x10]
cmp eax, ebx
cmovl ebx, ecx
mov ecx, 0x16
call fcn.100009a90
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 0x10000dc54
xor r15d, r15d
mov r14, qword [rsp + 0x48]
cmp qword [r13 + 0xa00], r15
jne 0x10000dc92
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov rcx, qword [rcx + 0x10]
mov edx, 0x14
mov r8, r12
call fcn.10000a624
cmp edi, r15d
jl 0x10000de96
lea rax, [rsp + 0x40]
lea r8, [0x100006408]
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 0x10000de28
cmp r15w, word [rsp + 0x60]
je 0x10000ddf6
lea rdx, [r13 + 0x800]
lea rcx, [rsp + 0x60]
sub rcx, rdx
lea rax, [rbx + 0x7ffffefe]
cmp rax, r15
je 0x10000dd2b
movzx eax, word [rcx + rdx]
cmp ax, r15w
je 0x10000dd2b
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x10000dd08
cmp rbx, r15
jne 0x10000dd34
sub rdx, 2
lea rax, [rsp + 0x40]
mov word [rdx], r15w
lea r8, [0x100006440]
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 0x10000ddd2
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10000dda0
lea rdx, [r13 + 0x600]
lea rcx, [rsp + 0x60]
call fcn.10000ded8
mov edi, eax
jmp 0x10000dda5
mov edi, 0x80004003
cmp edi, r15d
jge 0x10000de96
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x15
jmp 0x10000daba
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x16
jmp 0x10000daba
mov edi, 0x80004005
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r8, r12
call fcn.10000a624
jmp 0x10000de96
mov edi, r15d
jmp 0x10000de96
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x13
jmp 0x10000daba
mov rcx, qword [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0x11
jmp 0x10000daba
mov rcx, qword [0x100025288]
lea rbp, [0x100025288]
cmp rcx, rbp
je 0x10000de96
test byte [rcx + 0x1c], 4
je 0x10000de96
mov edx, 0xd
lea r8, [0x1000063a0]
mov rcx, qword [rcx + 0x10]
mov r9d, edi
call fcn.100009880
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.100020bf0
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