Function at 0x10043f4d
Capabilities:
Get common file path
Initialize winsock library
Set current directory
Set environment variable
Set registry value

Disassembly:
mov eax, 0x1008a9b3
call fcn.10088eec
sub esp, 0x158
push ebx
push esi
push edi
push 0x1018b4e0
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x24c
call fcn.100798ae
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.10005973
or edi, 0xffffffff
mov dword [ebp - 4], edi
push 0x98
mov dword [0x1018b2c0], eax
call fcn.100798ae
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.10043e03
mov dword [ebp - 4], edi
push 0x88
mov dword [0x1018b3d0], eax
call fcn.100798ae
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100442ec
mov dword [ebp - 4], edi
push 0x5c
mov dword [0x1018b3d4], eax
call fcn.100798ae
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.1005c7e1
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 [0x1018b2c4], esi
call fcn.100798ae
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.1004abd7
mov dword [ebp - 4], edi
push 0x24
mov dword [0x1018b988], eax
call fcn.100798ae
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.100131e4
mov dword [ebp - 4], edi
push 0x38
mov dword [0x1018b2c8], eax
call fcn.100798ae
mov esi, eax
mov dword [ebp - 0x10], 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.100798ae
add esp, 0x14
lea ecx, [esi + 8]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
call fcn.1003ec9b
mov dword [ebp - 4], edi
push 8
mov dword [0x1018b984], esi
call fcn.100798ae
mov dword [ebp - 0x10], eax
mov dword [0x1018ba70], eax
pop ecx
mov dword [eax], vtable.XboxImages.0
mov dword [eax + 4], ebx
mov eax, dword [0x1018b2c0]
cmp byte [eax + 0x115], bl
je 0x100440e1
mov esi, dword [0x1018b2c4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
push ecx
call fcn.1005c9a5
test al, al
je 0x100440e1
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.1000df00
mov eax, dword [0x1018b2c0]
cmp dword [eax + 0x1f4], ebx
jbe 0x100440f9
mov ecx, dword [0x1018b2c4]
call fcn.1000d6c2
mov eax, dword [0x1018b2c0]
cmp byte [eax + 0x114], 0
je 0x10044112
mov ecx, dword [0x1018b2c4]
call fcn.1000e248
mov eax, dword [0x1018b2c0]
cmp byte [eax + 0x116], 0
je 0x10044125
call fcn.1000e6d3
mov eax, dword [0x1018b2c0]
cmp byte [eax + 0x113], 0
je 0x10044138
call fcn.1000e861
mov eax, dword [0x1018b2c0]
push dword [eax + 0x108]
lea eax, [ebp - 0x60]
push 0x1009ac58
push 0x40
push eax
call fcn.10039230
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x60]
add esp, 0x10
push eax
push 0x1009ac5c
call esi
lea eax, [ebp - 0x60]
push eax
push str.SteamGameId
call esi
lea eax, [ebp - 0x14]
mov esi, 0xf003f
push eax
push esi
push ebx
push str.SoftwareValveSteamActiveProcess
mov edi, Ordinal_2
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100441a8
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push 0x1009ac68
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [0x1018b2c0]
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 - 0x14]
call esi
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push 0x1009ad1c
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1018b2c0]
cmp byte [eax + 0xc8], 0
je 0x10044253
lea eax, [ebp - 0x164]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x1018b2c0]
add edx, 0xc8
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10044220
lea edi, [ebp - 0x164]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10044230
mov ecx, edx
lea eax, [ebp - 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret