Function at 0x18004b728
Capabilities:
Encode data using xor
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, [0x180110010]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x2b0
call fcn.180091200
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.180003254
nop
mov qword [0x18010f9c0], rax
mov ecx, 0xe8
call fcn.180091200
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.18004b5e4
nop
mov qword [0x18010fbd8], rax
mov edi, 0x110
mov ecx, edi
call fcn.180091200
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.18004bb98
nop
mov qword [0x18010fdf8], rax
lea ecx, [rdi - 0x58]
call fcn.180091200
mov rbx, rax
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.18007a400
lea rax, vtable.Hooker.0
mov qword [rbx], rax
xor esi, esi
mov qword [rbx + 0xa8], rsi
mov dword [rbx + 0xb0], esi
mov qword [0x18010f9c8], rbx
mov ecx, edi
call fcn.180091200
mov rbx, rax
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.18007a400
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]
lea edx, [rsi + 2]
call fcn.18008fe10
nop
mov rax, qword [0x18010f9c0]
cmp byte [rax + 0xe0], sil
je 0x18004b83d
mov rcx, rbx
call fcn.180054c30
nop
mov qword [0x1801101c8], rbx
mov ecx, 0x48
call fcn.180091200
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.180011fe8
nop
mov qword [0x18010f9d0], rax
mov edi, 0x60
mov ecx, edi
call fcn.180091200
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.180091200
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
lea edx, [rdi - 0x5e]
call fcn.18008fe10
nop
mov qword [0x1801101c0], rbx
mov rax, qword [0x18010f9c0]
cmp byte [rax + 0xdd], sil
je 0x18004b8f8
mov rbx, qword [0x18010f9c8]
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.18007b4b0
test al, al
je 0x18004b8f8
mov r8d, dword [rbp + 0x67]
mov rdx, qword [rbp - 0x29]
mov rcx, rbx
call fcn.18000c288
mov rax, qword [0x18010f9c0]
cmp qword [rax + 0x200], rsi
jbe 0x18004b914
mov rcx, qword [0x18010f9c8]
call fcn.18000b914
mov rax, qword [0x18010f9c0]
cmp byte [rax + 0xdc], sil
je 0x18004b930
mov rcx, qword [0x18010f9c8]
call fcn.18000c8bc
mov rax, qword [0x18010f9c0]
cmp byte [rax + 0xde], sil
je 0x18004b945
call fcn.18000ce24
mov rax, qword [0x18010f9c0]
cmp byte [rax + 0xdb], sil
je 0x18004b9c1
mov rbx, qword [0x18010f9c8]
mov dword [rbp - 0x21], 0x64
mov byte [rbp - 0x1d], 0x10
mov byte [rbp - 0x1c], 1
mov byte [rbp - 0x1b], 0xa
mov byte [rbp - 0x1a], 0xb
mov byte [rbp - 0x19], 0xf
mov byte [rbp - 0x18], 1
mov byte [rbp - 0x17], 0x4a
mov byte [rbp - 0x16], sil
mov byte [rbp - 0x15], 8
mov byte [rbp - 0x14], 8
xor eax, eax
mov byte [rbp - 0x13], al
mov al, byte [rbp - 0x1d]
mov rdx, rsi
mov al, byte [rbp + rdx - 0x1d]
mov ecx, dword [rbp - 0x21]
xor cl, al
mov byte [rbp + rdx - 0x1d], cl
inc rdx
cmp rdx, 0xa
jb 0x18004b996
mov byte [rbp - 0x13], sil
lea rcx, [rbp - 0x1d]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0xa8], rax
mov r9, qword [0x18010f9c0]
mov r9d, dword [r9 + 0xd0]
lea r8, [0x1800c7fb0]
mov edx, 0x40
lea rcx, [rbp - 9]
call fcn.18003f3ec
lea rdx, [rbp - 9]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdx, [rbp - 9]
lea rcx, str.SteamGameId
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, str.SoftwareValveSteamActiveProcess
mov rdi, 0xffffffff80000001
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18004ba66
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, str.SoftwareValveSteamActiveProcess
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rax, qword [0x18010f9c0]
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, [0x1800c7fd4]
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