Function at 0x5848a5
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e5ffb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x224cc
call fcn.005c4dc0
mov eax, dword [0x6cdf60]
xor eax, esp
mov dword [esp + 0x224c8], eax
push ebx
push esi
push edi
mov eax, dword [0x6cdf60]
xor eax, esp
push eax
lea eax, [esp + 0x224e0]
mov dword fs:[0], eax
push 0x7ea8c0
push str.0.1.9
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00599f60
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00585ee0
mov dword [esp + 0x224e8], 0
lea ecx, [esp + 0x2c]
cmp byte [0x88ea67], 0
je 0x584617
call fcn.00584dd0
jmp 0x584ad4
call fcn.005896b0
mov ecx, dword [0x88ef20]
mov dword [0x6d1594], 0x88f528
mov dword [0x6d1590], 0x88f528
test ecx, ecx
je 0x584648
mov eax, dword [ecx]
push 2
push dword [0x7ea8b0]
push ecx
call dword [eax + 0x28]
call fcn.0059a370
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.005999b0
call fcn.0059a370
mov eax, dword [0x88ee88]
mov dword [0x88ee90], 0
mov dword [0x88ee8c], eax
call fcn.00581f20
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x7e9264]
push 0
push 1
call fcn.005a0dc0
mov ecx, dword [0x7e9264]
call fcn.005a0c00
mov ecx, dword [0x7e9264]
push 0x802
call fcn.005a0240
push 0xffffffffffffffff
push 0
call fcn.0059a250
add esp, 8
mov dword [esp + 0x24], 0xff404040
lea eax, [esp + 0x24]
push 0
push 0
push eax
mov eax, dword [0x7e9264]
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.005a7c50
mov eax, dword [esp + 0x20dcc]
add esp, 0x1c
cmp eax, 5
ja case.default.0x584710
jmp dword [eax*4 + 0x584b0c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
push eax
mov eax, dword [0x7e9264]
xorps xmm2, xmm2
push ecx
mov ecx, dword [0x88ef18]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x4a0]
movss xmm3, dword [eax + 0x49c]
movss dword [esp], xmm0
call fcn.00585900
lea ecx, [esp + 0x2c]
call fcn.005833a0
jmp 0x58497b
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xffffffff
push eax
mov eax, dword [0x7e9264]
xorps xmm2, xmm2
push ecx
mov ecx, dword [0x88ef10]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x4a0]
movss xmm3, dword [eax + 0x49c]
movss dword [esp], xmm0
call fcn.00585900
lea ecx, [esp + 0x2c]
call fcn.005830d0
jmp 0x58497b
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xffffffff
push eax
mov eax, dword [0x7e9264]
xorps xmm2, xmm2
push ecx
mov ecx, dword [0x88ef0c]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x4a0]
movss xmm3, dword [eax + 0x49c]
movss dword [esp], xmm0
call fcn.00585900
lea ecx, [esp + 0x2c]
call fcn.00582b70
jmp 0x58497b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
mov eax, dword [0x7e9264]
xorps xmm2, xmm2
push ecx
mov ecx, dword [0x88eecc]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x4a0]
movss xmm3, dword [eax + 0x49c]
movss dword [esp], xmm0
call fcn.00585900
lea ecx, [esp + 0x2c]
call fcn.00582e40
jmp 0x58497b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xffffffff
push eax
mov eax, dword [0x7e9264]
xorps xmm2, xmm2
push ecx
mov ecx, dword [0x88ef14]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x4a0]
movss xmm3, dword [eax + 0x49c]
movss dword [esp], xmm0
call fcn.00585900
lea ecx, [esp + 0x2c]
call fcn.00583900
lea ecx, [esp + 0x2c]
call fcn.00583ed0
lea ecx, [esp + 0x2c]
call fcn.00583e10
jmp 0x58497b
push 0
push 0x5ee
push str.main.cpp
push str.0___.
call fcn.0059a430
add esp, 0x10
mov edi, dword [0x88ef08]
mov esi, dword [0x7e9264]
mov dword [esp + 0x1c], 0xffffffff
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x584975
push 0x3c
lea eax, [esp + 0x21c9c]
push 0
push eax
call fcn.005c3c50
movss xmm0, dword [edi]
lea eax, [esp + 0x21ca0]
add esp, 0xc
movss dword [esp + 0x21c9c], xmm0
movss dword [esp + 0x21ca4], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21ca8], xmm0
push eax
push ebx
lea eax, [esp + 0x24]
movss dword [esp + 0x21cb8], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21cb0], 0
mov dword [esp + 0x21cb4], 0
mov dword [esp + 0x21cbc], 0
mov dword [esp + 0x21cc8], 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.005a7c50
add esp, 0x1c
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x2c]
call fcn.00582760
call fcn.00582a40
mov ecx, dword [0x7e9264]
call fcn.0059e2d0
mov ecx, dword [0x7e9264]
push 1
call fcn.0059e4c0
cmp byte [0x7ea81c], 0
jne 0x5849f1
push 0
push dword [0x88ef1c]
call ebx
test eax, eax
jne 0x5849c6
push 1
push dword [0x7ea8b0]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x88ea66], 0
jne 0x5849fa
mov eax, dword [esp + 0x20db4]
test eax, eax
je 0x584653
cmp eax, 1
je 0x584653
jmp 0x5849fa
lea ecx, [esp + 0x2c]
call fcn.00589750
lea ecx, [esp + 0x2c]
call fcn.005897d0
mov ecx, dword [0x88ef20]
test ecx, ecx
je 0x584a1b
mov eax, dword [ecx]
push 0
push dword [0x7ea8b0]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 0x20db4]
dec eax
je 0x584a80
dec eax
je 0x584a46
dec eax
je 0x584a89
push 0
push 0x63a
push str.main.cpp
push str.0___.
call fcn.0059a430
add esp, 0x10
jmp 0x584a89
lea eax, [esp + 0x211b9]
push eax
lea eax, [esp + 0x21cd8]
push str.There_was_a_problem_updating_the_game_n_s_n_nPlease_retry_later
push eax
call fcn.00584d50
add esp, 0xc
lea eax, [esp + 0x211b9]
push 0x10
push str.Error
push eax
push dword [0x7ea8b0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x584a89
lea ecx, [esp + 0x2c]
call fcn.005840a0
mov eax, dword [0x88fa08]
test eax, eax
je 0x584ac5
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x584aaf
push 0
push dword [0x88fa08]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x88fa08]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x88fa08], 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 + 0x224e8], 0xffffffff
call fcn.005862f0
mov ecx, dword [esp + 0x224e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224c8]
xor ecx, esp
call fcn.005bf536
mov esp, ebp
pop ebp
ret