Function at 0x180053168
Capabilities:
Contain obfuscated stackstrings
Get common file path
Initialize winsock library
Set current directory
Set environment variable
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov ecx, 0x202
lea rdx, [0x1801a21e0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x338
call fcn.18008e00c
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180006e9c
nop
mov qword [0x1801a1b90], rax
mov ecx, 0x128
call fcn.18008e00c
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180052fd4
nop
mov qword [0x1801a1da8], rax
mov ecx, 0x118
call fcn.18008e00c
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180053700
nop
mov qword [0x1801a21d8], rax
mov ecx, 0xb8
call fcn.18008e00c
mov rbx, rax
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180078f88
lea rax, vtable.Hooker.0
mov qword [rbx], rax
xor esi, esi
mov qword [rbx + 0xa8], rsi
mov dword [rbx + 0xb0], esi
mov qword [0x1801a1b98], rbx
mov ecx, 0x110
call fcn.18008e00c
mov rbx, rax
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180078f88
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
xorps xmm0, xmm0
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm0
movups xmmword [rbx + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbx + 0xc8], xmm1
or dword [rbx + 0x108], 0xffffffff
mov dword [rbx + 0xc0], 2
mov dword [rbx + 0x10c], esi
mov rax, qword [0x1801a1b90]
cmp dword [rax + 0x128], esi
je 0x1800532bb
mov rcx, rbx
call fcn.18005c960
nop
mov qword [0x1801a2398], rbx
mov ecx, 0x48
call fcn.18008e00c
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.18001770c
nop
mov qword [0x1801a1ba0], rax
mov edi, 0x60
mov ecx, edi
call fcn.18008e00c
mov rbx, rax
mov qword [rbp + 0xf0], 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.18008e00c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbx + 0x18], xmm1
or dword [rbx + 0x58], 0xffffffff
mov dword [rbx + 0x10], 2
mov dword [rbx + 0x5c], esi
mov qword [0x1801a2390], rbx
lea ecx, [rdi - 0x50]
call fcn.18008e00c
mov qword [rbp + 0xf0], rax
lea rcx, vtable.XboxImages.0
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [0x1801a2568], rax
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0x11d], sil
je 0x1800533c0
mov rbx, qword [0x1801a1b98]
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, str..bind
xor edx, edx
mov rcx, rbx
call fcn.180079a50
test al, al
je 0x1800533c0
mov r8d, dword [rbp + 0xf0]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.180011b64
mov rax, qword [0x1801a1b90]
cmp qword [rax + 0x248], rsi
jbe 0x1800533dc
mov rcx, qword [0x1801a1b98]
call fcn.180010b8c
mov rax, qword [0x1801a1b90]
cmp qword [rax + 0x288], rsi
jbe 0x1800533f8
mov rcx, qword [0x1801a1b98]
call fcn.18001117c
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0x11c], sil
je 0x180053414
mov rcx, qword [0x1801a1b98]
call fcn.180011e98
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0x11e], sil
je 0x180053429
call fcn.1800123c4
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0x11b], sil
je 0x1800534a3
mov rbx, qword [0x1801a1b98]
mov byte [rsp + 0x50], 0x7a
mov byte [rsp + 0x51], 0x6b
mov byte [rsp + 0x52], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x53], 0x75
mov byte [rsp + 0x54], WSACleanup
mov byte [rsp + 0x55], 0x6b
mov byte [rsp + 0x56], 0x34
mov byte [rsp + 0x57], 0x6a
mov byte [rsp + 0x58], WSACleanup
mov byte [rsp + 0x59], WSACleanup
mov byte [rsp + 0x5a], sil
mov al, byte [rsp + 0x50]
mov rcx, rsi
mov al, byte [rsp + rcx + 0x50]
sub al, 6
mov byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x18005347e
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0xa8], rax
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0x12e], sil
je 0x1800534bf
mov rcx, qword [0x1801a1b98]
call fcn.1800114e4
mov r9, qword [0x1801a1b90]
mov r9d, dword [r9 + 0x110]
lea r8, [0x1800c6210]
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.180043fc4
lea rdx, [rsp + 0x70]
lea rcx, [0x1800c6218]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rsp + 0x70]
lea rcx, [0x1800c6250]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rax, [rbp + 0x108]
mov qword [rsp + 0x20], rax
mov ebx, 0xf003f
mov r9d, ebx
xor r8d, r8d
lea rdx, [0x1800c6260]
mov rdi, 0xffffffff80000001
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18005356d
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x108]
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, [0x1800c62b0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rax, qword [0x1801a1b90]
mov rcx, qword [rax + 8]
mov eax, dword [rcx]
mov dword [rbp + 0xf8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x100], eax
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ActiveUser
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, [0x1800c6224]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1801a1b90]
cmp byte [rax + 0xd0], sil
je 0x180053645
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r8, qword [0x1801a1b90]
lea rcx, [rbp - 0x50]
dec rcx
inc rcx
cmp byte [rcx], sil
jne 0x18005361f
xor edx, edx
mov al, byte [r8 + rdx + 0xd0]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x180053629
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add rsp, 0x1c8
pop rdi
pop rsi
pop rbx
pop rbp
ret