Function at 0x405ee0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bf28d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21eac
call fcn.00595240
mov eax, dword [0x68edec]
xor eax, esp
mov dword [esp + 0x21ea8], eax
push ebx
push esi
push edi
mov eax, dword [0x68edec]
xor eax, esp
push eax
lea eax, [esp + 0x21ec0]
mov dword fs:[0], eax
push 0x6954d0
push str.1.0.0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.0056aa30
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00408210
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x21ec8], esi
push ecx
mov dword [esp + 0x1c], esi
call fcn.00405da0
mov ebx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x405fbc
lea ecx, [ecx]
mov eax, dword [edi + esi*4]
mov ecx, str._steam
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405f98
test dl, dl
je 0x405f94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405f98
add eax, 2
add ecx, 2
test dl, dl
jne 0x405f78
xor eax, eax
jmp 0x405f9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405fb7
cmp esi, ebx
jge 0x405fb7
push str.Trying_to_init_steam_n
call fcn.0056aa30
add esp, 4
call fcn.00407a40
inc esi
cmp esi, ebx
jl 0x405f70
cmp byte [0x73a404], 0
je 0x405fde
lea ecx, [esp + 0xbc]
call fcn.00406d20
lea edx, [esp + 0xbc]
push edx
jmp 0x40659a
lea esi, [esp + 0xbc]
call fcn.0040ba30
mov eax, 0x73a370
mov dword [0x6915bc], eax
mov dword [0x6915c0], eax
mov eax, dword [0x73a408]
xor ebx, ebx
cmp eax, ebx
je 0x406015
mov edx, dword [0x6958fc]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.0056a770
lea ebx, [ebx]
call fcn.0056a7c0
call fcn.0056a770
mov ecx, dword [0x73a368]
mov dword [0x73a498], ebx
mov dword [0x73a49c], ecx
call fcn.00403c20
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x695964]
push ebx
push 1
call fcn.00571880
mov ecx, dword [0x695964]
call fcn.0056fbc0
mov ecx, dword [0x695964]
push 0x802
call fcn.0056dea0
or esi, 0xffffffff
push esi
push ebx
call fcn.0056a590
mov eax, dword [0x695964]
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.00578490
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x4060cb
jmp dword [eax*4 + 0x4065d0]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x695964]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73a410]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407d30
lea ecx, [esp + 0xbc]
call fcn.00404eb0
jmp 0x40632f
mov eax, dword [0x695964]
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 [0x73a418]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407d30
lea ecx, [esp + 0xbc]
call fcn.00404b90
jmp 0x40632f
mov eax, dword [0x695964]
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 [0x73a41c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407d30
lea eax, [esp + 0xbc]
call fcn.004046d0
jmp 0x40632f
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x695964]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73a424]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407d30
lea edi, [esp + 0xbc]
call fcn.004049a0
jmp 0x40632f
mov eax, dword [0x695964]
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 [0x73a414]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00407d30
cmp dword [esp + 0x20eac], 1
jne 0x406257
lea ecx, [esp + 0xbc]
call fcn.00405b90
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [esp + 0xbc]
push edx
call fcn.004054c0
add esp, 4
lea eax, [esp + 0xbc]
call fcn.00405910
lea ecx, [esp + 0xbc]
call fcn.00405840
jmp 0x40632f
push ebx
push 0x5c4
push str..main.cpp
push 0x66192c
call fcn.0056ad40
add esp, 0x10
mov eax, dword [0x695964]
mov dword [esp + 0x20], esi
fld dword [eax + 0x49c]
mov esi, dword [0x73a420]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x40632f
push 0x3c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00594370
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.00578490
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00404480
fild dword [0x73a490]
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 0x40645b
fadd dword [0x6913bc]
fcompp
fnstsw ax
test ah, 1
jne 0x40645f
fild dword [0x73a494]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6913b8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x40645b
fadd dword [0x6913c0]
fcompp
fnstsw ax
test ah, 1
jne 0x40645f
mov esi, dword [0x73a440]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40644a
push 0x3c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.00594370
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 [0x6638c4]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [0x6638c0]
fstp dword [esp + 4]
fld dword [0x6638bc]
fstp dword [esp]
call fcn.00578490
add esp, 0x1c
cmp dword [0x73a498], ebx
je 0x40645f
mov byte [0x695908], 1
jmp 0x40645f
fstp st(1)
fstp st(0)
mov ecx, dword [0x695964]
call fcn.00570990
mov ecx, dword [0x695964]
push 1
call fcn.00571100
cmp byte [0x695908], bl
jne 0x4064c8
mov eax, dword [0x73a40c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40649f
mov ecx, dword [0x6958fc]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x73a405], bl
jne 0x4064d4
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x406020
cmp eax, 1
je 0x406020
jmp 0x4064d4
lea esi, [esp + 0xbc]
call fcn.0040bae0
lea eax, [esp + 0xbc]
call fcn.0040bb60
mov eax, dword [0x73a408]
cmp eax, ebx
je 0x4064f9
mov ecx, dword [0x6958fc]
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 0x40653b
sub eax, 1
je 0x406529
sub eax, 1
je 0x406547
push ebx
push 0x61c
push str..main.cpp
push 0x66192c
call fcn.0056ad40
add esp, 0x10
jmp 0x406547
lea eax, [esp + 0xbc]
push eax
call fcn.00405ac0
add esp, 4
jmp 0x406547
lea ecx, [esp + 0xbc]
call fcn.00405b90
mov eax, dword [0x73b0e8]
cmp eax, ebx
je 0x406584
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406571
mov ecx, dword [0x73b0e8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x73b0e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x73b0e8], 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 + 0x21ecc], 0xffffffff
call fcn.004085c0
mov ecx, dword [esp + 0x21ec0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21ea8]
xor ecx, esp
call fcn.005909a7
mov esp, ebp
pop ebp
ret