Function at 0x401680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4155ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ebx, 1
cmp word [ebp + 0xc], bx
jne 0x401886
cmp dword [edi + 0x14], 0
je 0x401730
lea esi, [ebp - 0x1c]
call fcn.00411cf0
push str.txupd.exe
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
push ebx
push 0
push str._manual_0
mov ecx, eax
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, dword [edi + 4]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x18]
mov esi, eax
call ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call ebx
mov edx, 0x20
cmp edx, esi
sbb eax, eax
neg eax
mov dword [edi + 0x18], eax
jmp 0x401886
cmp dword [edi + 0x10], 0
je 0x401886
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [ebp - 0x10]
call esi
mov dword [ebp - 4], ebx
call fcn.00401170
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c930
test eax, eax
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
je 0x40187a
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x40187a
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
add esp, 4
test eax, eax
je 0x401863
lea ecx, [ebp - 0x14]
call esi
mov byte [ebp - 4], 2
call fcn.004010b0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
push eax
lea edx, [ebp - 0x14]
push 0x417eec
push edx
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringW::Format_wchar_t_const__]
add esp, 0xc
call fcn.004010b0
lea esi, [ebp - 0x28]
call fcn.00401120
mov esi, eax
push 0x417ef4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push esi
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
add esp, 0x18
push 1
push 0
mov ecx, eax
call esi
push eax
lea ecx, [ebp - 0x10]
call esi
push eax
mov eax, dword [edi + 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
mov esi, eax
call ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call ebx
cmp esi, 0x20
ja 0x401858
push esi
push str.func
push 0x6c
push str.file
mov ecx, 0x417ef8
mov edx, 0x417d94
mov edi, 2
call fcn.00401a20
mov edi, dword [ebp - 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call ebx
jmp 0x40187a
push str.qqhelper_is_not_trusted
mov ecx, 0x417d94
mov edx, 0x71
call fcn.00401ae0
add esp, 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call ebx
movzx eax, word [ebp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x40189d
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc