Function at 0x10016f03
Capabilities:
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x10042290
call fcn.1001e4d0
push ecx
push ecx
push ebx
push esi
push edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xf
and dword [ecx + 0x10], 0
pop esi
push 0xa
pop ebx
push ebx
push str.VClient018
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 4], eax
push ebx
push 0x10043400
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
mov byte [ecx], al
call fcn.10003cd8
or edi, 0xffffffff
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fdd4], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VClientEntityList003
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x14
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push ebx
and dword [ecx + 0x10], 0
push 0x10043400
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fddc], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VEngineClient014
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x10
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push ebx
and dword [ecx + 0x10], 0
mov ebx, str.engine.dll
push ebx
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fde0], eax
mov dword [ebp - 0x14], esp
mov ecx, esp
and dword [ecx + 0x10], 0
push 0xd
push str.VGUI_Panel009
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
push 9
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], esi
pop esi
push esi
push str.vgui2.dll
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fdec], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xf
and dword [ecx + 0x10], 0
pop eax
push eax
push str.VGUI_Surface031
mov dword [ecx + 0x14], eax
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
push str.vguimatsurface.dll
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x12
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fdf0], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VMaterialSystem080
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x12
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
push str.materialsystem.dll
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x12
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fdf8], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VEngineEffects001
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x11
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 6
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
push ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fdfc], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VModelInfoClient004
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x13
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 7
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
push ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe00], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xf
and dword [ecx + 0x10], 0
pop eax
push eax
push str.VEngineModel016
mov dword [ecx + 0x14], eax
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], 8
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
push ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe04], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VEngineRenderView014
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x14
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], esi
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
pop esi
push esi
push ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe08], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xe
and dword [ecx + 0x10], 0
pop ebx
push ebx
push str.VEngineCvar007
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], esi
mov ecx, esp
push 0xb
and dword [ecx + 0x10], 0
pop esi
push esi
push str.vstdlib.dll
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], edi
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe10], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xc
and dword [ecx + 0x10], 0
pop edi
push edi
push str.Localize_001
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], esi
mov ecx, esp
push 0xf
and dword [ecx + 0x10], 0
pop esi
push edi
push str.localize.dll
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
or dword [ebp - 4], 0xffffffff
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe14], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.GAMEEVENTSMANAGER002
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x14
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], edi
mov ecx, esp
mov edi, str.engine.dll
push 0xa
and dword [ecx + 0x10], 0
push edi
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
or dword [ebp - 4], 0xffffffff
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe18], eax
mov dword [ebp - 0x14], esp
mov ecx, esp
push str.VDebugOverlay004
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x10
mov dword [ecx + 0x14], esi
pop esi
push esi
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 0xd
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
push edi
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10003cd8
or dword [ebp - 4], 0xffffffff
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe0c], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InputSystemVersion001
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x15
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push 0xf
and dword [ecx + 0x10], 0
pop eax
push eax
push str.inputsystem.dll
mov dword [ecx + 0x14], eax
mov byte [ecx], 0
call fcn.10003cd8
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe1c], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.EngineTraceClient004
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x14
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100038d2
push 0xf
pop eax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
push edi
mov dword [ecx + 0x14], eax
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], ebx
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe24], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xf
and dword [ecx + 0x10], 0
pop eax
mov dword [ecx + 0x14], eax
push eax
push str.GameMovement001
mov byte [ecx], 0
call fcn.10003cd8
sub esp, 0x18
mov dword [ebp - 4], esi
mov ecx, esp
push 0xf
and dword [ecx + 0x10], 0
pop esi
push 0xa
push 0x10043400
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], ebx
call fcn.10016e96
add esp, 0x18
mov dword [0x1005fe2c], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.VClientPrediction001
push dword [ebp - 0x14]
and dword [ecx + 0x10], 0
push 0x14
mov dword [ecx + 0x14], esi
mov byte [ecx], 0
call fcn.100038d2
sub esp, 0x18
mov dword [ebp - 4], 0x11
mov ecx, esp
push 0xa
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], esi
mov esi, 0x10043400
push esi
mov byte [ecx], 0
call fcn.10003cd8
mov dword [ebp - 4], ebx
call fcn.10016e96
mov ecx, dword [0x1005fdd4]
mov dword [0x1005fe30], eax
push str.A1_________8B_80_________C3
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 5]
mov eax, dword [eax]
mov dword [0x1005fde4], eax
mov eax, dword [ecx]
mov eax, dword [eax]
mov eax, dword [eax + 0x1f]
mov eax, dword [eax]
mov dword [0x1005fdf4], eax
call fcn.1001b36a
push str.A1_________50_8B_08_FF_51_0C
push str.shaderapidx9.dll
mov eax, dword [eax + 1]
mov eax, dword [eax]
mov dword [0x1005fde8], eax
call fcn.1001b36a
add esp, 0x40
mov eax, dword [eax + 1]
push str.B9_________F3_0F_11_04_24_FF_50_10
push esi
mov eax, dword [eax]
mov dword [0x1005fe20], eax
call fcn.1001b36a
push str.0F_11_05_________83_C8_01_C7_05_________00_00_00_00
push esi
mov eax, dword [eax + 1]
mov dword [0x1005fdd8], eax
call fcn.1001b36a
push str.8B_0D_________8B_46_08_68
push esi
mov eax, dword [eax + 3]
mov dword [0x1005fe28], eax
call fcn.1001b36a
mov eax, dword [eax + 2]
mov eax, dword [eax]
push str.8B_35_________FF_10_0F_B7_C0
push esi
mov dword [0x1005fe34], eax
call fcn.1001b36a
add esp, 0x20
mov eax, dword [eax + 2]
push str.g_pMemAlloc
push str.tier0.dll
mov dword [0x1005fe38], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x1005fe48]
xor ebx, ebx
push str.SteamGameCoordinator001
inc ebx
mov eax, dword [eax]
mov dword [0x1005fe3c], eax
mov eax, dword [ecx]
push ebx
push ebx
call dword [eax + 0x30]
mov ecx, dword [0x1005fe48]
push str.SteamUser019
mov dword [0x1005fe40], eax
push ebx
mov edx, dword [ecx]
push ebx
call dword [edx + 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x1005fe44], eax
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret