Function at 0x405fd0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bf26d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21e8c
call fcn.00595240
mov eax, dword [0x68edec]
xor eax, esp
mov dword [esp + 0x21e88], eax
push ebx
push esi
push edi
mov eax, dword [0x68edec]
xor eax, esp
push eax
lea eax, [esp + 0x21ea0]
mov dword fs:[0], eax
push 0x6958f0
push 0x6915e0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.0056a9f0
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00408140
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21ea8], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.00405e90
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x4060ac
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406088
test dl, dl
je 0x406084
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406088
add eax, 2
add ecx, 2
test dl, dl
jne 0x406068
xor eax, eax
jmp 0x40608d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4060a7
cmp esi, ebx
jge 0x4060a7
push str.Trying_to_init_steam_n
call fcn.0056a9f0
add esp, 4
call fcn.00407970
inc esi
cmp esi, ebx
jl 0x406060
cmp byte [0x73ac1c], 0
je 0x4060ce
lea ecx, [esp + 0xbc]
call fcn.00406dc0
lea edx, [esp + 0xbc]
push edx
jmp 0x40665b
lea esi, [esp + 0xbc]
call fcn.0040b9e0
mov eax, 0x73ab88
mov dword [0x6915d8], eax
mov dword [0x6915dc], eax
mov eax, dword [0x73ac20]
xor ebx, ebx
cmp eax, ebx
je 0x406105
mov edx, dword [0x696110]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.0056a730
lea ebx, [ebx]
call fcn.0056a780
call fcn.0056a730
mov ecx, dword [0x73ab80]
mov dword [0x73acb0], ebx
mov dword [0x73acb4], ecx
call fcn.00403c50
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x696174]
push ebx
push 1
call fcn.005718c0
mov ecx, dword [0x696174]
call fcn.0056fbc0
mov ecx, dword [0x696174]
push 0x802
call fcn.0056de40
or esi, 0xffffffff
push esi
push ebx
call fcn.0056a550
mov eax, dword [0x696174]
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.00578420
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x4061bb
jmp dword [eax*4 + 0x406690]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x696174]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73ac28]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c60
lea ecx, [esp + 0xbc]
call fcn.00404ec0
jmp 0x4063f7
mov eax, dword [0x696174]
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 [0x73ac30]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c60
lea ecx, [esp + 0xbc]
call fcn.00404ba0
jmp 0x4063f7
mov eax, dword [0x696174]
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 [0x73ac34]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c60
lea eax, [esp + 0xbc]
call fcn.00404700
jmp 0x4063f7
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x696174]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73ac3c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c60
lea edi, [esp + 0xbc]
call fcn.004049b0
jmp 0x4063f7
mov eax, dword [0x696174]
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 [0x73ac2c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407c60
lea ecx, [esp + 0xbc]
call fcn.00405460
lea eax, [esp + 0xbc]
call fcn.00405a00
lea ecx, [esp + 0xbc]
call fcn.00405930
jmp 0x4063f7
push ebx
push 0x5ec
push str..main.cpp
push 0x6619a8
call fcn.0056ad00
add esp, 0x10
mov eax, dword [0x696174]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73ac38]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x4063f7
push 0x3c
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.00594370
fldz
fst dword [esp + 0x48]
add esp, 0xc
fst dword [esp + 0x40]
lea eax, [esp + 0x3c]
fld dword [esi]
push eax
fstp dword [esp + 0x48]
push edi
lea ecx, [esp + 0x28]
push ecx
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.00578420
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.004044b0
fild dword [0x73aca8]
mov dword [esp + 0x2c], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6913b4]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x40651d
fadd dword [0x6913bc]
fcompp
fnstsw ax
test ah, 1
jne 0x406521
fild dword [0x73acac]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6913b8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x40651d
fadd dword [0x6913c0]
fcompp
fnstsw ax
test ah, 1
jne 0x406521
mov esi, dword [0x73ac58]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40650c
push 0x3c
lea edx, [esp + 0x84]
push ebx
push edx
call fcn.00594370
fldz
fst dword [esp + 0x88]
add esp, 0xc
fst dword [esp + 0x80]
lea eax, [esp + 0x7c]
fld dword [esi]
push eax
fstp dword [esp + 0x88]
push edi
lea ecx, [esp + 0x34]
push ecx
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 [0x6638d4]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x6638d0]
fstp dword [esp]
call fcn.00578420
add esp, 0x1c
cmp dword [0x73acb0], ebx
je 0x406521
mov byte [0x69611c], 1
jmp 0x406521
fstp st(1)
fstp st(0)
mov ecx, dword [0x696174]
call fcn.00570990
mov ecx, dword [0x696174]
push 1
call fcn.00571100
cmp byte [0x69611c], bl
jne 0x40658a
mov edx, dword [0x73ac24]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406561
mov eax, dword [0x696110]
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x73ac1d], bl
jne 0x406596
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x406110
cmp eax, 1
je 0x406110
jmp 0x406596
lea esi, [esp + 0xbc]
call fcn.0040ba90
lea eax, [esp + 0xbc]
call fcn.0040bb10
mov eax, dword [0x73ac20]
cmp eax, ebx
je 0x4065bb
mov edx, dword [0x696110]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x20eac]
sub eax, 1
je 0x4065fd
sub eax, 1
je 0x4065eb
sub eax, 1
je 0x406609
push ebx
push 0x63b
push str..main.cpp
push 0x6619a8
call fcn.0056ad00
add esp, 0x10
jmp 0x406609
lea ecx, [esp + 0xbc]
push ecx
call fcn.00405bb0
add esp, 4
jmp 0x406609
lea ecx, [esp + 0xbc]
call fcn.00405c80
mov eax, dword [0x73b500]
cmp eax, ebx
je 0x406645
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406633
mov edx, dword [0x73b500]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x73b500]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x73b500], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x21eac], 0xffffffff
call fcn.004084e0
mov ecx, dword [esp + 0x21ea0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21e88]
xor ecx, esp
call fcn.005909a7
mov esp, ebp
pop ebp
ret