Function at 0x461a60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d721d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [eax], 0
mov dword [ebp - 0x30], edi
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x461a9d
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
mov ecx, edi
call fcn.00463510
mov edx, eax
mov ebx, 0x6e3a60
mov dword [ebp - 0x38], edx
test edx, edx
je 0x462833
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0xd8]
add ecx, 0x10
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xcc], ecx
lea esp, [esp]
mov eax, dword [edx]
mov ecx, ebx
test eax, eax
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0xf
cmovne ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
mov ebx, dword [edx + 4]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x461ba4
cmp byte [ebx], 0
je 0x461ba4
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x461b14
sub esi, ecx
je 0x461ba4
mov cl, byte [ebp - 0xd]
mov al, cl
shr al, 7
test al, al
je 0x461b35
cmp dword [ebp - 0x18], 0
jmp 0x461b38
cmp cl, 0xf
sete dl
test dl, dl
je 0x461b6e
test al, al
je 0x461b59
test cl, 0x40
jne 0x461ba7
mov edx, dword [ebp - 0x1c]
mov eax, 0x6e3a60
test edx, edx
cmovne eax, edx
cmp eax, ebx
je 0x461ba7
push 0
push 0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461ba4
push esi
push ebx
jmp 0x461b9b
test al, al
je 0x461b77
mov ebx, dword [ebp - 0x18]
jmp 0x461b81
movzx eax, cl
mov ebx, 0xf
sub ebx, eax
push 0
push 1
lea eax, [ebx + esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461ba4
push esi
push dword [ebp + 0x10]
add eax, ebx
push eax
call fcn.0054f320
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov al, cl
shr al, 7
test al, al
je 0x461bb6
cmp dword [ebp - 0x18], 0
jmp 0x461bb9
cmp cl, 0xf
sete dl
test dl, dl
je 0x461c18
test al, al
je 0x461be0
test cl, 0x40
jne 0x461c69
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x461be0
cmp edx, str.steam_client_
je 0x461c69
push 0
push 0
push 0xd
lea ecx, [ebp - 0x1c]
call fcn.004559c0
mov edx, eax
test edx, edx
je 0x461c66
mov ecx, dword [str.steam_client_]
mov dword [edx], ecx
mov ecx, dword [0x6e7418]
mov dword [edx + 4], ecx
mov ecx, dword [0x6e741c]
mov dword [edx + 8], ecx
mov al, byte [0x6e7420]
mov byte [edx + 0xc], al
jmp 0x461c66
test al, al
je 0x461c21
mov esi, dword [ebp - 0x18]
jmp 0x461c2b
movzx eax, cl
mov esi, 0xf
sub esi, eax
push 0
push 1
lea eax, [esi + 0xd]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004559c0
mov edx, eax
test edx, edx
je 0x461c66
mov ecx, dword [str.steam_client_]
mov dword [esi + edx], ecx
mov ecx, dword [0x6e7418]
mov dword [esi + edx + 4], ecx
mov eax, dword [0x6e741c]
mov dword [esi + edx + 8], eax
mov al, byte [0x6e7420]
mov byte [esi + edx + 0xc], al
mov cl, byte [ebp - 0xd]
mov ebx, dword [edi + 0xa8]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x461d8d
cmp byte [ebx], 0
je 0x461d8d
mov esi, ebx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x461c88
sub esi, edx
je 0x461d18
mov al, cl
shr al, 7
test al, al
je 0x461ca6
cmp dword [ebp - 0x18], 0
jmp 0x461ca9
cmp cl, 0xf
sete dl
test dl, dl
je 0x461cdf
test al, al
je 0x461cca
test cl, 0x40
jne 0x461d18
mov edx, dword [ebp - 0x1c]
mov eax, 0x6e3a60
test edx, edx
cmovne eax, edx
cmp eax, ebx
je 0x461d18
push 0
push 0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461d15
push esi
push ebx
jmp 0x461d0c
test al, al
je 0x461ce8
mov ebx, dword [ebp - 0x18]
jmp 0x461cf2
movzx eax, cl
mov ebx, 0xf
sub ebx, eax
push 0
push 1
lea eax, [ebx + esi]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461d15
push esi
push dword [ebp + 0x10]
add eax, ebx
push eax
call fcn.0054f320
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov al, cl
shr al, 7
test al, al
je 0x461d27
cmp dword [ebp - 0x18], 0
jmp 0x461d2a
cmp cl, 0xf
sete dl
test dl, dl
je 0x461d5f
test al, al
je 0x461d48
test cl, 0x40
jne 0x461d8d
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x461d48
lea eax, [ebp - 0x40]
cmp edx, eax
je 0x461d8d
push 0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461d8a
mov byte [eax], 0x5f
jmp 0x461d8a
test al, al
je 0x461d68
mov esi, dword [ebp - 0x18]
jmp 0x461d72
movzx eax, cl
mov esi, 0xf
sub esi, eax
push 0
push 1
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461d8a
mov byte [esi + eax], 0x5f
mov cl, byte [ebp - 0xd]
mov al, cl
shr al, 7
test al, al
je 0x461d9c
cmp dword [ebp - 0x18], 0
jmp 0x461d9f
cmp cl, 0xf
sete dl
test dl, dl
je 0x461de4
test al, al
je 0x461dbe
test cl, 0x40
jne 0x461e22
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x461dbe
cmp edx, 0x6e6464
je 0x461e22
push 0
push 0
push 5
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461e1f
mov ecx, dword [0x6e6464]
mov dword [eax], ecx
movzx ecx, byte [0x6e6468]
mov byte [eax + 4], cl
jmp 0x461e1f
test al, al
je 0x461ded
mov esi, dword [ebp - 0x18]
jmp 0x461df7
movzx eax, cl
mov esi, 0xf
sub esi, eax
push 0
push 1
lea eax, [esi + 5]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004559c0
test eax, eax
je 0x461e1f
mov ecx, dword [0x6e6464]
mov dword [eax + esi], ecx
movzx ecx, byte [0x6e6468]
mov byte [eax + esi + 4], cl
mov cl, byte [ebp - 0xd]
test cl, cl
jns 0x461e34
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x461e37
mov eax, 0x6e3a60
jmp 0x461e37
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.0049f670
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x80]
test eax, eax
je 0x461e67
push eax
lea eax, [ebp - 0x1c]
push str._t_u
push eax
call fcn.0049ed90
add esp, 0xc
mov esi, dword [ebp - 0xcc]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x461e8e
mov edx, dword [esi + 4]
mov eax, dword [ecx]
cmp edx, eax
jge 0x461e89
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
jmp 0x461ebb
cmp eax, dword [esi + 8]
jne 0x461e9f
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.0046f8f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi]
call fcn.004c87f0
mov edx, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 4]
test byte [ebp - 0xd], 0x80
mov dword [ebp - 0x34], ebx
je 0x461ed2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x461ed5
mov ecx, 0x6e3a60
jmp 0x461ed5
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov eax, 0x6e685c
push ecx
push dword [ebp - 0x24]
mov ebx, 0x6e3a60
cmp byte [esi + 8], 0
cmove eax, ebx
push eax
lea eax, [ebp - 0x118]
push str.Downloading_manifest:_http_s:___s_s_n
push eax
call fcn.0049eb10
add esp, 0x14
mov ecx, eax
mov byte [ebp - 4], 4
cmp byte [ecx + 0xf], 0
jge 0x461f10
mov ecx, dword [ecx]
test ecx, ecx
mov eax, ebx
cmovne eax, ecx
lea ecx, [edi + 0xd8]
push eax
call fcn.00464ae0
mov byte [ebp - 4], 3
test byte [ebp - 0x109], 0x80
je 0x461f46
call fcn.005368d0
push 0
push dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
test byte [ebp - 0xd], 0x80
mov al, byte [esi + 8]
mov byte [ebp - 0xd0], al
je 0x461f63
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x461f66
mov esi, 0x6e3a60
jmp 0x461f66
lea esi, [ebp - 0x1c]
push 0x120
call fcn.0054d1de
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x461f96
push dword [ebp - 0xd0]
mov ecx, eax
push esi
push dword [ebp - 0x24]
push 1
call fcn.004b7110
jmp 0x461f98
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
mov ebx, dword [edi + 0x17c]
mov dword [ebp + 0x10], eax
call fcn.00549a20
push 0
mov edi, eax
call fcn.00549bf0
mov esi, eax
call fcn.0053c850
push ebx
test al, al
mov ecx, str.console
push edi
mov eax, str.client
cmove ecx, eax
lea eax, [ebp - 0x128]
push esi
push ecx
push str._s__s__d__d
push eax
call fcn.0049eb10
add esp, 0x1c
mov ecx, eax
mov byte [ebp - 4], 8
cmp byte [ecx + 0xf], 0
jge 0x461ff9
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x6e3a60
cmovne eax, ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004bdd90
mov byte [ebp - 4], 7
test byte [ebp - 0x119], 0x80
je 0x46202f
call fcn.005368d0
push 0
push dword [ebp - 0x128]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov esi, dword [ebp - 0x34]
or dword [esi + 8], 1
mov ebx, dword [esi + 4]
test bl, 3
jne 0x462043
and ebx, 0xfffffffc
jmp 0x462054
mov eax, ebx
shr eax, 1
test al, 1
je 0x46204f
xor ebx, ebx
jmp 0x462054
and ebx, 0xfffffffc
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462081
sub ecx, edx
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.004662a0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x68]
push ebx
push eax
mov byte [ebp - 0xd4], 0
lea ecx, [esi + 0x10]
push dword [ebp - 0xd4]
call fcn.0046d7f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4620ec
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4620e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462bf0
push edx
push ecx
call fcn.0054d20e
add esp, 8
or dword [esi + 8], 2
mov ebx, dword [esi + 4]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
test bl, 3
jne 0x46210f
and ebx, 0xfffffffc
jmp 0x462120
mov eax, ebx
shr eax, 1
test al, 1
je 0x46211b
xor ebx, ebx
jmp 0x462120
and ebx, 0xfffffffc
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462150
sub ecx, edx
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x80]
call fcn.004662a0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x80]
push ebx
push eax
mov byte [ebp - 0xd8], 0
lea ecx, [esi + 0x14]
push dword [ebp - 0xd8]
call fcn.0046d7f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4621bb
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4621b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462bf0
push edx
push ecx
call fcn.0054d20e
add esp, 8
test byte [ebp - 0xd], 0x80
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
je 0x4621e1
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x4621e4
mov edx, 0x6e3a60
jmp 0x4621e4
lea edx, [ebp - 0x1c]
or dword [esi + 8], 4
mov ebx, dword [esi + 4]
test bl, 3
jne 0x4621f5
and ebx, 0xfffffffc
jmp 0x462206
mov eax, ebx
shr eax, 1
test al, 1
je 0x462201
xor ebx, ebx
jmp 0x462206
and ebx, 0xfffffffc
mov ebx, dword [ebx]
mov ecx, edx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x98], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462244
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.004662a0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x98]
push ebx
push eax
mov byte [ebp - 0xdc], 0
lea ecx, [esi + 0x18]
push dword [ebp - 0xdc]
call fcn.0046d7f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x4622b9
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4622af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462bf0
push edx
push ecx
call fcn.0054d20e
add esp, 8
mov eax, dword [ebp - 0x2c]
mov edx, 0x6e3a60
test eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
cmovne edx, eax
mov byte [ebp - 0x98], 0
or dword [esi + 8], 8
mov ebx, dword [esi + 4]
test bl, 3
jne 0x4622f2
and ebx, 0xfffffffc
jmp 0x462303
mov eax, ebx
shr eax, 1
test al, 1
je 0x4622fe
xor ebx, ebx
jmp 0x462303
and ebx, 0xfffffffc
mov ebx, dword [ebx]
mov ecx, edx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0xb0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462341
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.004662a0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xb0]
push ebx
push eax
mov byte [ebp - 0xe0], 0
lea ecx, [esi + 0x1c]
push dword [ebp - 0xe0]
call fcn.0046d7f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x4623b6
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4623ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462bf0
push edx
push ecx
call fcn.0054d20e
add esp, 8
or dword [esi + 8], 0x200
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov dword [esi + 0x3c], 0
jne 0x462429
mov eax, dword [edi + 0x180]
test eax, eax
je 0x462429
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1e8]
push 0
push str._a___d__b__Y__H:_M:_S_GMT
push eax
call fcn.004ab620
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x1e8]
push eax
push 0
push 1
push str.If_Modified_Since
call fcn.004a5420
push eax
call fcn.004a64d0
add esp, 8
cmp dword [edi + 0x188], 0
je 0x46244e
push str.m_PendingMainThreadHTTPRequest__nullptr
push 0x7ba
push str.c:_buildslave_steam_rel_client_win32_build_src_steamexe_steamupdater.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x46244e
int3
cmp dword [edi + 0x18c], 0
je 0x462473
push str.m_PendingMainThreadHTTPHandle__nullptr
push 0x7bb
push str.c:_buildslave_steam_rel_client_win32_build_src_steamexe_steamupdater.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x462473
int3
lea eax, [ebp - 0x28]
mov dword [edi + 0x188], eax
cmp dword [edi + 0x18c], 0
jne 0x4624b3
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x462497
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4624b3
cmp byte [edi + 0x4c], 0
jne 0x4624b3
push 0xfa
call fcn.0053de20
add esp, 4
cmp dword [edi + 0x18c], 0
je 0x462485
mov esi, dword [edi + 0x18c]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4624cc
mov dword [ebp - 0x20], 0
call fcn.00461a00
mov dword [ebp - 0x20], esi
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
test esi, esi
je 0x462995
push str.Manifest_download:_waiting_for_download_to_finish
lea ecx, [edi + 0xd8]
call fcn.00464ae0
cmp byte [esi + 0x1a], 0
jne 0x462534
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x462517
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x46284a
cmp byte [edi + 0x4c], 0
jne 0x46284a
push 0xfa
call fcn.0053de20
add esp, 4
cmp byte [esi + 0x1a], 0
je 0x462501
push str.Manifest_download:_finished
lea ecx, [edi + 0xd8]
call fcn.00464ae0
mov eax, dword [esi + 0x58]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edx
fld dword [esi + 0x44]
fsub dword [esi + 0x38]
fmul qword [0x6e87a0]
fstp dword [ebp + 0x10]
fldz
fld dword [ebp + 0x10]
fcompi st(1)
fstp st(0)
jbe 0x462575
movss xmm0, dword [ebp + 0x10]
movss dword [ebp + 0x10], xmm0
jmp 0x46257c
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp - 0x34]
push 0
push 0x30
or dword [ebx + 8], 0x40
mov dword [ebx + 0x28], edx
mov al, byte [esi + 0x1b]
or dword [ebx + 8], 0x20
mov byte [ebx + 0x24], al
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0xe8]
mov dword [ebp - 0x100], eax
mov eax, dword [ecx + 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx + 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ecx + 0xf8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ecx + 0xfc]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x168]
push eax
call fcn.004c1910
or dword [ebx + 8], 0x10
lea eax, [ebx + 0x20]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x38], eax
test bl, 3
jne 0x462608
and ebx, 0xfffffffc
jmp 0x462619
mov eax, ebx
shr eax, 1
test al, 1
je 0x462614
xor ebx, ebx
jmp 0x462619
and ebx, 0xfffffffc
mov ebx, dword [ebx]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
jmp 0x462660
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462660
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004662a0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xc8]
mov ecx, dword [ebp - 0x38]
push ebx
push eax
mov byte [ebp - 0xe4], 0
push dword [ebp - 0xe4]
call fcn.0046d7f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x4626db
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4626d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462bf0
push edx
push ecx
call fcn.0054d20e
add esp, 8
fld dword [ebp + 0x10]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
fnstcw word [ebp + 0x12]
movzx eax, word [ebp + 0x12]
or dword [ebx + 8], 0x100
or eax, 0xc00
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
fldcw word [ebp - 0x38]
fistp qword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x58]
fldcw word [ebp + 0x12]
mov eax, dword [eax + 0x20]
or dword [ebx + 8], 0x80
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 0
cmp byte [esi + 0x1b], 0
je 0x46275f
cmp byte [edi + 0x4f], 0
jne 0x46275f
mov eax, dword [ecx]
cmp eax, 0x130
je 0x462983
cmp eax, 0xc8
je 0x4628d3
test byte [ebp - 0xd], 0x80
je 0x462773
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x462776
mov eax, 0x6e3a60
jmp 0x462776
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x138]
push dword [ecx]
push str.Download_failed:_http_error__d___s_s__n
push eax
call fcn.0049eb10
add esp, 0x14
mov ecx, eax
mov byte [ebp - 4], 0x19
cmp byte [ecx + 0xf], 0
jge 0x46279e
mov ecx, dword [ecx]
test ecx, ecx
mov ebx, 0x6e3a60
mov eax, ebx
cmovne eax, ecx
lea ecx, [edi + 0xd8]
push eax
call fcn.00464ae0
mov byte [ebp - 4], 7
test byte [ebp - 0x129], 0x80
je 0x4627d9
call fcn.005368d0
push 0
push dword [ebp - 0x138]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
inc dword [edi + 0xcc]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.00461a00
mov byte [ebp - 4], 2
call fcn.005368d0
push 0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 1
test byte [ebp - 0xd], 0x80
je 0x46281f
call fcn.005368d0
push 0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov ecx, edi
call fcn.00463510
mov edx, eax
mov dword [ebp - 0x38], edx
test edx, edx
jne 0x461ae0
lea esi, [edi + 0xd8]
push str.DownloadManifest___exhausted_list_of_download_hosts
mov ecx, esi
call fcn.00464ae0
jmp 0x46291e
mov al, byte [edi + 0x4c]
mov esi, 0x6e64f0
test al, al
mov ecx, 0x6e45c0
mov ebx, esi
cmove ebx, ecx
mov ecx, dword [edi + 0x38]
xor al, al
test ecx, ecx
je 0x46286e
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
mov eax, 0x6e45c0
push ebx
cmove esi, eax
lea eax, [ebp - 0x50]
push esi
push str.Manifest_download:_cancelled:_s_shutdown:_s
push eax
call fcn.0049eb10
add esp, 0x10
mov byte [ebp - 4], 0x13
cmp byte [eax + 0xf], 0
jge 0x462897
mov eax, dword [eax]
test eax, eax
mov ecx, 0x6e3a60
cmovne ecx, eax
push ecx
lea ecx, [edi + 0xd8]
call fcn.00464ae0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x41], 0
jge 0x4629c9
call fcn.005368d0
push 0
push dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
jmp 0x4629c9
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.00461a00
mov byte [ebp - 4], 2
call fcn.005368d0
push 0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 1
cmp byte [ebp - 0xd], 0
jge 0x462913
call fcn.005368d0
push 0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
lea esi, [edi + 0xd8]
mov ebx, 0x6e3a60
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea eax, [ecx - 0x190]
cmp eax, 0xc7
ja 0x462a10
push ecx
lea eax, [ebp - 0x50]
push str.Failing_manifest_download_with_http_error__d
push eax
call fcn.0049eb10
add esp, 0xc
mov byte [ebp - 4], 0x1b
cmp byte [eax + 0xf], 0
jge 0x462952
mov eax, dword [eax]
test eax, eax
mov ecx, esi
cmovne ebx, eax
push ebx
call fcn.00464ae0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x41], 0
jge 0x46297c
call fcn.005368d0
push 0
push dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
xor ebx, ebx
jmp 0x462bc1
mov ecx, dword [ebp - 0xe8]
push str.Download_skipped_by_HTTP_304_Not_Modified_n
call fcn.00464ae0
jmp 0x4629c9
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4629a7
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4629c9
cmp byte [edi + 0x4c], 0
jne 0x4629c9
push str.BUserCanceled____m_bShouldShutdown
push 0x7c9
push str.c:_buildslave_steam_rel_client_win32_build_src_steamexe_steamupdater.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4629c9
int3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.00461a00
mov byte [ebp - 4], 2
call fcn.005368d0
push 0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 1
cmp byte [ebp - 0xd], 0
jge 0x46297c
call fcn.005368d0
push 0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
xor ebx, ebx
jmp 0x462bc1
mov ebx, dword [ebp - 0x20]
push 0
mov ecx, dword [ebx + 0x58]
add ecx, 0xc
call fcn.004a9f00
xor esi, esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x1e
mov ecx, edi
mov eax, dword [ebx + 0x58]
push dword [eax + 0x10]
call fcn.004649e0
mov ebx, eax
test ebx, ebx
je 0x462ba0
push 0
push closesocket
mov esi, ebx
mov ecx, ebx
push str.version
mov dword [ebp - 0x30], esi
call fcn.004a55f0
push eax
call fcn.004a5e80
add esp, 0xc
mov edx, eax
cmp byte [ebp + 0xc], 0
mov dword [ebp + 0x10], edx
jne 0x462b2b
cmp dword [edi + 0x17c], edx
jge 0x462a84
cmp dword [edi + 0x184], edx
jl 0x462b2b
mov ebx, dword [ebp - 0x20]
push 0
push str.Last_Modified
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 0x34]
call fcn.004a55f0
push eax
call fcn.004a5ff0
add esp, 8
test eax, eax
je 0x462ac1
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.004ab6c0
add esp, 4
cmp eax, dword [edi + 0x180]
jbe 0x462ac1
mov dword [edi + 0x180], eax
push dword [edi + 0x184]
mov eax, dword [ebx + 0x58]
mov ebx, 0x6e3a60
push dword [edi + 0x17c]
mov ecx, ebx
push dword [ebp + 0x10]
mov eax, dword [eax + 0x40]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x50]
push ecx
push str.Download_skipped:__s_version__d__installed_version__d__existing_pending_version__d_n
push eax
call fcn.0049eb10
add esp, 0x18
mov byte [ebp - 4], 0x21
cmp byte [eax + 0xf], 0
jge 0x462b00
mov eax, dword [eax]
test eax, eax
lea ecx, [edi + 0xd8]
cmovne ebx, eax
push ebx
call fcn.00464ae0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x50]
call fcn.00458ff0
mov eax, dword [ebp + 8]
mov dword [eax], 0x130
jmp 0x462bb0
mov eax, dword [ebp - 0x20]
mov esi, 0x6e3a60
push dword [edi + 0x184]
mov ecx, esi
push dword [edi + 0x17c]
mov eax, dword [eax + 0x58]
push edx
mov eax, dword [eax + 0x40]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x50]
push ecx
push str.Downloaded_new_manifest:__s_version__d__installed_version__d__existing_pending_version__d_n
push eax
call fcn.0049eb10
add esp, 0x18
mov byte [ebp - 4], 0x23
cmp byte [eax + 0xf], 0
jge 0x462b6b
mov eax, dword [eax]
test eax, eax
lea ecx, [edi + 0xd8]
cmovne esi, eax
push esi
call fcn.00464ae0
mov byte [ebp - 4], 0x1e
cmp byte [ebp - 0x41], 0
jge 0x462b99
call fcn.005368d0
push 0
push dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
xor esi, esi
mov dword [ebp - 0x30], esi
jmp 0x462bb2
push str.Failed_to_load_manifest_n
lea ecx, [edi + 0xd8]
call fcn.00464ae0
xor ebx, ebx
mov byte [ebp - 4], 1
test esi, esi
je 0x462bc1
mov ecx, esi
call fcn.004a87e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x462bdb
mov dword [ebp - 0x20], 0
call fcn.00461a00
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0055f49f
int3