Function at 0x14017e9
Capabilities:
Accept command line arguments
Check mutex on windows
Contain obfuscated stackstrings
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
push ebx
push esi
push edi
push str.filesystem_stdio.dll
push str.filesystem_steam.dll
push dword [ebp + 0x10]
call fcn.01402054
add esp, 0xc
test al, al
jne 0x1401cc0
xor ebx, ebx
push str.ValveHalfLifeLauncherMutex
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x140182e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x140185b
cmp eax, 0x80
je 0x140185b
push 0x10
push str.Error
push str.Could_not_launch_game._nOnly_one_instance_of_this_game_can_be_run_at_a_time.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1401cc0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 0x10], bl
push eax
push 2
mov byte [ebp - 0xf], 0x2d
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x76
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x76
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], bl
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov ecx, dword [0x140e50c]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x140e040]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [0x140e040]
push eax
call dword [esi]
mov ecx, dword [0x140e040]
push ebx
push str._steam
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
setne al
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x128]
push 0x100
push eax
call fcn.0140164e
lea eax, [ebp - 0x128]
push 0x5c
push eax
call fcn.01402c70
mov esi, eax
inc esi
push esi
push str.hl.exe
call fcn.0140a400
add esp, 0x18
mov edi, str._game
test eax, eax
je 0x1401937
mov ecx, dword [0x140e040]
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x1401937
push esi
call fcn.014026e0
pop ecx
mov byte [eax + esi - 4], bl
mov ecx, dword [0x140e040]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x140e040]
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, ebx
je 0x140196f
push 5
add eax, 6
push str.czero
push eax
call fcn.0140b530
add esp, 0xc
test eax, eax
jne 0x140196f
mov ecx, dword [0x140e040]
lea edx, [ebp - 0xf]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x140e50c]
mov esi, str.CrashInitializingVideoMode
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1401a54
mov ecx, dword [0x140e50c]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e50c]
push str.hw.dll
mov edi, str.EngineDLL
push 0x3511cb0
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push eax
call fcn.0140a400
pop ecx
test eax, eax
pop ecx
jne 0x1401a54
mov ecx, dword [0x140e50c]
mov esi, str.EngineD3D
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x140e50c]
cmp eax, 1
mov eax, dword [ecx]
jne 0x14019f3
push ebx
push esi
call dword [eax + 0xc]
push 0x31
push str.Video_mode_change_failure
push str.The_game_has_detected_that_the_previous_attempt_to_start_in_D3D_video_mode_failed._nThe_game_will_now_run_attempt_to_run_in_openGL_mode.
jmp 0x1401a08
push str.sw.dll
push edi
call dword [eax + 0x14]
push 0x31
push str.Video_mode_change_failure
push str.The_game_has_detected_that_the_previous_attempt_to_start_in_openGL_video_mode_failed._nThe_game_will_now_run_in_software_mode.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x1401cc0
mov ecx, dword [0x140e50c]
push 0x10
push str.ScreenBPP
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e50c]
push 0x280
push str.ScreenHeight
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e50c]
push 0x1e0
push str.ScreenWidth
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, 0x14114a8
push dword [ebp - 0x24]
lea eax, [ebp - 0x128]
push eax
call fcn.0140166c
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x1401c9d
push ebx
push str.VFileSystem009
push eax
call fcn.01401485
pop ecx
call eax
pop ecx
mov dword [0x1411ca8], eax
mov edx, dword [eax]
pop ecx
mov ecx, eax
call dword [edx + 4]
mov eax, dword [0x1411ca8]
push str.ROOT
mov edi, dword [eax]
call fcn.014014a5
mov ecx, dword [0x1411ca8]
push eax
call dword [edi + 0x10]
lea eax, [ebp - 0x20]
mov byte [ebp + 0x13], bl
push eax
xor edi, edi
mov byte [0x14114a8], bl
call fcn.01401528
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x20]
call fcn.01401cc9
mov eax, dword [ebp - 0x18]
add esp, 0x14
cmp eax, ebx
je 0x1401b0f
push dword [ebp - 0x1c]
mov edi, dword [eax]
call fcn.01401485
pop ecx
push eax
call fcn.0140149f
mov ecx, dword [0x140e040]
push eax
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call fcn.014014a5
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [edi + 4]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.01401e76
sub edi, ebx
pop ecx
je 0x1401b33
dec edi
je 0x1401b2d
dec edi
jne 0x1401b36
call fcn.014015e2
mov byte [ebp + 0x13], al
jmp 0x1401b36
mov byte [ebp + 0x13], 1
jmp 0x1401b36
mov byte [ebp + 0x13], bl
mov ecx, dword [0x140e040]
push 0x140e328
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._startwindowed
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._windowed
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._window
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._full
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._fullscreen
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._soft
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._software
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push 0x140e0d4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._d3d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push 0x140e2ec
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._width
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push 0x140e2e0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str._height
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push str.connect
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push ebx
push str._novid
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, str._game
push edi
push esi
call fcn.01402b00
pop ecx
test eax, eax
pop ecx
je 0x1401c55
mov ecx, dword [0x140e040]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, str.load
push edi
push esi
call fcn.01402b00
pop ecx
test eax, eax
pop ecx
je 0x1401c73
mov ecx, dword [0x140e040]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x140e040]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x1411ca8]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebp - 0x1c]
call fcn.01401473
cmp byte [ebp + 0x13], bl
pop ecx
jne 0x1401a59
mov ecx, dword [0x140e50c]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10