Function at 0x1800526a0
Capabilities:
Contain obfuscated stackstrings
Initialize winsock library
Set environment variable
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov ecx, 0x202
lea rdx, [0x18019f090]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x2b8
call fcn.18008c5a8
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.180006fbc
nop
mov qword [0x18019ea40], rax
mov ecx, 0x128
call fcn.18008c5a8
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.18005250c
nop
mov qword [0x18019ec58], rax
mov edi, 0x110
mov ecx, edi
call fcn.18008c5a8
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.180052b5c
nop
mov qword [0x18019f088], rax
lea ecx, [rdi - 0x58]
call fcn.18008c5a8
mov rbx, rax
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.1800775d4
lea rax, vtable.Hooker.0
mov qword [rbx], rax
xor esi, esi
mov qword [rbx + 0xa8], rsi
mov dword [rbx + 0xb0], esi
mov qword [0x18019ea48], rbx
mov ecx, edi
call fcn.18008c5a8
mov rbx, rax
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.1800775d4
nop
lea rax, vtable.OverlayRender.0
mov qword [rbx], rax
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], rsi
lea rcx, [rbx + 0xc0]
mov dword [rcx], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rsi
lea edx, [rsi + 2]
call fcn.18008b174
nop
mov rax, qword [0x18019ea40]
cmp dword [rax + 0xe8], esi
je 0x1800527d1
mov rcx, rbx
call fcn.18005bab8
nop
mov qword [0x18019f248], rbx
mov ecx, 0x48
call fcn.18008c5a8
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.180016f34
nop
mov qword [0x18019ea50], rax
mov edi, 0x60
mov ecx, edi
call fcn.18008c5a8
mov rbx, rax
mov qword [rbp + 0x67], rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rdi - 8]
call fcn.18008c5a8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
mov dword [rcx], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rsi
lea edx, [rdi - 0x5e]
call fcn.18008b174
nop
mov qword [0x18019f240], rbx
lea ecx, [rdi - 0x50]
call fcn.18008c5a8
mov qword [rbp + 0x67], rax
lea rcx, vtable.XboxImages.0
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [0x18019f418], rax
mov rax, qword [0x18019ea40]
cmp byte [rax + 0xdd], sil
je 0x1800528ca
mov rbx, qword [0x18019ea48]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
lea r8, str..bind
xor edx, edx
mov rcx, rbx
call fcn.1800780a8
test al, al
je 0x1800528ca
mov r8d, dword [rbp + 0x67]
mov rdx, qword [rbp - 0x29]
mov rcx, rbx
call fcn.180011204
mov rax, qword [0x18019ea40]
cmp qword [rax + 0x208], rsi
jbe 0x1800528e6
mov rcx, qword [0x18019ea48]
call fcn.180010a20
mov rax, qword [0x18019ea40]
cmp byte [rax + 0xdc], sil
je 0x180052902
mov rcx, qword [0x18019ea48]
call fcn.1800116b8
mov rax, qword [0x18019ea40]
cmp byte [rax + 0xde], sil
je 0x180052917
call fcn.180011bd0
mov rax, qword [0x18019ea40]
cmp byte [rax + 0xdb], sil
je 0x180052984
mov rbx, qword [0x18019ea48]
mov byte [rbp - 0x21], 0x7b
mov byte [rbp - 0x20], 0x6c
mov byte [rbp - 0x1f], 0x75
mov byte [rbp - 0x1e], 0x76
mov byte [rbp - 0x1d], WSACleanup
mov byte [rbp - 0x1c], 0x6c
mov byte [rbp - 0x1b], 0x35
mov byte [rbp - 0x1a], 0x6b
mov byte [rbp - 0x19], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x18], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x17], sil
mov al, byte [rbp - 0x21]
mov rcx, rsi
mov al, byte [rbp + rcx - 0x21]
sub al, 7
mov byte [rbp + rcx - 0x21], al
inc rcx
cmp rcx, 0xa
jb 0x180052960
lea rcx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0xa8], rax
mov r9, qword [0x18019ea40]
mov r9d, dword [r9 + 0xd0]
lea r8, [0x1800c40f8]
mov edx, 0x40
lea rcx, [rbp - 9]
call fcn.18004367c
lea rdx, [rbp - 9]
lea rcx, [0x1800c4100]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rbp - 9]
lea rcx, [0x1800c4110]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov ebx, 0xf003f
mov r9d, ebx
xor r8d, r8d
lea rdx, [0x1800c4050]
mov rdi, 0xffffffff80000001
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180052a29
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800c40a0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rax, qword [0x18019ea40]
mov rcx, qword [rax + 8]
mov eax, dword [rcx]
mov dword [rbp + 0x6f], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x77], eax
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ActiveUser
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, [0x1800c40f4]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0xb8
pop rdi
pop rsi
pop rbx
pop rbp
ret