Function at 0x14008b670
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, r9
mov dil, r8b
mov r14b, dl
mov r12, rcx
xor r15b, r15b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x20]
call fcn.14004e050
mov rsi, 0xffffffff80000002
test dil, dil
je 0x14008b6d8
mov rsi, 0xffffffff80000003
lea rcx, [rbp - 0x20]
call fcn.14008a89c
mov ebx, 0x20019
test dil, dil
jne 0x14008b6ed
mov eax, 0x20219
test r14b, r14b
cmove ebx, eax
mov dword [rsp + 0x7d], 0x6e6f6973
mov dword [rsp + 0x69], 0x69575c74
mov dword [rsp + 0x76], 0x746e6572
mov word [rbp - 0x76], WSASetLastError
mov dword [rsp + 0x65], 0x666f736f
mov dword [rsp + 0x6d], 0x776f646e
mov word [rsp + 0x59], 0x464f
mov word [rbp - 0x7b], 0x736e
mov dword [rsp + 0x71], 0x75435c73
mov dword [rsp + 0x60], 0x63694d5c
mov word [rbp - 0x7e], 0x6e55
mov dword [rsp + 0x5c], 0x45524157
mov word [rbp - 0x79], 0x6174
mov byte [rsp + 0x58], 0x53
xor r14d, r14d
mov byte [rsp + 0x75], WSACleanup
mov byte [rsp + 0x5b], 0x54
mov byte [rbp - 0x77], WSAGetLastError
mov word [rsp + 0x7a], 0x6556
mov byte [rsp + 0x64], WSACleanup
mov byte [rsp + 0x7c], WSACleanup
mov byte [rbp - 0x7c], 0x69
mov byte [rbp - 0x7f], 0x5c
mov dword [rsp + 0x48], 0x74736e49
mov dword [rsp + 0x4c], 0x4c6c6c61
mov dword [rsp + 0x54], 0x6e6f69
mov dword [rsp + 0x50], 0x7461636f
mov dword [rsp + 0x39], 0x6d6f7268
mov word [rsp + 0x40], 0x6578
mov word [rsp + 0x3d], 0x2e65
mov byte [rsp + 0x42], r14b
mov byte [rsp + 0x38], 0x63
mov byte [rsp + 0x3f], 0x65
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1400109fc
nop
mov r8, r12
lea rdx, [0x1400bd118]
lea rcx, [rbp - 0x60]
call fcn.140007fec
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000a930
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008b812
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dil, dil
je 0x14008b8bc
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400109fc
nop
lea r8, [0x1400bd118]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400080b4
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140008178
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008b54
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008b87d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008b89c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008b8bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008b8bf
or edi, 0xffffffff
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008ba69
lea rdx, [0x1400bcee3]
lea rcx, [rsp + 0x30]
call fcn.1400109fc
nop
mov esi, 1
mov dword [rbp + 0x150], esi
mov edx, 0x800
mov dword [rbp + 0x140], edx
mov rax, qword [rsp + 0x30]
mov r8d, esi
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x14008b930
lea rcx, [rsp + 0x30]
call fcn.140010c2c
mov rax, qword [rsp + 0x30]
lea rcx, [rbp + 0x140]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x150]
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400606d8
mov rcx, rax
test eax, eax
js 0x14008ba5e
mov rax, qword [rsp + 0x30]
cmp ecx, dword [rax - 0xc]
jg 0x14008ba5e
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x30]
mov byte [rcx + rax], r14b
test ebx, ebx
jne 0x14008ba32
lea rdx, [0x1400bd118]
lea rcx, [rbp - 0x38]
call fcn.1400109fc
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400080b4
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.14000a930
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008b9ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008ba0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14008ba32
mov r8, qword [rsp + 0x30]
lea rdx, [0x1400bd164]
mov rcx, r13
call fcn.14000da78
mov r15b, sil
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008ba69
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008ba69
mov ecx, 0x80070057
call fcn.140010d40
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008ba88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14008baa7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, r15b
mov rbx, qword [rsp + 0x238]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret