Function at 0x10000e5b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x10001f190]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebx, 1
mov dword [rsp + 0x34], ebx
xor edi, edi
mov byte [rsp + 0x30], dil
mov esi, 0x20019
cmp qword [0x100022f98], rdi
jne 0x10000e626
lea rax, [0x100022f98]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, [0x100003f58]
mov rcx, qword [0x100023278]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [0x100022d88]
cmp rcx, rdi
jne 0x10000e65f
lea rax, [0x100022d88]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, [0x1000022e0]
mov rcx, qword [0x100023278]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [0x100022d88]
mov dword [rsp + 0x34], ebx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100003f00]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp qword [0x100023278], rdi
jne 0x10000e69b
mov dword [0x100023754], edi
jmp 0x10000e6b4
cmp eax, edi
jne 0x10000e6ae
cmp byte [rsp + 0x30], dil
jne 0x10000e6ae
mov dword [0x100023754], edi
jmp 0x10000e6b4
mov dword [0x100023754], ebx
mov ebp, 0x20a
mov r8, rbp
xor edx, edx
lea rsi, [0x100023490]
mov rcx, rsi
call sub.msvcrt.dll_memset
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100003ea0]
mov rcx, qword [0x100022d88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x10000e716
lea r8, [0x100023070]
mov rdx, rbp
mov rcx, rsi
call fcn.10000b75c
jmp 0x10000e75b
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, edi
je 0x10000e749
cmp eax, 0x104
jae 0x10000e749
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, rsi
call fcn.10000b75c
jmp 0x10000e75b
lea r8, [0x100023070]
mov rdx, rbp
mov rcx, rsi
call fcn.10000b75c
mov r8, rsi
movzx eax, word [0x100023490]
cmp ax, di
je 0x10000e782
movzx r9d, ax
add r8, 2
mov ax, word [r8]
cmp ax, di
jne 0x10000e76a
cmp r9w, 0x5c
je 0x10000e794
lea r8, [0x1000026ec]
mov rdx, rbp
mov rcx, rsi
call fcn.100006714
mov dword [rsp + 0x34], ebx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100003ee0]
mov rcx, qword [0x100022f98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10000e7db
cmp byte [rsp + 0x30], dil
jne 0x10000e7db
mov edx, edi
mov dword [0x10001f538], edx
jmp 0x10000e7e3
mov edx, ebx
mov dword [0x10001f538], ebx
mov rcx, qword [0x1000236c8]
call qword [0x100023488]
mov dword [rsp + 0x34], ebx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100003ec8]
mov rcx, qword [0x100022f98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, byte [rsp + 0x30]
cmp eax, edi
cmovne ecx, ebx
mov byte [rsp + 0x30], cl
movzx edx, cl
mov rcx, qword [0x1000236c8]
call qword [0x1000236d0]
lea r8, [0x10001f530]
mov edx, ebx
lea rcx, [0x100003e58]
call fcn.10000e4fc
cmp eax, edi
je 0x10000e885
mov edx, dword [0x10001f530]
mov rcx, qword [0x100023740]
call fcn.100013e48
cmp dword [0x10001f530], edi
jne 0x10000e885
cmp eax, edi
je 0x10000e885
mov edx, eax
mov rcx, qword [0x100023740]
call fcn.1000142a4
lea r8, [0x10002371c]
xor edx, edx
lea rcx, [0x100003e78]
call fcn.10000e4fc
cmp eax, edi
je 0x10000e8df
cmp qword [0x100023740], rdi
je 0x10000e8df
mov r8, qword [0x100023780]
cmp r8, rdi
je 0x10000e8df
cmp dword [0x10002371c], edi
je 0x10000e8c9
mov rcx, qword [0x10001f360]
call fcn.100013ddc
jmp 0x10000e8df
mov r8, qword [r8 + 8]
mov edx, dword [0x10001f368]
mov rcx, qword [0x10001f360]
call fcn.100013b1c
lea r9, [0x10001f534]
mov r8d, ebx
lea rdx, [0x100003e30]
mov rcx, qword [0x100023748]
call fcn.10000e46c
lea r9, [0x100023750]
xor r8d, r8d
lea rdx, [0x100003e18]
mov rcx, qword [0x100023748]
call fcn.10000e46c
mov dword [rsp + 0x38], 0x208
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x100022b80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100003ea0]
mov rcx, qword [0x100023748]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x10000e95c
mov word [0x100022b80], di
mov dword [rsp + 0x20], ebx
mov r9, qword [0x100022b78]
mov r8d, 4
mov edx, ebx
mov rcx, qword [0x100023068]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
cmp eax, edi
je 0x10000e9c2
lea rdx, [0x100003fc8]
lea rcx, [rsp + 0x38]
call fcn.1000184c0
nop
mov edx, 2
mov r9d, ebx
mov r8d, 0xc0ff200d
lea rcx, [rsp + 0x38]
call fcn.100018518
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, rdi
je 0x10000e9c2
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.100019220
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret