Function at 0x140081040
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb98]
sub rsp, 0xc98
mov r15, rcx
mov dword [rbp + 0xbf8], 1
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rbp + 0xbf8], 1
mov r13d, ebx
mov dword [rbp + 0xbf0], 0x100
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081380
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xbf0]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140081374
nop dword [rax]
lea r9, [rbp - 0x70]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards_s
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.140080e10
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081332
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ServiceName
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140081327
lea r9, [rbp + 0x190]
lea r8, str.._s
mov edx, 0x200
lea rcx, [rbp + 0x790]
call fcn.140080e10
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140081327
mov dword [rsp + 0x44], 0x1010101
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 6
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x170002
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400812e5
mov esi, dword [rsp + 0x48]
test esi, esi
je 0x1400812b5
lea r14d, [rsi - 1]
lea rdi, [rsp + 0x60]
nop dword [rax + rax]
movzx r8d, byte [rdi]
lea rdx, str._02X
lea rcx, [rbp + 0xbe8]
call fcn.14003eca0
lea rax, [rbp + 0xbe8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140081275
lea rdx, [rbp + 0xbe8]
lea rcx, [rsp + 0x68]
call fcn.14003aee0
cmp ebx, r14d
jae 0x1400812ac
mov r8d, 1
lea rdx, [0x1400f33cc]
lea rcx, [rsp + 0x68]
call fcn.14003aee0
inc ebx
inc rdi
cmp ebx, esi
jb 0x140081250
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1400812d3
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14003a900
add qword [r15 + 8], 0x20
jmp 0x1400812e3
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, r15
call fcn.14003eea0
xor ebx, ebx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140081327
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081322
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081397
call fcn.140084f34
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r13d
mov dword [rbp + 0xbf0], 0x100
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xbf0]
lea r8, [rbp - 0x70]
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140081100
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, r15
add rsp, 0xc98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3