Function at 0x4154c0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f8c4d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21e14
call fcn.005a8a60
mov eax, dword [0x6e56f4]
xor eax, esp
mov dword [esp + 0x21e10], eax
push ebx
push esi
push edi
mov eax, dword [0x6e56f4]
xor eax, esp
push eax
lea eax, [esp + 0x21e28]
mov dword fs:[0], eax
push 0x6ffba0
push str.0.0.27
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.0057a230
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00417cb0
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21e30], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.00415380
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x41559c
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415578
test dl, dl
je 0x415574
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415578
add eax, 2
add ecx, 2
test dl, dl
jne 0x415558
xor eax, eax
jmp 0x41557d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415597
cmp esi, ebx
jge 0x415597
push str.Trying_to_init_steam_n
call fcn.0057a230
add esp, 4
call fcn.004174e0
inc esi
cmp esi, ebx
jl 0x415550
cmp byte [0x7ae6b0], 0
je 0x4155be
lea ecx, [esp + 0xbc]
call fcn.004167c0
lea edx, [esp + 0xbc]
push edx
jmp 0x415b50
lea esi, [esp + 0xbc]
call fcn.0041b420
mov eax, 0x7ae590
mov dword [0x6fbb48], eax
mov dword [0x6fbb4c], eax
mov eax, dword [0x7ae6b4]
xor ebx, ebx
cmp eax, ebx
je 0x4155f5
mov edx, dword [0x7004dc]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.00579f70
lea ebx, [ebx]
call fcn.00579fc0
call fcn.00579f70
mov ecx, dword [0x7ae588]
mov dword [0x7ae744], ebx
mov dword [0x7ae748], ecx
call fcn.00413110
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x700544]
push ebx
push 1
call fcn.005810a0
mov ecx, dword [0x700544]
call fcn.0057f3c0
mov ecx, dword [0x700544]
push 0x802
call fcn.0057d630
or esi, 0xffffffff
push esi
push ebx
call fcn.00579d90
mov eax, dword [0x700544]
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.00587c30
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x4156ab
jmp dword [eax*4 + 0x415b84]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x700544]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7ae6bc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004177d0
lea ecx, [esp + 0xbc]
call fcn.00414340
jmp 0x4158eb
mov eax, dword [0x700544]
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 [0x7ae6c4]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004177d0
lea ecx, [esp + 0xbc]
call fcn.00414040
jmp 0x4158eb
mov eax, dword [0x700544]
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 [0x7ae6c8]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004177d0
lea eax, [esp + 0xbc]
call fcn.00413bc0
jmp 0x4158eb
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x700544]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7ae6d0]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004177d0
lea edi, [esp + 0xbc]
call fcn.00413e70
jmp 0x4158eb
mov eax, dword [0x700544]
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 [0x7ae6c0]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004177d0
lea edx, [esp + 0xbc]
push edx
call fcn.004149a0
add esp, 4
lea eax, [esp + 0xbc]
call fcn.00414ee0
lea ecx, [esp + 0xbc]
call fcn.00414e10
jmp 0x4158eb
push ebx
push 0x60a
push str..main.cpp
push 0x6aa078
call fcn.0057a540
add esp, 0x10
mov eax, dword [0x700544]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x7ae6cc]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x4158eb
push 0x3c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.005a7c50
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.00587c30
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00413970
fild dword [0x7ae73c]
mov dword [esp + 0x2c], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6fb94c]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415a11
fadd dword [0x6fb954]
fcompp
fnstsw ax
test ah, 1
jne 0x415a15
fild dword [0x7ae740]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6fb950]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415a11
fadd dword [0x6fb958]
fcompp
fnstsw ax
test ah, 1
jne 0x415a15
mov esi, dword [0x7ae6ec]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x415a00
push 0x3c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.005a7c50
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 [0x6ac15c]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x6ac158]
fstp dword [esp]
call fcn.00587c30
add esp, 0x1c
cmp dword [0x7ae744], ebx
je 0x415a15
mov byte [0x7004e8], 1
jmp 0x415a15
fstp st(1)
fstp st(0)
mov ecx, dword [0x700544]
call fcn.005801b0
mov ecx, dword [0x700544]
push 1
call fcn.00580920
cmp byte [0x7004e8], bl
jne 0x415a7e
mov eax, dword [0x7ae6b8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415a55
mov ecx, dword [0x7004dc]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x7ae6b1], bl
jne 0x415a8a
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x415600
cmp eax, 1
je 0x415600
jmp 0x415a8a
lea esi, [esp + 0xbc]
call fcn.0041b4c0
lea eax, [esp + 0xbc]
call fcn.0041b540
mov eax, dword [0x7ae6b4]
cmp eax, ebx
je 0x415aaf
mov ecx, dword [0x7004dc]
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 0x415af1
sub eax, 1
je 0x415adf
sub eax, 1
je 0x415afd
push ebx
push 0x656
push str..main.cpp
push 0x6aa078
call fcn.0057a540
add esp, 0x10
jmp 0x415afd
lea eax, [esp + 0xbc]
push eax
call fcn.00415090
add esp, 4
jmp 0x415afd
lea ecx, [esp + 0xbc]
call fcn.00415160
mov eax, dword [0x7af3c0]
cmp eax, ebx
je 0x415b3a
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415b27
mov ecx, dword [0x7af3c0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x7af3c0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x7af3c0], 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 + 0x21e34], 0xffffffff
call fcn.00418010
mov ecx, dword [esp + 0x21e28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21e10]
xor ecx, esp
call fcn.005a3dd2
mov esp, ebp
pop ebp
ret