Function at 0x405dd0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdf3d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21e84
call fcn.00593c50
mov eax, dword [0x68ddfc]
xor eax, esp
mov dword [esp + 0x21e80], eax
push ebx
push esi
push edi
mov eax, dword [0x68ddfc]
xor eax, esp
push eax
lea eax, [esp + 0x21e98]
mov dword fs:[0], eax
push 0x6948d0
push str.2.0New
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00569640
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.004080f0
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21ea0], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.00405c80
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x405eac
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405e88
test dl, dl
je 0x405e84
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405e88
add eax, 2
add ecx, 2
test dl, dl
jne 0x405e68
xor eax, eax
jmp 0x405e8d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405ea7
cmp esi, ebx
jge 0x405ea7
push str.Trying_to_init_steam_n
call fcn.00569640
add esp, 4
call fcn.00407910
inc esi
cmp esi, ebx
jl 0x405e60
cmp byte [0x7397e0], 0
je 0x405ece
lea ecx, [esp + 0xbc]
call fcn.00406bf0
lea edx, [esp + 0xbc]
push edx
jmp 0x406466
lea esi, [esp + 0xbc]
call fcn.0040bb90
mov eax, 0x739750
mov dword [0x6905ac], eax
mov dword [0x6905b0], eax
mov eax, dword [0x7397e4]
xor ebx, ebx
cmp eax, ebx
je 0x405f05
mov edx, dword [0x694cfc]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.00569380
lea ebx, [ebx]
call fcn.005693d0
call fcn.00569380
mov ecx, dword [0x739748]
mov dword [0x739874], ebx
mov dword [0x739878], ecx
call fcn.00403c20
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x694d64]
push ebx
push 1
call fcn.00570450
mov ecx, dword [0x694d64]
call fcn.0056e730
mov ecx, dword [0x694d64]
push 0x802
call fcn.0056ca00
or esi, 0xffffffff
push esi
push ebx
call fcn.005691a0
mov eax, dword [0x694d64]
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.00576fb0
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x405fbb
jmp dword [eax*4 + 0x40649c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x694d64]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7397ec]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c00
lea ecx, [esp + 0xbc]
call fcn.00404e20
jmp 0x4061fb
mov eax, dword [0x694d64]
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 [0x7397f4]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c00
lea ecx, [esp + 0xbc]
call fcn.00404b00
jmp 0x4061fb
mov eax, dword [0x694d64]
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 [0x7397f8]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c00
lea eax, [esp + 0xbc]
call fcn.004046d0
jmp 0x4061fb
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x694d64]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x739800]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c00
lea edi, [esp + 0xbc]
call fcn.00404910
jmp 0x4061fb
mov eax, dword [0x694d64]
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 [0x7397f0]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c00
lea edx, [esp + 0xbc]
push edx
call fcn.00405350
add esp, 4
lea eax, [esp + 0xbc]
call fcn.004057a0
lea ecx, [esp + 0xbc]
call fcn.004056d0
jmp 0x4061fb
push ebx
push 0x602
push str..main.cpp
push 0x660bdc
call fcn.00569950
add esp, 0x10
mov eax, dword [0x694d64]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7397fc]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x4061fb
push 0x3c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00592d80
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.00576fb0
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00404480
fild dword [0x73986c]
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 0x406327
fadd dword [0x6903cc]
fcompp
fnstsw ax
test ah, 1
jne 0x40632b
fild dword [0x739870]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6903c8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x406327
fadd dword [0x6903d0]
fcompp
fnstsw ax
test ah, 1
jne 0x40632b
mov esi, dword [0x73981c]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x406316
push 0x3c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.00592d80
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]
fstp dword [esp + 0xb0]
fld dword [esi + 4]
fstp dword [esp + 0xb4]
fld dword [0x662b44]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [0x662b40]
fstp dword [esp + 4]
fld dword [0x662b3c]
fstp dword [esp]
call fcn.00576fb0
add esp, 0x1c
cmp dword [0x739874], ebx
je 0x40632b
mov byte [0x694d08], 1
jmp 0x40632b
fstp st(1)
fstp st(0)
mov ecx, dword [0x694d64]
call fcn.0056f520
mov ecx, dword [0x694d64]
push 1
call fcn.0056fc90
cmp byte [0x694d08], bl
jne 0x406394
mov eax, dword [0x7397e8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40636b
mov ecx, dword [0x694cfc]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x7397e1], bl
jne 0x4063a0
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x405f10
cmp eax, 1
je 0x405f10
jmp 0x4063a0
lea esi, [esp + 0xbc]
call fcn.0040bc40
lea eax, [esp + 0xbc]
call fcn.0040bcc0
mov eax, dword [0x7397e4]
cmp eax, ebx
je 0x4063c5
mov ecx, dword [0x694cfc]
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 0x406407
sub eax, 1
je 0x4063f5
sub eax, 1
je 0x406413
push ebx
push 0x64e
push str..main.cpp
push 0x660bdc
call fcn.00569950
add esp, 0x10
jmp 0x406413
lea eax, [esp + 0xbc]
push eax
call fcn.004059a0
add esp, 4
jmp 0x406413
lea ecx, [esp + 0xbc]
call fcn.00405a70
mov eax, dword [0x73a0c8]
cmp eax, ebx
je 0x406450
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40643d
mov ecx, dword [0x73a0c8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x73a0c8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x73a0c8], 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 + 0x21ea4], 0xffffffff
call fcn.00408500
mov ecx, dword [esp + 0x21e98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21e80]
xor ecx, esp
call fcn.0058f627
mov esp, ebp
pop ebp
ret