Function at 0x1400f1a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
xor r8d, r8d
lea rdx, [0x1402a39f4]
mov rcx, qword [rsp + 0xe0]
call fcn.14004e740
mov rax, qword [0x14031a1e8]
mov eax, dword [rax + 0xb0]
or eax, 0x20019
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
je 0x1400f1a9f
jmp 0x1400f1fe3
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
je 0x1400f1aea
jmp 0x1400f1fd8
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0xcc], eax
cmp dword [rsp + 0xcc], 1
je 0x1400f1b97
cmp dword [rsp + 0xcc], 2
je 0x1400f1b97
cmp dword [rsp + 0xcc], 3
je 0x1400f1dbc
cmp dword [rsp + 0xcc], 4
je 0x1400f1b3b
cmp dword [rsp + 0xcc], 7
je 0x1400f1b97
jmp 0x1400f1fcd
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1400f1b92
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xe0]
call fcn.1400f2ad0
jmp 0x1400f1fd8
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1400f1be3
cmp dword [rsp + 0x54], 0
jne 0x1400f1be8
jmp 0x1400f1fd8
mov eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
add eax, 2
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.1400aa810
test eax, eax
jne 0x1400f1c24
jmp 0x1400f1fd8
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1400f1c7f
cmp dword [rsp + 0x54], 0
jne 0x1400f1c91
xor eax, eax
mov rcx, qword [rsp + 0xa8]
mov word [rcx], ax
jmp 0x1400f1d9e
mov eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400f1cd3
mov eax, dword [rsp + 0xb0]
dec eax
mov dword [rsp + 0xb0], eax
jmp 0x1400f1ce8
mov eax, dword [rsp + 0xb0]
xor ecx, ecx
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rax*2], cx
cmp dword [rsp + 0x94], 7
jne 0x1400f1d9e
cmp dword [rsp + 0xb0], 0
je 0x1400f1d1b
mov eax, dword [rsp + 0xb0]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1400f1d40
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
xor ecx, ecx
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rax*2], cx
mov dword [rsp + 0xb4], 0
jmp 0x1400f1d5d
mov eax, dword [rsp + 0xb4]
inc eax
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0xb4], eax
jae 0x1400f1d9e
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400f1d9c
mov eax, dword [rsp + 0xb4]
mov ecx, 0xa
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rax*2], cx
jmp 0x1400f1d4d
mov rcx, qword [rsp + 0xa8]
call fcn.1401ea000
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 8], rax
jmp 0x1400f1fd8
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x1400f1e08
cmp dword [rsp + 0x54], 0
jne 0x1400f1e0d
jmp 0x1400f1fd8
mov eax, dword [rsp + 0x54]
shl eax, 1
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.1400aa810
test eax, eax
jne 0x1400f1e30
jmp 0x1400f1fd8
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
xor eax, eax
mov rcx, qword [rsp + 0xa8]
mov word [rcx], ax
mov eax, dword [rsp + 0x54]
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax*2]
mov ecx, dword [rsp + 0x54]
sub rax, rcx
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
je 0x1400f1ec9
mov rax, qword [rsp + 0xe0]
mov qword [rax + 8], 0
jmp 0x1400f1fd8
mov dword [rsp + 0xc0], 0
mov dword [rsp + 0xc4], 0
jmp 0x1400f1ef1
mov eax, dword [rsp + 0xc4]
inc eax
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0xc4], eax
jae 0x1400f1fb5
mov eax, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0xb8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc8], eax
xor edx, edx
mov eax, dword [rsp + 0xc8]
mov ecx, reloc.WSOCK32.dll_recv
div ecx
mov eax, edx
mov eax, eax
lea rcx, str.0123456789ABCDEF
mov edx, dword [rsp + 0xc0]
inc edx
movsxd rdx, edx
mov r8, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
mov word [r8 + rdx*2], ax
xor edx, edx
mov eax, dword [rsp + 0xc8]
mov ecx, reloc.WSOCK32.dll_recv
div ecx
mov dword [rsp + 0xc8], eax
xor edx, edx
mov eax, dword [rsp + 0xc8]
mov ecx, reloc.WSOCK32.dll_recv
div ecx
mov eax, edx
mov eax, eax
lea rcx, str.0123456789ABCDEF
movsxd rdx, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
mov word [r8 + rdx*2], ax
mov eax, dword [rsp + 0xc0]
add eax, 2
mov dword [rsp + 0xc0], eax
jmp 0x1400f1ee1
movsxd rax, dword [rsp + 0xc0]
xor ecx, ecx
mov rdx, qword [rsp + 0xa8]
mov word [rdx + rax*2], cx
jmp 0x1400f1fd8
mov dword [rsp + 0xa4], 0x65e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x14031a1e8]
mov ecx, dword [rsp + 0xa4]
mov dword [rax + 0x64], ecx
cmp dword [rsp + 0xa4], 2
jne 0x1400f204a
cmp qword [rsp + 0x100], 0
je 0x1400f204a
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe0]
call fcn.1400159e0
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x10], 5
jne 0x1400f2048
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov rax, qword [rax]
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x1400f206b
cmp dword [rsp + 0xa4], 0
je 0x1400f206b
mov rax, qword [0x14031a1e8]
mov edx, dword [rax + 0x64]
mov rcx, qword [rsp + 0xe0]
call fcn.1400236b0
mov rcx, rsp
lea rdx, reloc.WSOCK32.dll_connect
call fcn.140134a00
add rsp, 0xd0
pop rdi
ret