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

Disassembly:
mov eax, 0x1008b4fe
call fcn.1008a85c
sub esp, 0x54
push ebx
push esi
push edi
push 0x100e2800
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x204
call fcn.1007b23a
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100020a0
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
push 0x78
mov dword [0x100e22d0], eax
call fcn.1007b23a
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1003e1c5
mov dword [ebp - 4], ebx
push 0x88
mov dword [0x100e23e0], eax
call fcn.1007b23a
pop ecx
mov dword [ebp - 0x18], eax
push 2
pop edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.1003e5d8
mov dword [ebp - 4], ebx
push 0x5c
mov dword [0x100e23e4], eax
call fcn.1007b23a
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.10058540
and dword [esi + 0x54], 0
and dword [esi + 0x58], 0
mov dword [ebp - 4], ebx
push 0x90
mov dword [esi], vtable.Hooker.0
mov dword [0x100e22d4], esi
call fcn.1007b23a
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.10044e58
mov dword [ebp - 4], ebx
push 0x24
mov dword [0x100e2998], eax
call fcn.1007b23a
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.1000ea85
mov dword [ebp - 4], ebx
push 0x38
mov dword [0x100e22d8], eax
call fcn.1007b23a
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x38
mov dword [ebp - 4], 6
push 0
push esi
call sub.msvcrt.dll_memset
and dword [esi], 0
and dword [esi + 4], 0
push 0x48
call fcn.1007b23a
push edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
lea eax, [esi + 8]
push eax
call fcn.1007a273
mov dword [ebp - 4], ebx
add esp, 0x1c
mov eax, dword [0x100e22d0]
mov dword [0x100e2994], esi
cmp byte [eax + 0xd5], 0
je 0x1003e42f
mov esi, dword [0x100e22d4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
call fcn.100587a0
test al, al
je 0x1003e42f
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.10009640
mov eax, dword [0x100e22d0]
xor ebx, ebx
cmp dword [eax + 0x1ac], ebx
jbe 0x1003e449
mov ecx, dword [0x100e22d4]
call fcn.10008d01
mov eax, dword [0x100e22d0]
cmp byte [eax + 0xd4], bl
je 0x1003e461
mov ecx, dword [0x100e22d4]
call fcn.10009a8b
mov eax, dword [0x100e22d0]
cmp byte [eax + 0xd6], bl
je 0x1003e473
call fcn.1000a054
mov eax, dword [0x100e22d0]
cmp byte [eax + 0xd3], bl
je 0x1003e485
call fcn.1000a2f6
mov eax, dword [0x100e22d0]
push dword [eax + 0xc8]
lea eax, [ebp - 0x60]
push 0x100a77c0
push 0x40
push eax
call fcn.10034ef0
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
mov edi, str.SoftwareValveSteamActiveProcess
push edi
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003e4f5
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [0x100e22d0]
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 0x100a7844
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