Function at 0x10043b7f
Capabilities:
Initialize winsock library
Set environment variable
Set registry value

Disassembly:
mov eax, 0x1008a1a5
call fcn.1008863c
sub esp, 0x54
push ebx
push esi
push edi
push 0x1018b4a8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x20c
call fcn.10078fef
pop ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.10005926
or edi, 0xffffffff
mov dword [ebp - 4], edi
push 0x98
mov dword [0x1018b288], eax
call fcn.10078fef
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.10043a35
mov dword [ebp - 4], edi
push 0x88
mov dword [0x1018b398], eax
call fcn.10078fef
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10043eba
mov dword [ebp - 4], edi
push 0x5c
mov dword [0x1018b39c], eax
call fcn.10078fef
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.1005c1d4
mov dword [ebp - 4], edi
push 0x90
mov dword [esi], vtable.Hooker.0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [0x1018b28c], esi
call fcn.10078fef
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.1004a5f2
mov dword [ebp - 4], edi
push 0x24
mov dword [0x1018b950], eax
call fcn.10078fef
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.10012c5f
mov dword [ebp - 4], edi
push 0x38
mov dword [0x1018b290], eax
call fcn.10078fef
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x38
push ebx
mov dword [ebp - 4], 6
push esi
call sub.msvcrt.dll_memset
push 0x48
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.10078fef
add esp, 0x14
lea ecx, [esi + 8]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
call fcn.1003e85b
mov dword [ebp - 4], edi
push 8
mov dword [0x1018b94c], esi
call fcn.10078fef
mov dword [ebp - 0x18], eax
mov dword [0x1018ba38], eax
pop ecx
mov dword [eax], vtable.XboxImages.0
mov dword [eax + 4], ebx
mov eax, dword [0x1018b288]
cmp byte [eax + 0xd5], bl
je 0x10043d10
mov esi, dword [0x1018b28c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
call fcn.1005c398
test al, al
je 0x10043d10
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.1000d992
mov eax, dword [0x1018b288]
cmp dword [eax + 0x1b4], ebx
jbe 0x10043d28
mov ecx, dword [0x1018b28c]
call fcn.1000d283
mov eax, dword [0x1018b288]
cmp byte [eax + 0xd4], 0
je 0x10043d41
mov ecx, dword [0x1018b28c]
call fcn.1000dcda
mov eax, dword [0x1018b288]
cmp byte [eax + 0xd6], 0
je 0x10043d54
call fcn.1000e165
mov eax, dword [0x1018b288]
cmp byte [eax + 0xd3], 0
je 0x10043d67
call fcn.1000e2f4
mov eax, dword [0x1018b288]
push dword [eax + 0xc8]
lea eax, [ebp - 0x60]
push 0x1009acbc
push 0x40
push eax
call fcn.10038d80
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x60]
add esp, 0x10
push eax
push str.SteamAppId
call esi
lea eax, [ebp - 0x60]
push eax
push str.SteamGameId
call esi
lea eax, [ebp - 0x10]
mov esi, 0xf003f
push eax
push esi
push ebx
push 0x1009acd0
mov edi, Ordinal_2
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10043dd7
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.SoftwareValveSteamActiveProcess
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [0x1018b288]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
pop edi
push edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.ActiveUser
push dword [ebp - 0x10]
call esi
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push 0x1009accc
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret