Function at 0x632c3d42
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x633d8bd5
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.6338da50
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov dword [esp], str.SteamAppId
mov eax, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
call eax
sub esp, 8
mov eax, dword [ebp + 0x10]
and eax, 0xffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0x633d8bd5
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.6338da50
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov dword [esp], str.SteamGameId
mov eax, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
call eax
sub esp, 8
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x632c3dfe
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x7c]
test eax, eax
jne 0x632c3e29
mov dword [esp + 4], str._S_API_FAIL__SteamAPI_Init___failed._Steam_is_either_not_running_or_installed_n
mov dword [esp], 0x10
call fcn.631a9790
mov eax, 0
jmp 0x632c3f6e
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x7c]
mov dword [esp + 4], str.CreateInterface
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x632c3e6e
mov dword [esp + 4], str.Steam:_SteamAPI_Init___failed__No_CreateInterface_function__n
mov dword [esp], 0x10
call fcn.631a9970
mov eax, 0
jmp 0x632c3f6e
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], str.SteamClient016
mov eax, dword [ebp - 0xc]
call eax
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x632c3eb7
mov dword [esp + 4], str.Steam:_SteamAPI_Init___failed__Interface_missing__n
mov dword [esp], 0x10
call fcn.631a9970
mov eax, 0
jmp 0x632c3f6e
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, edx
call eax
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x70]
test eax, eax
jne 0x632c3f11
mov eax, dword [ebp - 0x9c]
mov ecx, eax
call fcn.632c320e
mov dword [esp + 4], str.Steam:_SteamAPI_Init___failed__no_hSteamPipe__n
mov dword [esp], 0x10
call fcn.631a9970
mov eax, 0
jmp 0x632c3f6e
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax]
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx + 0x70]
mov dword [esp], ecx
mov ecx, edx
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x632c3f69
mov eax, dword [ebp - 0x9c]
mov ecx, eax
call fcn.632c320e
mov eax, 0xffffffff
jmp 0x632c3f6e
mov eax, 1
leave
ret 0xc