Function at 0x5824fd
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cc63b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x22634
call fcn.005b3f80
mov eax, dword [0x6a1da0]
xor eax, esp
mov dword [esp + 0x22630], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1da0]
xor eax, esp
push eax
lea eax, [esp + 0x22648]
mov dword fs:[0], eax
push 0x6a9960
push str.1.0.1
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00589be0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00584020
mov dword [esp + 0x22650], 0
lea ecx, [esp + 0x2c]
cmp byte [0x74d727], 0
je 0x581f77
call fcn.00582dc0
jmp 0x58272c
call fcn.00587950
mov ecx, dword [0x74dbe4]
mov dword [0x6a53e4], 0x74e1e8
mov dword [0x6a53e0], 0x74e1e8
test ecx, ecx
je 0x581fa8
mov eax, dword [ecx]
push 2
push dword [0x6a9950]
push ecx
call dword [eax + 0x28]
call fcn.00589ff0
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00589630
call fcn.00589ff0
mov eax, dword [0x74db48]
mov dword [0x74db50], 0
mov dword [0x74db4c], eax
call fcn.0057fba0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x6a8304]
push 0
push 1
call fcn.00590a10
mov ecx, dword [0x6a8304]
call fcn.00590850
mov ecx, dword [0x6a8304]
push 0x802
call fcn.0058fe90
push 0xffffffffffffffff
push 0
call fcn.00589ed0
add esp, 8
mov dword [esp + 0x24], 0xff404040
lea eax, [esp + 0x24]
push 0
push 0
push eax
mov eax, dword [0x6a8304]
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.00597870
mov eax, dword [esp + 0x20dcc]
add esp, 0x1c
cmp eax, 5
ja case.default.0x582070
jmp dword [eax*4 + 0x582764]
mov edi, dword [0x74dbdc]
mov esi, dword [0x6a8304]
mov dword [esp + 0x18], 0xffffffff
cmp dword [edi + 8], 0
je 0x582148
push 0x3c
lea eax, [esp + 0x21cc4]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21cc8]
add esp, 0xc
movss dword [esp + 0x21cc4], xmm0
movss dword [esp + 0x21ccc], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21cd0], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x20]
movss dword [esp + 0x21ce0], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21cd8], 0
mov dword [esp + 0x21cdc], 0
mov dword [esp + 0x21ce4], 0
mov dword [esp + 0x21cf0], 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.00597870
add esp, 0x1c
lea ecx, [esp + 0x2c]
call fcn.00580ff0
jmp 0x5825d3
mov edi, dword [0x74dbd4]
mov esi, dword [0x6a8304]
mov dword [esp + 0x20], 0xffffffff
cmp dword [edi + 8], 0
je 0x582227
push 0x3c
lea eax, [esp + 0x21dc4]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21dc8]
add esp, 0xc
movss dword [esp + 0x21dc4], xmm0
movss dword [esp + 0x21dcc], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21dd0], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x28]
movss dword [esp + 0x21de0], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21dd8], 0
mov dword [esp + 0x21ddc], 0
mov dword [esp + 0x21de4], 0
mov dword [esp + 0x21df0], 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.00597870
add esp, 0x1c
lea ecx, [esp + 0x2c]
call fcn.00580d20
jmp 0x5825d3
mov edi, dword [0x74dbd0]
mov esi, dword [0x6a8304]
mov dword [esp + 0x10], 0xffffffff
cmp dword [edi + 8], 0
je 0x582306
push 0x3c
lea eax, [esp + 0x21e04]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21e08]
add esp, 0xc
movss dword [esp + 0x21e04], xmm0
movss dword [esp + 0x21e0c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21e10], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x18]
movss dword [esp + 0x21e20], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21e18], 0
mov dword [esp + 0x21e1c], 0
mov dword [esp + 0x21e24], 0
mov dword [esp + 0x21e30], 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.00597870
add esp, 0x1c
lea ecx, [esp + 0x2c]
call fcn.005807c0
jmp 0x5825d3
mov edi, dword [0x74dbc8]
mov esi, dword [0x6a8304]
mov dword [esp + 0x14], 0xffffffff
cmp dword [edi + 8], 0
je 0x5823e5
push 0x3c
lea eax, [esp + 0x21d84]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21d88]
add esp, 0xc
movss dword [esp + 0x21d84], xmm0
movss dword [esp + 0x21d8c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d90], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x1c]
movss dword [esp + 0x21da0], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d98], 0
mov dword [esp + 0x21d9c], 0
mov dword [esp + 0x21da4], 0
mov dword [esp + 0x21db0], 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.00597870
add esp, 0x1c
lea ecx, [esp + 0x2c]
call fcn.00580a90
jmp 0x5825d3
mov edi, dword [0x74dbd8]
mov esi, dword [0x6a8304]
mov dword [esp + 0x1c], 0xffffffff
cmp dword [edi + 8], 0
je 0x5824c4
push 0x3c
lea eax, [esp + 0x21d04]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21d08]
add esp, 0xc
movss dword [esp + 0x21d04], xmm0
movss dword [esp + 0x21d0c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d10], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x24]
movss dword [esp + 0x21d20], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d18], 0
mov dword [esp + 0x21d1c], 0
mov dword [esp + 0x21d24], 0
mov dword [esp + 0x21d30], 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.00597870
add esp, 0x1c
lea ecx, [esp + 0x2c]
call fcn.005815c0
lea ecx, [esp + 0x2c]
call fcn.00581b90
lea ecx, [esp + 0x2c]
call fcn.00581ad0
jmp 0x5825d3
push 0
push 0x5eb
push str.main.cpp
push 0x674d64
call fcn.0058a0b0
add esp, 0x10
mov edi, dword [0x74dbcc]
mov esi, dword [0x6a8304]
mov dword [esp + 0x28], 0xffffffff
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x5825cd
push 0x3c
lea eax, [esp + 0x21d44]
push 0
push eax
call fcn.005b2f40
movss xmm0, dword [edi]
lea eax, [esp + 0x21d48]
add esp, 0xc
movss dword [esp + 0x21d44], xmm0
movss dword [esp + 0x21d4c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21d50], xmm0
push eax
push ebx
lea eax, [esp + 0x30]
movss dword [esp + 0x21d60], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21d58], 0
mov dword [esp + 0x21d5c], 0
mov dword [esp + 0x21d64], 0
mov dword [esp + 0x21d70], 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.00597870
add esp, 0x1c
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x2c]
call fcn.00580340
call fcn.00580690
mov ecx, dword [0x6a8304]
call fcn.0058df50
mov ecx, dword [0x6a8304]
push 1
call fcn.0058e140
cmp byte [0x6a98bc], 0
jne 0x582649
push 0
push dword [0x74dbe0]
call ebx
test eax, eax
jne 0x58261e
push 1
push dword [0x6a9950]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x74d726], 0
jne 0x582652
mov eax, dword [esp + 0x20db4]
test eax, eax
je 0x581fb3
cmp eax, 1
je 0x581fb3
jmp 0x582652
lea ecx, [esp + 0x2c]
call fcn.00587a10
lea ecx, [esp + 0x2c]
call fcn.00587a90
mov ecx, dword [0x74dbe4]
test ecx, ecx
je 0x582673
mov eax, dword [ecx]
push 0
push dword [0x6a9950]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 0x20db4]
dec eax
je 0x5826d8
dec eax
je 0x58269e
dec eax
je 0x5826e1
push 0
push 0x637
push str.main.cpp
push 0x674d64
call fcn.0058a0b0
add esp, 0x10
jmp 0x5826e1
lea eax, [esp + 0x211b9]
push eax
lea eax, [esp + 0x21e40]
push str.There_was_a_problem_updating_the_game_n_s_n_nPlease_retry_later
push eax
call fcn.005827a0
add esp, 0xc
lea eax, [esp + 0x211b9]
push 0x10
push str.Error
push eax
push dword [0x6a9950]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5826e1
lea ecx, [esp + 0x2c]
call fcn.00581ce0
mov eax, dword [0x74e458]
test eax, eax
je 0x58271d
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x582707
push 0
push dword [0x74e458]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x74e458]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x74e458], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x22650], 0xffffffff
call fcn.005844a0
mov ecx, dword [esp + 0x22648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22630]
xor ecx, esp
call fcn.005aed03
mov esp, ebp
pop ebp
ret