Function at 0x405f90
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447933
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0x45583c
push 0x45582c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x405fda
push 1
push 0x5f5
call esi
push 1
push 0x4a
call esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov al, byte [esp + 0x13]
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call ebx
add esp, 4
lea ecx, [esp + 0x38]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push edi
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], edi
call fcn.00422df0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x6c], 1
cmp eax, edi
jne 0x40602e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x4c]
call fcn.00423180
push str.UpdateType
lea ecx, [esp + 0x4c]
xor ebp, ebp
call fcn.00423990
test al, al
je 0x406105
push str.UpdateType
lea ecx, [esp + 0x4c]
call fcn.00423a00
mov cl, byte [esp + 0x13]
push edi
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov esi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
call ebx
add esp, 4
lea ecx, [esp + 0x28]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x406092
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.auto_update
push eax
call esi
add esp, 8
test eax, eax
jne 0x4060ae
mov ebp, 2
jmp 0x4060cf
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4060bb
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push str.manual_update
push eax
call esi
add esp, 8
test eax, eax
jne 0x4060cf
mov ebp, 1
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4060dc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push str.all_auto_update
push eax
call esi
add esp, 8
test eax, eax
jne 0x406201
mov ebp, 3
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push str.NotifyFileName
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 3
call fcn.00423990
test al, al
je 0x406177
push str.NotifyFileName
lea ecx, [esp + 0x4c]
call fcn.00423a00
mov edi, eax
push edi
call ebx
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x406175
mov eax, dword [esp + 0x1c]
push esi
push edi
push eax
call fcn.00401270
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
add esp, 0xc
mov word [ecx + esi*2], 0
xor edi, edi
cmp ebp, 1
jne 0x40629d
push edi
push 0x455808
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x4061d8
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x4061d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x18]
push ecx
call fcn.00426cc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00428040
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x406359
mov al, byte [ecx - 1]
test al, al
je 0x40634d
cmp al, 0xff
je 0x40634d
dec al
mov byte [ecx - 1], al
jmp 0x406359
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x40620e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push str.restart_install
push eax
call esi
add esp, 8
test eax, eax
jne 0x406227
mov ebp, 4
jmp 0x4060f4
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x406234
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push str.version_check
push eax
call esi
add esp, 8
test eax, eax
jne 0x40624d
mov ebp, 5
jmp 0x4060f4
cmp ebp, edi
jne 0x4060f4
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0
call fcn.00423010
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
cmp ebp, 3
je 0x4062ab
cmp ebp, 2
jne 0x4061d8
push edi
push 0x455808
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x4061d8
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x4062e5
mov al, byte [ecx - 1]
test al, al
je 0x4062d9
cmp al, 0xff
je 0x4062d9
dec al
mov byte [ecx - 1], al
jmp 0x4062e5
lea eax, [ecx - 2]
push eax
call fcn.0043c8a0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x6c], 0
call fcn.00423010
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
je 0x406338
mov al, byte [ecx - 1]
test al, al
je 0x40632c
cmp al, 0xff
je 0x40632c
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
lea eax, [ecx - 2]
push eax
call fcn.0043c8a0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x6c], 0
call fcn.00423010
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
je 0x4063ac
mov al, byte [ecx - 1]
test al, al
je 0x4063a0
cmp al, 0xff
je 0x4063a0
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret