Function at 0x416660
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5db26d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21ddc
call fcn.00590370
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x21dd8], eax
push ebx
push esi
push edi
mov eax, dword [0x6b4774]
xor eax, esp
push eax
lea eax, [esp + 0x21df0]
mov dword fs:[0], eax
push 0x6ba880
push str.1.1.1
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00569b80
add esp, 0xc
lea eax, [esp + 0xbc]
push eax
call fcn.00417f90
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x21df8], ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00416520
add esp, 4
cmp byte [0x75dc54], bl
je 0x416704
lea ecx, [esp + 0xbc]
call fcn.00417040
lea edx, [esp + 0xbc]
push edx
jmp 0x416cb6
lea esi, [esp + 0xbc]
call fcn.0041b5d0
mov eax, 0x75dbc8
mov dword [0x6b6f10], eax
mov dword [0x6b6f14], eax
mov eax, dword [0x75dc58]
cmp eax, ebx
je 0x416739
mov edx, dword [0x6bacac]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
call fcn.005698d0
mov edi, edi
call fcn.00569920
call fcn.005698d0
mov ecx, dword [0x75dbc0]
mov dword [0x75dce4], ebx
mov dword [0x75dce8], ecx
call fcn.00414220
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x6bad14]
push ebx
push 1
call fcn.005702b0
mov ecx, dword [0x6bad14]
call fcn.0056e640
mov ecx, dword [0x6bad14]
push 0x802
call fcn.0056cd90
or esi, 0xffffffff
push esi
push ebx
call fcn.00569730
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
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 + 0x48c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.005765a0
mov eax, dword [esp + 0x20ec4]
add esp, 0x1c
cmp eax, 5
ja case.default.0x4167eb
jmp dword [eax*4 + 0x416cec]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc60]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417ab0
lea ebx, [esp + 0xbc]
call fcn.00415460
xor ebx, ebx
jmp 0x416a51
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
lea ecx, [esp + 0x38]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x4c], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc68]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417ab0
lea ecx, [esp + 0xbc]
call fcn.00415150
jmp 0x416a51
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
lea edx, [esp + 0x28]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x3c], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc6c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417ab0
lea eax, [esp + 0xbc]
call fcn.00414cb0
jmp 0x416a51
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x48], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc74]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417ab0
lea edi, [esp + 0xbc]
call fcn.00414f50
jmp 0x416a51
mov eax, dword [0x6bad14]
fld dword [eax + 0x490]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x30], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc64]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00417ab0
cmp dword [esp + 0x20eac], 1
jne 0x416979
lea ecx, [esp + 0xbc]
call fcn.00416340
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.00415b30
add esp, 4
lea eax, [esp + 0xbc]
call fcn.00416070
lea ecx, [esp + 0xbc]
call fcn.00415fa0
jmp 0x416a51
push ebx
push 0x69d
push str..main.cpp
push 0x67b074
call fcn.00569e90
add esp, 0x10
mov eax, dword [0x6bad14]
mov dword [esp + 0x20], esi
fld dword [eax + 0x48c]
mov esi, dword [0x75dc70]
fstp dword [esp + 0x14]
mov edi, dword [esi + 8]
fld dword [eax + 0x490]
fstp dword [esp + 0x18]
cmp edi, ebx
je 0x416a51
push 0x3c
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.0058de90
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.005765a0
add esp, 0x1c
lea edi, [esp + 0xbc]
call fcn.00414a60
fild dword [0x75dcdc]
mov dword [esp + 0x2c], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6b6d5c]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x416b77
fadd dword [0x6b6d64]
fcompp
fnstsw ax
test ah, 1
jne 0x416b7b
fild dword [0x75dce0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [0x6b6d60]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x416b77
fadd dword [0x6b6d68]
fcompp
fnstsw ax
test ah, 1
jne 0x416b7b
mov esi, dword [0x75dc90]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x416b66
push 0x3c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.0058de90
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 [0x67c60c]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x67c608]
fstp dword [esp]
call fcn.005765a0
add esp, 0x1c
cmp dword [0x75dce4], ebx
je 0x416b7b
mov byte [0x6bacb8], 1
jmp 0x416b7b
fstp st(1)
fstp st(0)
mov ecx, dword [0x6bad14]
call fcn.0056f2c0
mov ecx, dword [0x6bad14]
push 1
call fcn.0056fa10
cmp byte [0x6bacb8], bl
jne 0x416be4
mov eax, dword [0x75dc5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x416bbb
mov ecx, dword [0x6bacac]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x75dc55], bl
jne 0x416bf0
mov eax, dword [esp + 0x20eac]
cmp eax, ebx
je 0x416740
cmp eax, 1
je 0x416740
jmp 0x416bf0
lea esi, [esp + 0xbc]
call fcn.0041b680
lea eax, [esp + 0xbc]
call fcn.0041b700
mov eax, dword [0x75dc58]
cmp eax, ebx
je 0x416c15
mov ecx, dword [0x6bacac]
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 0x416c57
sub eax, 1
je 0x416c45
sub eax, 1
je 0x416c63
push ebx
push 0x6f3
push str..main.cpp
push 0x67b074
call fcn.00569e90
add esp, 0x10
jmp 0x416c63
lea eax, [esp + 0xbc]
push eax
call fcn.00416270
add esp, 4
jmp 0x416c63
lea ecx, [esp + 0xbc]
call fcn.00416340
mov eax, dword [0x75e320]
cmp eax, ebx
je 0x416ca0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416c8d
mov ecx, dword [0x75e320]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x75e320]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x75e320], 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 + 0x21dfc], 0xffffffff
call fcn.00418300
mov ecx, dword [esp + 0x21df0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21dd8]
xor ecx, esp
call fcn.0058bad0
mov esp, ebp
pop ebp
ret