Function at 0x140006e0c
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400b8158]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov dword [rbp - 0x60], 0x74666f53
mov dword [rbp - 0x59], 0x55455c65
mov word [rbp - 0x55], 0x4b44
mov word [rbp - 0x5c], 0x6177
mov byte [rbp - 0x53], 0
mov byte [rbp - 0x5a], WSACleanup
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000c5a0
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x10]
call fcn.140057cb0
lea rcx, [rbp - 0x10]
call fcn.140007218
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.14000c5a0
nop
lea r8, [0x1400a44dc]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000b28c
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b354
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000bd3c
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or r12d, 0xffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140006efe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140006f20
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140006f41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
and dword [rsp + 0x30], 0
mov eax, 4
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rbp - 0x4f], 0x65747379
mov dword [rbp - 0x4b], 0x4455456d
mov dword [rbp - 0x43], 0x70795474
mov word [rbp - 0x3f], 0x65
mov byte [rbp - 0x50], 0x53
mov word [rbp - 0x46], 0x6f46
mov byte [rbp - 0x44], WSASetLastError
mov byte [rbp - 0x47], 0x4b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov r13d, 1
cmp dword [rsp + 0x30], r13d
jne 0x1400071c8
call fcn.14000cbe0
mov rcx, rax
test rax, rax
jne 0x140006fd8
mov ecx, 0x80004005
call fcn.14000c970
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rbp - 0x19], 0x313d73
mov dword [rbp - 0x28], 0x753f7068
mov dword [rbp - 0x1e], 0x73253d6d
mov dword [rbp - 0x37], 0x73707474
mov word [rbp - 0x30], 0x7325
mov word [rbp - 0x33], 0x2f3a
mov dword [rbp - 0x2d], 0x2e676f6c
mov word [rbp - 0x23], 0x3d64
mov byte [rbp - 0x38], 0x68
mov byte [rbp - 0x31], Ordinal_50
mov word [rbp - 0x20], 0x2673
mov byte [rbp - 0x21], 0x25
mov byte [rbp - 0x29], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x2e], Ordinal_50
mov byte [rbp - 0x1a], Ordinal_41
mov byte [rbp - 0x24], 0x69
lea rcx, [rsp + 0x70]
call fcn.140011f4c
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140006b2c
nop
lea rcx, [0x1400a4540]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbx]
mov r8, qword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.14000bee8
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140007099
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400070ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor edi, edi
mov rbx, qword [rsp + 0x38]
cmp edi, 3
jne 0x1400070e3
lea r8, [0x1400a44ec]
lea rdx, [0x1400a4568]
lea rcx, [rsp + 0x38]
call fcn.14000b93c
mov rbx, qword [rsp + 0x38]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.140057cb0
lea rcx, [rbp + 0x100]
call fcn.140007218
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
and qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.14000d470
test al, al
je 0x140007162
lea rcx, [rbp - 0x80]
mov rsi, qword [rbp - 0x68]
cmp rsi, 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, r13
cmp qword [rbp - 0x70], r13
cmovb r8, qword [rbp - 0x70]
test r8, r8
je 0x140007156
lea rdx, [0x1400a44f4]
call fcn.140058220
test eax, eax
jne 0x140007162
cmp qword [rbp - 0x70], r13
jne 0x140007162
xor eax, eax
test eax, eax
je 0x140007194
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140007187
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x80]
call fcn.140006930
add edi, r13d
cmp edi, 6
jge 0x1400071ab
jmp 0x1400070c1
cmp rsi, 0x10
jb 0x1400071ab
lea rdx, [rsi + 1]
mov r8, r13
mov rcx, qword [rbp - 0x80]
call fcn.140006930
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400071c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400071e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140054fe0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret