Function at 0x4060f0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdaad
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21d44
call fcn.005937e0
mov eax, dword [0x68ddfc]
xor eax, esp
mov dword [esp + 0x21d40], eax
push ebx
push esi
push edi
mov eax, dword [0x68ddfc]
xor eax, esp
push eax
lea eax, [esp + 0x21d58]
mov dword fs:[0], eax
push 0x6944d0
push str.0.2.0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.005692a0
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00408410
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21d60], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.00405fb0
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x4061cc
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4061a8
test dl, dl
je 0x4061a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4061a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x406188
xor eax, eax
jmp 0x4061ad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4061c7
cmp esi, ebx
jge 0x4061c7
push str.Trying_to_init_steam_n
call fcn.005692a0
add esp, 4
call fcn.00407c30
inc esi
cmp esi, ebx
jl 0x406180
cmp byte [0x7391bc], 0
je 0x4061ee
lea ecx, [esp + 0xbc]
call fcn.00406f10
lea edx, [esp + 0xbc]
push edx
jmp 0x406780
lea esi, [esp + 0xbc]
call fcn.0040bb40
mov eax, 0x739128
mov dword [0x6905c0], eax
mov dword [0x6905c4], eax
mov eax, dword [0x7391c0]
xor ebx, ebx
cmp eax, ebx
je 0x406225
mov edx, dword [0x6948fc]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.00568fe0
lea ebx, [ebx]
call fcn.00569030
call fcn.00568fe0
mov ecx, dword [0x739120]
mov dword [0x739250], ebx
mov dword [0x739254], ecx
call fcn.00403d90
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x694964]
push ebx
push 1
call fcn.00570010
mov ecx, dword [0x694964]
call fcn.0056e320
mov ecx, dword [0x694964]
push 0x802
call fcn.0056c620
or esi, 0xffffffff
push esi
push ebx
call fcn.00568e00
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
add esp, 8
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], 0xff404040
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.005769e0
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x4062db
jmp dword [eax*4 + 0x4067b4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391c8]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407f20
lea ecx, [esp + 0xbc]
call fcn.00404fc0
jmp 0x40651b
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
lea ecx, [esp + 0x38]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391d0]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407f20
lea ecx, [esp + 0xbc]
call fcn.00404cc0
jmp 0x40651b
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
lea edx, [esp + 0x28]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x3c], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391d4]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407f20
lea eax, [esp + 0xbc]
call fcn.00404840
jmp 0x40651b
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391dc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407f20
lea edi, [esp + 0xbc]
call fcn.00404af0
jmp 0x40651b
mov eax, dword [0x694964]
fld dword [eax + 0x4a0]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x30], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391cc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407f20
lea edx, [esp + 0xbc]
push edx
call fcn.004055e0
add esp, 4
lea eax, [esp + 0xbc]
call fcn.00405b20
lea ecx, [esp + 0xbc]
call fcn.00405a50
jmp 0x40651b
push ebx
push 0x5d1
push str..main.cpp
push 0x66095c
call fcn.005695b0
add esp, 0x10
mov eax, dword [0x694964]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7391d8]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x40651b
push 0x3c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00592910
fldz
fst dword [esp + 0x48]
add esp, 0xc
fst dword [esp + 0x40]
lea ecx, [esp + 0x3c]
fld dword [esi]
push ecx
fstp dword [esp + 0x48]
push edi
lea edx, [esp + 0x28]
push edx
fst dword [esp + 0x54]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0x68]
fld dword [esi + 4]
fstp dword [esp + 0x6c]
fst dword [esp + 0x70]
fld dword [esi + 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0x30]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.005769e0
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.004045f0
fild dword [0x739248]
mov dword [esp + 0x2c], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6903c4]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x406641
fadd dword [0x6903cc]
fcompp
fnstsw ax
test ah, 1
jne 0x406645
fild dword [0x73924c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6903c8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x406641
fadd dword [0x6903d0]
fcompp
fnstsw ax
test ah, 1
jne 0x406645
mov esi, dword [0x7391f8]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x406630
push 0x3c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.00592910
fldz
fst dword [esp + 0x88]
add esp, 0xc
fst dword [esp + 0x80]
lea ecx, [esp + 0x7c]
fld dword [esi]
push ecx
fstp dword [esp + 0x88]
push edi
lea edx, [esp + 0x34]
push edx
fst dword [esp + 0x94]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0xa8]
fld dword [esi + 4]
fstp dword [esp + 0xac]
fst dword [esp + 0xb0]
fld dword [esi + 4]
fstp dword [esp + 0xb4]
fld dword [0x662644]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x662640]
fstp dword [esp]
call fcn.005769e0
add esp, 0x1c
cmp dword [0x739250], ebx
je 0x406645
mov byte [0x694908], 1
jmp 0x406645
fstp st(1)
fstp st(0)
mov ecx, dword [0x694964]
call fcn.0056f120
mov ecx, dword [0x694964]
push 1
call fcn.0056f890
cmp byte [0x694908], bl
jne 0x4066ae
mov eax, dword [0x7391c4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406685
mov ecx, dword [0x6948fc]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x7391bd], bl
jne 0x4066ba
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x406230
cmp eax, 1
je 0x406230
jmp 0x4066ba
lea esi, [esp + 0xbc]
call fcn.0040bbf0
lea eax, [esp + 0xbc]
call fcn.0040bc70
mov eax, dword [0x7391c0]
cmp eax, ebx
je 0x4066df
mov ecx, dword [0x6948fc]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push ebx
push ecx
push eax
call edx
mov eax, dword [esp + 0x20eac]
sub eax, 1
je 0x406721
sub eax, 1
je 0x40670f
sub eax, 1
je 0x40672d
push ebx
push 0x61d
push str..main.cpp
push 0x66095c
call fcn.005695b0
add esp, 0x10
jmp 0x40672d
lea eax, [esp + 0xbc]
push eax
call fcn.00405cd0
add esp, 4
jmp 0x40672d
lea ecx, [esp + 0xbc]
call fcn.00405da0
mov eax, dword [0x739ea0]
cmp eax, ebx
je 0x40676a
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406757
mov ecx, dword [0x739ea0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x739ea0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x739ea0], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0x21d64], 0xffffffff
call fcn.00408780
mov ecx, dword [esp + 0x21d58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21d40]
xor ecx, esp
call fcn.0058f1b7
mov esp, ebp
pop ebp
ret