Function at 0x18006cd50
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x180083d74
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r13d, r13d
mov rsi, rcx
lea rcx, [0x18009dff0]
mov dword [rsp + 0x64], r13d
mov ebx, r13d
mov qword [rbp - 0x58], r13
xor eax, eax
mov qword [rbp - 0x70], rbx
xorps xmm0, xmm0
mov dword [rbp + 0x30], eax
mov r14, rdx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x68], r13
mov r12d, r13d
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], r13
mov dword [rsp + 0x70], r13d
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp - 0x80], r13d
mov dword [rsp + 0x74], r13d
mov dword [rbp - 0x7c], r13d
mov qword [rbp], rcx
mov qword [rbp + 8], r13
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], r13
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x78], r13d
test byte [0x1800b78f3], 0x20
je 0x180083e4b
mov r9, rdx
lea ecx, [rax + 0x1c]
lea rdx, [0x18009f490]
mov r8, rsi
call fcn.180087c6c
test r14, r14
je 0x180083e5a
xor eax, eax
mov rdi, r14
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
test rsi, rsi
jne 0x180083e71
mov edi, 0x80070057
mov dword [rsp + 0x64], 0x2cc
jmp 0x180084462
mov r15d, 0x20019
lea r8, [rbp - 0x58]
mov ecx, r15d
mov edx, 1
call fcn.180085458
mov edi, eax
test eax, eax
jns 0x180083e9b
mov dword [rsp + 0x64], 0x2ce
jmp 0x180084462
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180015ab0
mov edi, eax
test eax, eax
jns 0x180083eba
mov dword [rsp + 0x64], 0x2d0
jmp 0x180084462
mov rdx, qword [rbp + 0x10]
lea rax, [rsp + 0x78]
mov rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8d, r15d
mov qword [rsp + 0x20], rax
call fcn.180082214
mov edi, eax
cmp eax, 0x80070002
je 0x18008445f
test eax, eax
jns 0x180083ef5
mov dword [rsp + 0x64], 0x2d6
jmp 0x180084462
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], r13
xor r9d, r9d
mov qword [rsp + 0x50], r13
xor r8d, r8d
mov qword [rsp + 0x48], r13
xor edx, edx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyA]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x180083f4a
movzx edi, ax
or edi, 0x80070000
test edi, edi
jns 0x180083f5b
mov dword [rsp + 0x64], 0x2d8
jmp 0x180084462
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x18008445f
lea ecx, [rax + rax*4]
shl ecx, 4
lea rdx, [rbp - 0x70]
call fcn.18008330c
mov rbx, qword [rbp - 0x70]
mov edi, eax
test eax, eax
jns 0x180083f8d
mov dword [rsp + 0x64], 0x2df
jmp 0x180084350
mov r15d, r13d
cmp dword [rsp + 0x70], r13d
jbe 0x180084342
mov esi, 1
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x20]
mov qword [rsp + 0x30], r13
mov edx, r15d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x80], 0xa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x180084342
test eax, eax
jg 0x180083fea
mov edi, eax
jmp 0x180083ff3
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x180084452
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x20019
lea rdx, [rbp + 0x20]
call fcn.180082214
mov edi, eax
test eax, eax
js 0x180084445
mov rcx, qword [rsp + 0x68]
lea r9, [rbp - 0x7c]
lea rdx, str.Flags
call fcn.180081f64
mov edi, eax
test eax, eax
js 0x180084438
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x74]
lea rdx, str.Switch
call fcn.180081f64
mov edi, eax
test eax, eax
js 0x18008442b
mov rcx, qword [rsp + 0x68]
lea r8, [rbp]
lea rdx, str.FriendlyName
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x18008441e
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x180084154
sub eax, 1
je 0x1800840df
cmp eax, 1
jne 0x180084258
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x68]
lea rdx, str.Username
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x180084380
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.180015988
mov edi, eax
test eax, eax
jns 0x180084258
mov dword [rsp + 0x64], 0x315
jmp 0x180084350
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x50]
lea rdx, str.Script
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x18008439e
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x68]
lea rdx, str.Username
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x180084394
mov edx, esi
lea rcx, [rbp - 0x50]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x18008438a
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.180015988
mov edi, eax
test eax, eax
jns 0x180084258
mov dword [rsp + 0x64], 0x30f
jmp 0x180084350
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x20]
lea rdx, str.Server
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x180084411
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x68]
lea rdx, str.Username
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x180084404
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x30]
lea rdx, str.Exception
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x1800843f7
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x40]
lea rdx, str.ExtraInfo
call fcn.18008204c
mov edi, eax
test eax, eax
js 0x1800843ea
mov rcx, qword [rsp + 0x68]
lea r9, [rbp - 0x78]
lea rdx, str.Port
call fcn.180081f64
mov edi, eax
test eax, eax
js 0x1800843dd
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x1800843d0
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x1800843c6
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x1800843bc
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x1800843b2
mov edx, esi
lea rcx, [rbp - 0x40]
call fcn.180015988
mov edi, eax
test eax, eax
js 0x1800843a8
mov eax, r12d
lea rcx, [rbp + 0x20]
lea rsi, [rax + rax*4]
shl rsi, 4
call qword [sym.imp.api_ms_win_core_crt_l1_1_0.dll__wtoi]
nop dword [rax + rax]
mov dword [rsi + rbx], eax
lea rdx, [rbx + 0x10]
mov dword [rsi + rbx + 8], 1
lea rcx, [rbp]
mov eax, dword [rbp - 0x7c]
add rdx, rsi
mov dword [rsi + rbx + 0x18], eax
mov eax, dword [rsp + 0x74]
mov dword [rsi + rbx + 0x1c], eax
call fcn.180082848
mov eax, dword [rsi + rbx + 0x1c]
test eax, eax
je 0x1800842d3
sub eax, 1
je 0x1800842b1
cmp eax, 1
jne 0x18008432c
jmp 0x1800842c1
lea rdx, [rbx + 0x20]
add rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.180082848
lea rdx, [rbx + 0x28]
add rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.180082848
jmp 0x18008432c
lea rdx, [rbx + 0x20]
add rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.180082848
lea rdx, [rbx + 0x28]
add rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.180082848
lea rdx, [rbx + 0x30]
add rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.180082848
lea rdx, [rbx + 0x38]
add rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180082848
lea rdx, [rbx + 0x40]
add rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180082848
movzx ecx, word [rbp - 0x78]
mov word [rsi + rbx + 0x48], cx
mov esi, 1
add r12d, esi
add r15d, esi
cmp r15d, dword [rsp + 0x70]
jb 0x180083fa0
mov qword [r14 + 8], rbx
mov rbx, r13
mov qword [rbp - 0x70], rbx
mov dword [r14], r12d
test rbx, rbx
je 0x180084462
test r12d, r12d
je 0x180084462
lea rsi, [rbx + 8]
mov r14d, r12d
mov rcx, rsi
call fcn.180016ae0
add rsi, 0x50
sub r14, 1
jne 0x180084369
jmp 0x180084462
mov dword [rsp + 0x64], 0x314
jmp 0x180084350
mov dword [rsp + 0x64], 0x30e
jmp 0x180084350
mov dword [rsp + 0x64], 0x308
jmp 0x180084350
mov dword [rsp + 0x64], 0x307
jmp 0x180084350
mov dword [rsp + 0x64], 0x302
jmp 0x180084350
mov dword [rsp + 0x64], 0x301
jmp 0x180084350
mov dword [rsp + 0x64], 0x300
jmp 0x180084350
mov dword [rsp + 0x64], 0x2ff
jmp 0x180084350
mov dword [rsp + 0x64], 0x2fe
jmp 0x180084350
mov dword [rsp + 0x64], 0x2f8
jmp 0x180084350
mov dword [rsp + 0x64], 0x2f7
jmp 0x180084350
mov dword [rsp + 0x64], 0x2f6
jmp 0x180084350
mov dword [rsp + 0x64], 0x2f5
jmp 0x180084350
mov dword [rsp + 0x64], 0x2f4
jmp 0x180084350
mov dword [rsp + 0x64], 0x2ef
jmp 0x180084350
mov dword [rsp + 0x64], 0x2ee
jmp 0x180084350
mov dword [rsp + 0x64], 0x2ed
jmp 0x180084350
mov dword [rsp + 0x64], 0x2eb
jmp 0x180084350
mov dword [rsp + 0x64], 0x2e9
jmp 0x180084350
mov edi, r13d
test byte [0x1800b78f3], 0x20
je 0x18008447f
mov ecx, 0x1d
lea rdx, [0x18009f490]
mov r8d, edi
call fcn.1800876bc
mov ecx, edi
call fcn.180011928
lea rcx, [rbp - 0x50]
mov edi, eax
call fcn.180021be4
lea rcx, [rbp - 0x40]
call fcn.180021be4
lea rcx, [rbp - 0x30]
call fcn.180021be4
lea rcx, [rbp - 0x10]
call fcn.180021be4
lea rcx, [rbp - 0x68]
call fcn.180021be4
lea rcx, [rbp - 0x20]
call fcn.180021be4
lea rcx, [rbp]
call fcn.180021be4
test rbx, rbx
je 0x1800844d5
lea rcx, [rbp - 0x70]
call fcn.180030b30
lea rcx, [rbp + 0x10]
call fcn.180021be4
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800844f9
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180084514
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180084529
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.18002d5c0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret