Function at 0x4153f0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61786d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21fb4
call fcn.005ff690
mov eax, dword [0x74496c]
xor eax, esp
mov dword [esp + 0x21fb0], eax
push ebx
push esi
push edi
mov eax, dword [0x74496c]
xor eax, esp
push eax
lea eax, [esp + 0x21fc8]
mov dword fs:[0], eax
push 0x759700
push str.1.5.5
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00581470
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00417a30
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x21fd0], esi
push ecx
mov dword [esp + 0x18], esi
call fcn.004152b0
mov ebx, dword [esp + 0x18]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x4154cc
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4154a8
test dl, dl
je 0x4154a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4154a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x415488
xor eax, eax
jmp 0x4154ad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4154c7
cmp esi, ebx
jge 0x4154c7
push str.Trying_to_init_steam_n
call fcn.00581470
add esp, 4
call fcn.00417260
inc esi
cmp esi, ebx
jl 0x415480
cmp byte [0x80280c], 0
je 0x4154f9
lea ecx, [esp + 0xbc]
call fcn.00416540
lea edx, [esp + 0xbc]
mov dword [esp + 0x21fd0], 0xffffffff
push edx
jmp 0x415aeb
lea esi, [esp + 0xbc]
call fcn.0041b3f0
mov eax, 0x800790
mov dword [0x7551f4], eax
mov dword [0x7551f8], eax
mov eax, dword [0x802810]
test eax, eax
je 0x41552e
mov edx, dword [0x759c30]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.005811b0
call fcn.00581200
call fcn.005811b0
mov ecx, dword [0x800788]
mov dword [0x8028a4], 0
mov dword [0x8028a8], ecx
call fcn.00412ce0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x759ca4]
push 0
push 1
call fcn.00588250
mov ecx, dword [0x759ca4]
call fcn.00586590
mov ecx, dword [0x759ca4]
push 0x802
call fcn.005847f0
or ebx, 0xffffffff
push ebx
push 0
call fcn.00580fd0
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
add esp, 8
push 0
push 0
lea edx, [esp + 0x3c]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x50], 0xff404040
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.0058ee30
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 6
ja case.default.0x4155e6
jmp dword [eax*4 + 0x415b14]
mov esi, dword [0x802818]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea ecx, [esp + 0xbc]
call fcn.00414210
jmp 0x415872
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
mov esi, dword [0x802820]
lea ecx, [esp + 0x20]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x34], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea ecx, [esp + 0xbc]
call fcn.00413ef0
jmp 0x415872
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
mov esi, dword [0x802824]
lea edx, [esp + 0x38]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea eax, [esp + 0xbc]
call fcn.004137a0
jmp 0x415872
mov esi, dword [0x802828]
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea eax, [esp + 0xbc]
call fcn.00413a50
jmp 0x415872
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
mov esi, dword [0x802830]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea edi, [esp + 0xbc]
call fcn.00413d00
jmp 0x415872
mov eax, dword [0x759ca4]
fld dword [eax + 0x4a0]
mov esi, dword [0x80281c]
lea edx, [esp + 0x30]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x44], ebx
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417550
lea eax, [esp + 0xbc]
push eax
call fcn.00414860
add esp, 4
lea eax, [esp + 0xbc]
call fcn.00414da0
lea ecx, [esp + 0xbc]
call fcn.00414cd0
jmp 0x415872
push 0
push 0x639
push str..main.cpp
push 0x6c40ac
call fcn.00581780
add esp, 0x10
mov eax, dword [0x759ca4]
mov esi, dword [0x80282c]
mov dword [esp + 0x1c], ebx
fld dword [eax + 0x49c]
mov edi, dword [esi + 8]
fstp dword [esp + 0x10]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x14]
test edi, edi
je 0x415872
push 0x3c
lea ecx, [esp + 0x44]
push 0
push ecx
call sub.MSVCR90.dll_memset
fldz
fst dword [esp + 0x48]
add esp, 0xc
fst dword [esp + 0x40]
lea edx, [esp + 0x3c]
fld dword [esi]
push edx
fstp dword [esp + 0x48]
push edi
lea eax, [esp + 0x24]
push eax
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 + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.0058ee30
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00413550
fild dword [0x80289c]
mov dword [esp + 0x2c], ebx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x745b78]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415996
fadd dword [0x745b80]
fcompp
fnstsw ax
test ah, 1
jne 0x41599a
fild dword [0x8028a0]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x745b7c]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x415996
fadd dword [0x745b84]
fcompp
fnstsw ax
test ah, 1
jne 0x41599a
mov esi, dword [0x80284c]
mov edi, dword [esi + 8]
test edi, edi
je 0x415984
push 0x3c
lea ecx, [esp + 0x84]
push 0
push ecx
call sub.MSVCR90.dll_memset
fldz
fst dword [esp + 0x88]
add esp, 0xc
fst dword [esp + 0x80]
lea edx, [esp + 0x7c]
fld dword [esi]
push edx
fstp dword [esp + 0x88]
push edi
lea eax, [esp + 0x34]
push eax
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 [0x6c647c]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x6c6478]
fstp dword [esp]
call fcn.0058ee30
add esp, 0x1c
cmp dword [0x8028a4], 0
je 0x41599a
mov byte [0x759c3c], 1
jmp 0x41599a
fstp st(1)
fstp st(0)
mov ecx, dword [0x759ca4]
call fcn.00587360
mov ecx, dword [0x759ca4]
push 1
call fcn.00587ad0
cmp byte [0x759c3c], 0
jne 0x415a08
mov ecx, dword [0x802814]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4159dd
mov edx, dword [0x759c30]
push 1
push edx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x80280d], 0
jne 0x415a14
mov eax, dword [esp + 0x20eac]
test eax, eax
je 0x415533
cmp eax, 1
je 0x415533
jmp 0x415a14
lea esi, [esp + 0xbc]
call fcn.0041b4a0
lea eax, [esp + 0xbc]
call fcn.0041b520
mov eax, dword [0x802810]
test eax, eax
je 0x415a3a
mov edx, dword [0x759c30]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x20eac]
sub eax, 1
je 0x415a7d
sub eax, 1
je 0x415a6b
sub eax, 1
je 0x415a8c
push 0
push 0x68b
push str..main.cpp
push 0x6c40ac
call fcn.00581780
add esp, 0x10
jmp 0x415a8c
lea ecx, [esp + 0xbc]
push ecx
call fcn.00414fa0
add esp, 4
jmp 0x415a8c
lea ebx, [esp + 0xbc]
call fcn.00415070
or ebx, 0xffffffff
mov eax, dword [0x803548]
test eax, eax
je 0x415acd
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415ab7
mov edx, dword [0x803548]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x803548]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x803548], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xbc]
mov dword [esp + 0x21fd0], ebx
push ecx
call fcn.00417dc0
mov ecx, dword [esp + 0x21fc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21fb0]
xor ecx, esp
call fcn.005ff0f4
mov esp, ebp
pop ebp
ret