Function at 0x583150
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1546
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2282c
call fcn.005b7f40
mov eax, dword [0x6b8c10]
xor eax, esp
mov dword [esp + 0x22828], eax
push ebx
push esi
push edi
mov eax, dword [0x6b8c10]
xor eax, esp
push eax
lea eax, [esp + 0x22840]
mov dword fs:[0], eax
push 0x6bf588
push 0x6bb8e0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.0058e160
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.00585ba0
mov dword [esp + 0x22848], 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.00583020
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, eax
test edi, edi
jle 0x58322c
lea ecx, [ecx]
mov ecx, dword [ebx + esi*4]
mov edx, str._steam
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x583208
test al, al
je 0x583204
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x583208
add ecx, 2
add edx, 2
test al, al
jne 0x5831e8
xor eax, eax
jmp 0x58320d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x583227
cmp esi, edi
jge 0x583227
push str.Trying_to_init_steam_n
call fcn.0058e160
add esp, 4
call fcn.00585230
inc esi
cmp esi, edi
jl 0x5831e0
cmp byte [0x7647c7], 0
lea ecx, [esp + 0x44]
je 0x583243
call fcn.00584270
jmp 0x583bd0
call fcn.00589eb0
mov dword [0x6bc6e4], 0x764ef0
push str.LoadCheckBoxStatus
mov dword [0x6bc6e0], 0x764ef0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginUltra]
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5832b9
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x80
push eax
lea eax, [esp + 0x2184c]
push eax
push 0
push 0
push str.CheckBoxEnable
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x764ca4]
test ecx, ecx
je 0x5832d1
mov eax, dword [ecx]
push 2
push dword [0x6bf578]
push ecx
call dword [eax + 0x28]
mov ecx, 0x67a740
lea eax, [esp + 0x21848]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x583300
test dl, dl
je 0x5832fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x583300
add eax, 2
add ecx, 2
test dl, dl
jne 0x5832e0
xor eax, eax
jmp 0x583305
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x21e70]
call fcn.0058e570
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [ebx]
call fcn.0058dbb0
call fcn.0058e570
mov eax, dword [0x764be8]
mov dword [0x764bf0], 0
mov dword [0x764bec], eax
call fcn.00580510
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x6bfb4c]
push 0
push 1
call fcn.005947a0
mov ecx, dword [0x6bfb4c]
call fcn.005945e0
mov ecx, dword [0x6bfb4c]
push 0x802
call fcn.00593c20
push 0xffffffffffffffff
push 0
call fcn.0058e450
add esp, 8
mov dword [esp + 0x30], 0xff404040
lea eax, [esp + 0x30]
push 0
push 0
push eax
mov eax, dword [0x6bfb4c]
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.0059b600
mov eax, dword [esp + 0x20dec]
add esp, 0x1c
cmp eax, 6
ja case.default.0x5833dd
jmp dword [eax*4 + 0x583c08]
mov edi, dword [0x764c9c]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x28], 0xffffffff
cmp dword [edi + 8], 0
je 0x5834b5
push 0x3c
lea eax, [esp + 0x21f7c]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21f80]
add esp, 0xc
movss dword [esp + 0x21f7c], xmm0
movss dword [esp + 0x21f84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21f88], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x30]
movss dword [esp + 0x21f98], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21f90], 0
mov dword [esp + 0x21f94], 0
mov dword [esp + 0x21f9c], 0
mov dword [esp + 0x21fa8], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00581680
jmp 0x583a31
mov edi, dword [0x764c94]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x38], 0xffffffff
cmp dword [edi + 8], 0
je 0x583594
push 0x3c
lea eax, [esp + 0x21fbc]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21fc0]
add esp, 0xc
movss dword [esp + 0x21fbc], xmm0
movss dword [esp + 0x21fc4], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21fc8], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x40]
movss dword [esp + 0x21fd8], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21fd0], 0
mov dword [esp + 0x21fd4], 0
mov dword [esp + 0x21fdc], 0
mov dword [esp + 0x21fe8], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00581470
jmp 0x583a31
mov edi, dword [0x764c90]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x20], 0xffffffff
cmp dword [edi + 8], 0
je 0x583673
push 0x3c
lea eax, [esp + 0x21efc]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21f00]
add esp, 0xc
movss dword [esp + 0x21efc], xmm0
movss dword [esp + 0x21f04], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21f08], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x28]
movss dword [esp + 0x21f18], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21f10], 0
mov dword [esp + 0x21f14], 0
mov dword [esp + 0x21f1c], 0
mov dword [esp + 0x21f28], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00580fc0
jmp 0x583a31
mov edi, dword [0x764c88]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x24], 0xffffffff
cmp dword [edi + 8], 0
je 0x583752
push 0x3c
lea eax, [esp + 0x21ffc]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x22000]
add esp, 0xc
movss dword [esp + 0x21ffc], xmm0
movss dword [esp + 0x22004], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x22008], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x2c]
movss dword [esp + 0x22018], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x22010], 0
mov dword [esp + 0x22014], 0
mov dword [esp + 0x2201c], 0
mov dword [esp + 0x22028], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00581280
jmp 0x583a31
mov edi, dword [0x764c84]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x2c], 0xffffffff
cmp dword [edi + 8], 0
je 0x583831
push 0x3c
lea eax, [esp + 0x21e7c]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21e80]
add esp, 0xc
movss dword [esp + 0x21e7c], xmm0
movss dword [esp + 0x21e84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21e88], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x34]
movss dword [esp + 0x21e98], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21e90], 0
mov dword [esp + 0x21e94], 0
mov dword [esp + 0x21e9c], 0
mov dword [esp + 0x21ea8], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00581fd0
lea ecx, [esp + 0x44]
call fcn.00582c70
jmp 0x583a31
mov edi, dword [0x764c98]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x34], 0xffffffff
cmp dword [edi + 8], 0
je 0x583919
push 0x3c
lea eax, [esp + 0x21ebc]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21ec0]
add esp, 0xc
movss dword [esp + 0x21ebc], xmm0
movss dword [esp + 0x21ec4], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21ec8], xmm0
push eax
push dword [edi + 8]
lea eax, [esp + 0x3c]
movss dword [esp + 0x21ed8], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21ed0], 0
mov dword [esp + 0x21ed4], 0
mov dword [esp + 0x21edc], 0
mov dword [esp + 0x21ee8], 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.0059b600
add esp, 0x1c
lea ecx, [esp + 0x44]
call fcn.00581d10
lea ecx, [esp + 0x44]
call fcn.005825d0
lea ecx, [esp + 0x44]
call fcn.005827e0
lea ecx, [esp + 0x44]
call fcn.00582510
jmp 0x583a31
push 0
push 0x771
push str.main.cpp
push 0x67a744
call fcn.0058e630
add esp, 0x10
mov edi, dword [0x764c8c]
mov esi, dword [0x6bfb4c]
mov dword [esp + 0x1c], 0xffffffff
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x583a2b
push 0x3c
lea eax, [esp + 0x21f3c]
push 0
push eax
call fcn.005b6dd0
movss xmm0, dword [edi]
lea eax, [esp + 0x21f40]
add esp, 0xc
movss dword [esp + 0x21f3c], xmm0
movss dword [esp + 0x21f44], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x21f48], xmm0
push eax
push ebx
lea eax, [esp + 0x24]
movss dword [esp + 0x21f58], xmm0
movss xmm0, dword [esi + 0x4a0]
push eax
sub esp, 0x10
mov dword [esp + 0x21f50], 0
mov dword [esp + 0x21f54], 0
mov dword [esp + 0x21f5c], 0
mov dword [esp + 0x21f68], 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.0059b600
add esp, 0x1c
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x44]
call fcn.00580cb0
call fcn.00580e90
mov ecx, dword [0x6bfb4c]
call fcn.00591cf0
mov ecx, dword [0x6bfb4c]
push 1
call fcn.00591ee0
cmp byte [0x6bf9ac], 0
jne 0x583aa7
push 0
push dword [0x764ca0]
call ebx
test eax, eax
jne 0x583a7c
push 1
push dword [0x6bf578]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x7647c6], 0
jne 0x583af6
mov eax, dword [esp + 0x20dd4]
test eax, eax
je 0x583320
cmp eax, 1
je 0x583320
jmp 0x583af6
lea eax, [esp + 0x20d9c]
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x22848], 1
push dword [esp + 0x20d90]
push str.Requested_to_stop___d_files_in_queue_n
call fcn.0058e160
add esp, 8
mov dword [esp + 0x20dd4], 3
lea eax, [esp + 0x20d9c]
mov byte [esp + 0x22848], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x44]
call fcn.00589f70
mov ecx, dword [0x764ca4]
test ecx, ecx
je 0x583b17
mov eax, dword [ecx]
push 0
push dword [0x6bf578]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 0x20dd4]
dec eax
je 0x583b7c
dec eax
je 0x583b42
dec eax
je 0x583b85
push 0
push 0x7bf
push str.main.cpp
push 0x67a744
call fcn.0058e630
add esp, 0x10
jmp 0x583b85
lea eax, [esp + 0x211d9]
push eax
lea eax, [esp + 0x22038]
push str.There_was_a_problem_updating_the_game_n_s_n_nPlease_retry_later
push eax
call fcn.00583c50
add esp, 0xc
lea eax, [esp + 0x211d9]
push 0x10
push str.Error
push eax
push dword [0x6bf578]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x583b85
lea ecx, [esp + 0x44]
call fcn.00582df0
mov eax, dword [0x7651a0]
test eax, eax
je 0x583bc1
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x583bab
push 0
push dword [0x7651a0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x7651a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x7651a0], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x44]
mov dword [esp + 0x22848], 0xffffffff
call fcn.005860c0
mov ecx, dword [esp + 0x22840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22828]
xor ecx, esp
call fcn.005b2af3
mov esp, ebp
pop ebp
ret