Function at 0x18000f520
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x480
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1800ac2b8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r13, rcx
lea rcx, case.0x180034a3c.6
mov rax, qword [case.0x180034a3c.6]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
xor r14d, r14d
test ecx, ecx
jne 0x18000f5f4
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x18000f684
cmp dword [rdx + 0x10], eax
jge 0x18000f5c7
cmp dword [rbx - 0xc], eax
jge 0x18000f5ba
mov ecx, 0x80070057
call fcn.180002fb0
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x18000f684
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000f5dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x18000f684
mov r12d, dword [rbx - 0x10]
lea rbp, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x18000f627
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.180003fe0
mov rbx, qword [rsp + 0x30]
cmp rbp, r12
ja 0x18000f64b
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + rbp*2]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, r12
mov rcx, rbx
call fcn.18005f71c
jmp 0x18000f66b
movsxd rax, edi
lea r12, [rax + rax]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, r12
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov rcx, rbx
call fcn.18005f078
test edi, edi
js 0x18000f7c2
cmp edi, dword [rbx - 0xc]
jg 0x18000f7c2
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], r14w
test r13, r13
jne 0x18000f68e
mov ecx, r14d
jmp 0x18000f69f
xor eax, eax
mov rcx, rsi
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1800113a0
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
xor r8d, r8d
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000f6fa
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000f6f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
xor eax, eax
jmp 0x18000f7cd
mov word [rsp + 0x50], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.18005f790
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, [0x1800896f8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x180089708]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, r13
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000f797
lea rdx, [0x180089718]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000f7bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov eax, 1
jmp 0x18000f7cd
mov ecx, 0x80070057
call fcn.180002fb0
nop
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18005f4d0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret