Function at 0x140006d84
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 [0x1400c0078]
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.14000c518
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x10]
call fcn.14005c790
lea rcx, [rbp - 0x10]
call fcn.140007190
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.14000c518
nop
lea r8, [0x14009e1dc]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000b204
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b2cc
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000bcb4
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 0x140006e76
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 0x140006e98
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 0x140006eb9
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 0x140007140
call fcn.14000cb58
mov rcx, rax
test rax, rax
jne 0x140006f50
mov ecx, 0x80004005
call fcn.14000c8e8
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.140011ec4
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140006aa4
nop
lea rcx, [0x14009e240]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbx]
mov r8, qword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.14000be60
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 0x140007011
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 0x140007032
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 0x14000705b
lea r8, [0x14009e1ec]
lea rdx, [0x14009e268]
lea rcx, [rsp + 0x38]
call fcn.14000b8b4
mov rbx, qword [rsp + 0x38]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.14005c790
lea rcx, [rbp + 0x100]
call fcn.140007190
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.14000d3e8
test al, al
je 0x1400070da
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 0x1400070ce
lea rdx, [0x14009e1f4]
call fcn.14005cd00
test eax, eax
jne 0x1400070da
cmp qword [rbp - 0x70], r13
jne 0x1400070da
xor eax, eax
test eax, eax
je 0x14000710c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400070ff
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x80]
call fcn.1400068a8
add edi, r13d
cmp edi, 6
jge 0x140007123
jmp 0x140007039
cmp rsi, 0x10
jb 0x140007123
lea rdx, [rsi + 1]
mov r8, r13
mov rcx, qword [rbp - 0x80]
call fcn.1400068a8
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140007140
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 0x140007161
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.140059ac0
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