Function at 0x561ab0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fd936
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225ec
call fcn.005e0fa0
mov eax, dword [0x6e8da0]
xor eax, esp
mov dword [esp + 0x225e8], eax
push ebx
push esi
push edi
mov eax, dword [0x6e8da0]
xor eax, esp
push eax
lea eax, [esp + 0x22600]
mov dword fs:[0], eax
push 0x804f00
push str.0.2.7
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.005b6df0
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.00564280
mov dword [esp + 0x22608], 0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00561980
mov edi, dword [esp + 0x10]
xor esi, esi
mov ebx, eax
test edi, edi
jle 0x561b8c
lea ecx, [ecx]
mov ecx, dword [ebx + esi*4]
mov edx, str._steam
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x561b68
test al, al
je 0x561b64
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x561b68
add ecx, 2
add edx, 2
test al, al
jne 0x561b48
xor eax, eax
jmp 0x561b6d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x561b87
cmp esi, edi
jge 0x561b87
push str.Trying_to_init_steam_n
call fcn.005b6df0
add esp, 4
call fcn.005639f0
inc esi
cmp esi, edi
jl 0x561b40
cmp byte [0x8a8cd7], 0
lea ecx, [esp + 0x34]
je 0x561ba3
call fcn.00562a30
jmp 0x56239f
call fcn.00567d90
mov ecx, dword [0x8a9190]
mov dword [0x6ec1c4], 0x8a9810
mov dword [0x6ec1c0], 0x8a9810
test ecx, ecx
je 0x561bd4
mov eax, dword [ecx]
push 2
push dword [0x804ef4]
push ecx
call dword [eax + 0x28]
call fcn.005b7200
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
call fcn.005b6840
call fcn.005b7200
mov eax, dword [0x8a90f8]
mov dword [0x8a9100], 0
mov dword [0x8a90fc], eax
call fcn.0055f2c0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x803dc4]
push 0
push 1
call fcn.005bdd90
mov ecx, dword [0x803dc4]
call fcn.005bdb00
mov ecx, dword [0x803dc4]
push 0x802
call fcn.005bd140
push 0xffffffffffffffff
push 0
call fcn.005b70e0
add esp, 8
mov dword [esp + 0x20], 0xff404040
lea eax, [esp + 0x20]
push 0
push 0
push eax
mov eax, dword [0x803dc4]
sub esp, 0x10
movss xmm0, dword [eax + 0x4a0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
mov eax, dword [esp + 0x20dd4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x561c9d
jmp dword [eax*4 + 0x5623d8]
mov edi, dword [0x8a9188]
mov esi, dword [0x803dc4]
mov dword [esp + 0x28], 0xffffffff
cmp dword [edi + 8], 0
je 0x561d75
push 0x3c
lea eax, [esp + 0x21d3c]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21d40]
add esp, 0xc
movss dword [esp + 0x21d3c], xmm0
movss dword [esp + 0x21d44], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d48], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x30]
movss dword [esp + 0x21d58], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d50], 0
mov dword [esp + 0x21d54], 0
mov dword [esp + 0x21d5c], 0
mov dword [esp + 0x21d68], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
lea ecx, [esp + 0x34]
call fcn.00560780
jmp 0x562200
mov edi, dword [0x8a9180]
mov esi, dword [0x803dc4]
mov dword [esp + 0x14], 0xffffffff
cmp dword [edi + 8], 0
je 0x561e54
push 0x3c
lea eax, [esp + 0x21d7c]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21d80]
add esp, 0xc
movss dword [esp + 0x21d7c], xmm0
movss dword [esp + 0x21d84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d88], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x1c]
movss dword [esp + 0x21d98], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d90], 0
mov dword [esp + 0x21d94], 0
mov dword [esp + 0x21d9c], 0
mov dword [esp + 0x21da8], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
lea ecx, [esp + 0x34]
call fcn.00560490
jmp 0x562200
mov edi, dword [0x8a917c]
mov esi, dword [0x803dc4]
mov dword [esp + 0x18], 0xffffffff
cmp dword [edi + 8], 0
je 0x561f33
push 0x3c
lea eax, [esp + 0x21dbc]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21dc0]
add esp, 0xc
movss dword [esp + 0x21dbc], xmm0
movss dword [esp + 0x21dc4], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21dc8], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x20]
movss dword [esp + 0x21dd8], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21dd0], 0
mov dword [esp + 0x21dd4], 0
mov dword [esp + 0x21ddc], 0
mov dword [esp + 0x21de8], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
lea ecx, [esp + 0x34]
call fcn.0055ff10
jmp 0x562200
mov edi, dword [0x8a913c]
mov esi, dword [0x803dc4]
mov dword [esp + 0x1c], 0xffffffff
cmp dword [edi + 8], 0
je 0x562012
push 0x3c
lea eax, [esp + 0x21c7c]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21c80]
add esp, 0xc
movss dword [esp + 0x21c7c], xmm0
movss dword [esp + 0x21c84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21c88], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x24]
movss dword [esp + 0x21c98], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21c90], 0
mov dword [esp + 0x21c94], 0
mov dword [esp + 0x21c9c], 0
mov dword [esp + 0x21ca8], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
lea ecx, [esp + 0x34]
call fcn.005601e0
jmp 0x562200
mov edi, dword [0x8a9184]
mov esi, dword [0x803dc4]
mov dword [esp + 0x24], 0xffffffff
cmp dword [edi + 8], 0
je 0x5620f1
push 0x3c
lea eax, [esp + 0x21cbc]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21cc0]
add esp, 0xc
movss dword [esp + 0x21cbc], xmm0
movss dword [esp + 0x21cc4], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21cc8], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x2c]
movss dword [esp + 0x21cd8], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21cd0], 0
mov dword [esp + 0x21cd4], 0
mov dword [esp + 0x21cdc], 0
mov dword [esp + 0x21ce8], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
lea ecx, [esp + 0x34]
call fcn.00560ca0
lea ecx, [esp + 0x34]
call fcn.00561270
lea ecx, [esp + 0x34]
call fcn.005611b0
jmp 0x562200
push 0
push 0x5dd
push str.main.cpp
push 0x6a6ff4
call fcn.005b72c0
add esp, 0x10
mov edi, dword [0x8a9178]
mov esi, dword [0x803dc4]
mov dword [esp + 0x2c], 0xffffffff
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x5621fa
push 0x3c
lea eax, [esp + 0x21cfc]
push 0
push eax
call fcn.005dfe30
movss xmm0, dword [edi]
lea eax, [esp + 0x21d00]
add esp, 0xc
movss dword [esp + 0x21cfc], xmm0
movss dword [esp + 0x21d04], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d08], xmm0
push eax
push ebx
lea eax, [esp + 0x34]
movss dword [esp + 0x21d18], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d10], 0
mov dword [esp + 0x21d14], 0
mov dword [esp + 0x21d1c], 0
mov dword [esp + 0x21d28], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x49c]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005c4c30
add esp, 0x1c
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x34]
call fcn.0055fb00
call fcn.0055fde0
mov ecx, dword [0x803dc4]
call fcn.005bb290
mov ecx, dword [0x803dc4]
push 1
call fcn.005bb480
cmp byte [0x804ee8], 0
jne 0x562276
push 0
push dword [0x8a918c]
call ebx
test eax, eax
jne 0x56224b
push 1
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x8a8cd6], 0
jne 0x5622c5
mov eax, dword [esp + 0x20dbc]
test eax, eax
je 0x561be0
cmp eax, 1
je 0x561be0
jmp 0x5622c5
lea eax, [esp + 0x20d84]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x22608], 1
push dword [esp + 0x20d78]
push str.Requested_to_stop___d_files_in_queue_n
call fcn.005b6df0
add esp, 8
mov dword [esp + 0x20dbc], 3
lea eax, [esp + 0x20d84]
mov byte [esp + 0x22608], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x34]
call fcn.00567e50
mov ecx, dword [0x8a9190]
test ecx, ecx
je 0x5622e6
mov eax, dword [ecx]
push 0
push dword [0x804ef4]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 0x20dbc]
dec eax
je 0x56234b
dec eax
je 0x562311
dec eax
je 0x562354
push 0
push 0x629
push str.main.cpp
push 0x6a6ff4
call fcn.005b72c0
add esp, 0x10
jmp 0x562354
lea eax, [esp + 0x211c1]
push eax
lea eax, [esp + 0x21df8]
push str.There_was_a_problem_updating_the_game_n_s_n_nPlease_retry_later
push eax
call fcn.00562410
add esp, 0xc
lea eax, [esp + 0x211c1]
push 0x10
push str.Error
push eax
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x562354
lea ecx, [esp + 0x34]
call fcn.00561440
mov eax, dword [0x8a9ce8]
test eax, eax
je 0x562390
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x56237a
push 0
push dword [0x8a9ce8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x8a9ce8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x8a9ce8], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x34]
mov dword [esp + 0x22608], 0xffffffff
call fcn.00564700
mov ecx, dword [esp + 0x22600]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x225e8]
xor ecx, esp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret