Function at 0x180052c94
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, [0x1801b60c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x2f8
call fcn.1800947cc
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180006fbc
nop
mov qword [0x1801b5a70], rax
mov ecx, 0x128
call fcn.1800947cc
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180052b04
nop
mov qword [0x1801b5c88], rax
mov edi, 0x110
mov ecx, edi
call fcn.1800947cc
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.1800531f0
nop
mov qword [0x1801b60b8], rax
lea ecx, [rdi - 0x58]
call fcn.1800947cc
mov rbx, rax
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.18007f7e4
lea rax, vtable.Hooker.0
mov qword [rbx], rax
xor esi, esi
mov qword [rbx + 0xa8], rsi
mov dword [rbx + 0xb0], esi
mov qword [0x1801b5a78], rbx
mov ecx, edi
call fcn.1800947cc
mov rbx, rax
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.18007f7e4
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.18009337c
nop
mov rax, qword [0x1801b5a70]
cmp dword [rax + 0x128], esi
je 0x180052dd7
mov rcx, rbx
call fcn.18005c3fc
nop
mov qword [0x1801b6278], rbx
mov ecx, 0x48
call fcn.1800947cc
mov qword [rbp + 0xf0], rax
mov rcx, rax
call fcn.180016f6c
nop
mov qword [0x1801b5a80], rax
mov edi, 0x60
mov ecx, edi
call fcn.1800947cc
mov rbx, rax
mov qword [rbp + 0xf0], rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1800965d0
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rdi - 8]
call fcn.1800947cc
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.18009337c
nop
mov qword [0x1801b6270], rbx
lea ecx, [rdi - 0x50]
call fcn.1800947cc
mov qword [rbp + 0xf0], rax
lea rcx, vtable.XboxImages.0
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [0x1801b6448], rax
mov rax, qword [0x1801b5a70]
cmp byte [rax + 0x11d], sil
je 0x180052ee1
mov rbx, qword [0x1801b5a78]
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.1800802b8
test al, al
je 0x180052ee1
mov r8d, dword [rbp + 0xf0]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.180011258
mov rax, qword [0x1801b5a70]
cmp qword [rax + 0x248], rsi
jbe 0x180052efd
mov rcx, qword [0x1801b5a78]
call fcn.180010a74
mov rax, qword [0x1801b5a70]
cmp byte [rax + 0x11c], sil
je 0x180052f19
mov rcx, qword [0x1801b5a78]
call fcn.18001170c
mov rax, qword [0x1801b5a70]
cmp byte [rax + 0x11e], sil
je 0x180052f2e
call fcn.180011c24
mov rax, qword [0x1801b5a70]
cmp byte [rax + 0x11b], sil
je 0x180052fa8
mov rbx, qword [0x1801b5a78]
mov byte [rsp + 0x50], 0x75
mov byte [rsp + 0x51], 0x66
mov byte [rsp + 0x52], WSASetLastError
mov byte [rsp + 0x53], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x54], WSASetLastError
mov byte [rsp + 0x55], 0x66
mov byte [rsp + 0x56], 0x2f
mov byte [rsp + 0x57], 0x65
mov byte [rsp + 0x58], WSASetLastError
mov byte [rsp + 0x59], WSASetLastError
mov byte [rsp + 0x5a], sil
mov al, byte [rsp + 0x50]
mov rcx, rsi
mov al, byte [rsp + rcx + 0x50]
dec al
mov byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x180052f83
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0xa8], rax
mov r9, qword [0x1801b5a70]
mov r9d, dword [r9 + 0x110]
lea r8, [0x1800cc138]
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.1800441fc
lea rdx, [rsp + 0x70]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rsp + 0x70]
lea rcx, str.SteamGameId
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, [0x1800cc0a0]
mov rdi, 0xffffffff80000001
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180053056
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, str.SoftwareValveSteamActiveProcess
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rax, qword [0x1801b5a70]
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, [0x1800cc14c]
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 [0x1801b5a70]
cmp byte [rax + 0xd0], sil
je 0x18005312e
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r8, qword [0x1801b5a70]
lea rcx, [rbp - 0x50]
dec rcx
inc rcx
cmp byte [rcx], sil
jne 0x180053108
xor edx, edx
mov al, byte [r8 + rdx + 0xd0]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x180053112
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add rsp, 0x1c8
pop rdi
pop rsi
pop rbx
pop rbp
ret