Function at 0x45a0a0
Capabilities:
Get hostname
Initialize winsock library
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590e0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x390
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], 1
push 0x5b13dc
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 1
push 0x45e390
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x45a109
push str.SteamService:_failed_to_set_SetConsoleCtrlHandler_n
lea eax, [ebp - 0xdc]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e5e0
add esp, 0x20
cmp byte [0x62d438], 0
je 0x45a6f5
cmp byte [0x62d748], 0
je 0x45a6f5
push 0x62d438
call fcn.004829c0
add esp, 4
lea eax, [ebp - 0x39c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45a158
push 0x100
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
push 0x5b1580
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.0046b450
push str.SteamService.dll
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.0046b450
sub esp, 0x10
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
mov ecx, esp
lea edx, [ebp - 0x1c]
push eax
push edx
call fcn.0045a9c0
mov ecx, esi
call fcn.0045cdc0
push 0x4465d0
push 2
mov bl, al
mov dword [ebp - 4], 0xffffffff
push 4
lea eax, [ebp - 0x1c]
push eax
call fcn.0056be2a
test bl, bl
jne 0x45a1db
lea ecx, [ebp - 0xdc]
call fcn.0045ac20
push str.Could_not_load_version_info_n
jmp 0x45a700
push 0x62d438
lea eax, [ebp - 0xac]
push str._s_bin_secure_desktop_capture.exe
push eax
call fcn.0046a880
push 0x62d748
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 2
push str._s_secure_desktop_capture.exe
push eax
call fcn.0046a880
add esp, 0x18
cmp byte [ebp - 0x8d], 0
mov byte [ebp - 4], 3
jge 0x45a22f
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x45a235
mov eax, 0x593544
jmp 0x45a235
lea eax, [ebp - 0x9c]
cmp byte [ebp - 0x9d], 0
jge 0x45a24f
mov ecx, dword [ebp - 0xac]
test ecx, ecx
jne 0x45a255
mov ecx, 0x593544
jmp 0x45a255
lea ecx, [ebp - 0xac]
mov ebx, dword [ebp - 0x48]
push 0
push 0
push eax
push ecx
mov ecx, ebx
call fcn.0045b800
call fcn.00476c90
test al, al
mov esi, 0x5b160c
mov ecx, esi
lea eax, [ebp - 0x8c]
mov edi, 0x593544
cmove ecx, edi
push ecx
push 0x62d438
push str._s_bin_steamxboxutil_s.exe
push eax
call fcn.0046a880
mov byte [ebp - 4], 4
call fcn.00476c90
test al, al
lea eax, [ebp - 0x7c]
cmove esi, edi
push esi
push 0x62d748
push str._s_steamxboxutil_s.exe
push eax
call fcn.0046a880
add esp, 0x20
cmp byte [ebp - 0x6d], 0
mov byte [ebp - 4], 5
jge 0x45a2cc
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x45a2cf
mov eax, edi
jmp 0x45a2cf
lea eax, [ebp - 0x7c]
cmp byte [ebp - 0x7d], 0
jge 0x45a2e6
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x45a2ec
mov ecx, 0x593544
jmp 0x45a2ec
lea ecx, [ebp - 0x8c]
push 0
push 0
push eax
push ecx
mov ecx, ebx
call fcn.0045b800
push 0x62d438
lea eax, [ebp - 0x6c]
push str._s_bindrivers.exe
push eax
call fcn.0046a880
push 0x62d748
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push str._sdrivers.exe
push eax
call fcn.0046a880
add esp, 0x18
cmp byte [ebp - 0x4d], 0
mov byte [ebp - 4], 7
jge 0x45a33e
mov esi, dword [ebp - 0x5c]
test esi, esi
jne 0x45a341
mov esi, 0x593544
jmp 0x45a341
lea esi, [ebp - 0x5c]
cmp byte [ebp - 0x5d], 0
jge 0x45a355
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x45a358
mov eax, 0x593544
jmp 0x45a358
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push 0
push esi
push eax
mov ecx, ebx
call fcn.0045b800
test al, al
je 0x45a474
cmp byte [ebp - 0xd], 0
je 0x45a474
push 0
push 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.0046b7b0
push 0
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.00472390
add esp, 0x10
test al, al
je 0x45a444
mov esi, dword [ebp - 0xc0]
test esi, esi
js 0x45a444
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0x14], 0x4034b50
cmp esi, 4
jb 0x45a444
mov ecx, edi
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x45a3f9
cmp al, byte [edx]
jne 0x45a3fd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45a3fd
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45a3fd
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x45a3fd
xor eax, eax
jmp 0x45a402
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a40f
dec esi
inc edi
cmp esi, 4
jae 0x45a3d2
jmp 0x45a444
lea ecx, [ebp - 0x20]
call fcn.00466dc0
push 0
push esi
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.004679a0
test al, al
je 0x45a43c
push 0
push 0
push 0x62d748
lea ecx, [ebp - 0x20]
call fcn.00466f00
lea ecx, [ebp - 0x20]
call fcn.00466e30
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0xa
jl 0x45a470
cmp dword [ebp - 0xd0], 0
je 0x45a470
call fcn.00480170
push 0
push dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 7
push 0x62d438
lea eax, [ebp - 0x34]
push str._s_binSteamService.dll
push eax
call fcn.0046a880
push 0x62d748
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push str._sSteamService.dll
push eax
call fcn.0046a880
add esp, 0x18
cmp byte [ebp - 0x35], 0
mov byte [ebp - 4], 0xc
jge 0x45a4b9
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x45a4bc
mov eax, 0x593544
jmp 0x45a4bc
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x25], 0
jge 0x45a4d0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x45a4d3
mov ecx, 0x593544
jmp 0x45a4d3
lea ecx, [ebp - 0x34]
push 0
push 0
push eax
push ecx
mov ecx, ebx
call fcn.0045b800
test al, al
jne 0x45a4ee
mov ebx, 1
jmp 0x45a5ea
cmp byte [ebp - 0x35], 0
jge 0x45a502
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x45a505
mov eax, 0x593544
jmp 0x45a505
lea eax, [ebp - 0x44]
push eax
call fcn.004828c0
mov edi, eax
add esp, 4
test edi, edi
je 0x45a5aa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SteamService_RunMainLoop
push edi
call esi
push str.SteamService_Stop
push edi
mov dword [ebx + 0x20c], eax
call esi
mov ecx, dword [ebx + 0x20c]
mov dword [ebx + 0x210], eax
test ecx, ecx
je 0x45a55a
test eax, eax
je 0x45a55a
cmp byte [ebx + 0x214], 0
jne 0x45a597
call ecx
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x45a597
cmp byte [ebp - 0x25], 0
jge 0x45a56e
mov esi, dword [ebp - 0x34]
test esi, esi
jne 0x45a571
mov esi, 0x593544
jmp 0x45a571
lea esi, [ebp - 0x34]
lea ecx, [ebp - 0xdc]
call fcn.0045ac20
push esi
push str.SteamService:_Failed_to_init__s_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e5e0
add esp, 0x24
push edi
mov dword [ebx + 0x210], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x45a5e7
cmp byte [ebp - 0x25], 0
jge 0x45a5be
mov esi, dword [ebp - 0x34]
test esi, esi
jne 0x45a5c1
mov esi, 0x593544
jmp 0x45a5c1
lea esi, [ebp - 0x34]
lea ecx, [ebp - 0x10c]
call fcn.0045ac20
push esi
push str.SteamService:_Failed_to_load__s._n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e5e0
add esp, 0x24
mov ebx, dword [ebp - 0x24]
cmp byte [ebp - 0x35], 0
mov byte [ebp - 4], 0xd
jge 0x45a607
call fcn.00480170
push 0
push dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x25], 0
mov byte [ebp - 4], 0xe
jge 0x45a624
call fcn.00480170
push 0
push dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x4d], 0
mov byte [ebp - 4], 0xf
jge 0x45a641
call fcn.00480170
push 0
push dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x5d], 0
mov byte [ebp - 4], 0x10
jge 0x45a65e
call fcn.00480170
push 0
push dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0x11
jge 0x45a67b
call fcn.00480170
push 0
push dword [ebp - 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x7d], 0
mov byte [ebp - 4], 0x12
jge 0x45a69b
call fcn.00480170
push 0
push dword [ebp - 0x8c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x8d], 0
mov byte [ebp - 4], 0x13
jge 0x45a6be
call fcn.00480170
push 0
push dword [ebp - 0x9c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x9d], 0
mov dword [ebp - 4], 0x14
jge 0x45a6e2
call fcn.00480170
push 0
push dword [ebp - 0xac]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xdc]
push str.Could_not_get_path_to_current_executable_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e5e0
mov ecx, dword [ebp - 0xc]
add esp, 0x20
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret