Function at 0x1d3e2a0
Capabilities:
Print debug messages
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [0x1ea8780], 0
push ebx
push esi
push edi
mov bl, cl
jne 0x1d3e54f
xor dl, dl
mov ecx, 0x1ea8774
call fcn.01d3e8c0
mov ecx, eax
mov dword [0x1ea8780], ecx
test ecx, ecx
je 0x1d3e599
mov edx, dword [0x1ea8764]
test edx, edx
je 0x1d3e2f8
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [0x1ea8780]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [0x1ea8764]
mov esi, eax
mov dword [0x1ea8770], esi
test ecx, ecx
je 0x1d3e31a
mov edx, dword [ecx]
push esi
call dword [edx + 8]
mov esi, dword [0x1ea8770]
mov ecx, dword [0x1ea8780]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [0x1ea8770]
mov dword [0x1ea876c], eax
mov dword [0x1ea877c], 0
mov dword [0x1ea8778], 0
test edx, edx
je 0x1d3e563
test eax, eax
je 0x1d3e563
xor esi, esi
test bl, bl
je 0x1d3e379
mov ecx, dword [0x1ea8780]
push 0x1e47204
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x1d3e393
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
jmp 0x1d3e391
call fcn.01d3f320
test al, al
je 0x1d3e594
mov ecx, dword [0x205ae20]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
and esi, 0xffffff
xorps xmm0, xmm0
mov edi, esi
movlpd qword [esp + 0x10], xmm0
and edi, 0xffffff
jne 0x1d3e3bc
push str._S_API_FAIL__SteamAPI_Init___failed__no_appID_found._nEither_launch_the_game_from_Steam__or_put_the_file_steam_appid.txt_containing_the_correct_appID_in_your_game_folder._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1d3e594
cmp byte [0x1ea8784], 0
je 0x1d3e408
mov ecx, dword [0x205ae2c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x1d3e408
mov eax, dword [0x1ea865c]
test eax, eax
je 0x1d3e3f7
cmp dword [eax + 8], 1
jne 0x1d3e3f7
push 0
push 0x1e472cc
push 0x1e472e8
jmp 0x1d3e58c
push 0
push 0x1e47214
push str.Cant_start_game__please_close_Steam.exe_running_this_game_CS_1.6
jmp 0x1d3e58c
push 0
push 0
push 0x1e472dc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1d3e446
push edi
push 0x1e473e4
lea eax, [esp + 0x20]
push 0xc
push eax
call dword [sym.imp.vstdlib_d.dll_V_snprintf]
add esp, 0x10
mov byte [esp + 0x23], 0
lea eax, [esp + 0x18]
push eax
push 0x1e473e8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0x1e473f4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1d3e488
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push esi
push str._llu
push 0x18
push eax
call dword [sym.imp.vstdlib_d.dll_V_snprintf]
add esp, 0x14
mov byte [esp + 0x2f], 0
lea eax, [esp + 0x18]
push eax
push str.SteamGameId
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push edi
call sym.steam_api.dll_SteamAPI_SetBreakpadAppID
mov ecx, dword [0x1ea8774]
add esp, 4
call fcn.01d3cd20
call fcn.01d3fed0
cmp byte [0x1ea8784], 0
je 0x1d3e4af
call fcn.01d3f6c0
test bl, bl
je 0x1d3e500
mov ecx, dword [0x1ea8780]
push 0x1e47414
push dword [0x1ea876c]
mov eax, dword [ecx]
push dword [0x1ea8770]
call dword [eax + 0x14]
test eax, eax
je 0x1d3e54f
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call dword [edx + 8]
push dword [eax + 4]
push dword [eax]
call fcn.01d3fce0
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x205ae18]
test ecx, ecx
je 0x1d3e535
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.01d3fce0
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.01d3fce0
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1ea865c]
test eax, eax
je 0x1d3e580
cmp dword [eax + 8], 1
jne 0x1d3e580
push 0
push 0x1e470ec
push 0x1e47108
jmp 0x1d3e58c
push 0
push 0x1e470fc
push 0x1e47180
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call sym.steam_api.dll_SteamAPI_Shutdown
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret