Function at 0x426d10
Capabilities:
Check http status code
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba537
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x6441a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
cmp edi, 0x464
ja 0x426fc2
je 0x426f95
mov eax, edi
sub eax, 0x10
je 0x426e50
sub eax, 1
jne case.default.0x426fdb
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
mov eax, esp
mov ecx, 2
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.system_shutdown._stop_update_progress_
push str.WechatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0xef
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [esi + 0x2ec]
add esp, 0x70
test eax, eax
je 0x426ddc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x426e31
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426e31
mov dword [ebp - 4], 0x1a
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
add esp, 8
push str.user_shutdown_system
push 0xb
mov ecx, 0x64cbc8
call fcn.0041d620
push 0x64
mov ecx, esi
call fcn.0043eedb
jmp 0x426f9e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x426ea5
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426ea5
mov dword [ebp - 4], 0x18
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
add esp, 8
mov edi, dword [0x64ce04]
test edi, edi
je 0x426ec8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x493e0
jbe 0x426ec8
lea ecx, [esi + 0x2f0]
mov al, 1
xchg byte [ecx], al
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x64
je case.default.0x426fdb
mov al, byte [esi + 0x2f0]
test al, al
jne case.default.0x426fdb
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
mov eax, esp
mov ecx, 2
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.user_want_to_cancel_the_update_progress
push str.WeChatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0xe5
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x5c
mov edx, 0x3f8
mov ecx, esp
mov dword [ebp + 0xc], esp
call fcn.00407280
sub esp, 0x14
mov dword [ebp - 4], 0x19
mov edx, 0x3e8
mov ecx, esp
call fcn.00407280
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
call fcn.00421ff0
add esp, 0x28
mov dword [esi + 0x2d0], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0xa
mov ecx, esi
call fcn.004279c0
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00422f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xbe7
ja case.default.0x426fdb
je 0x42774c
add edi, 0xfffffb9b
cmp edi, 7
ja case.default.0x426fdb
jmp dword [edi*4 + 0x42799c]
sub esp, 0x14
mov edx, 0x84
mov ecx, esp
mov dword [ebp - 0x14], esp
call fcn.00407280
sub esp, 0x14
mov dword [ebp - 4], 5
mov edx, 0x83
mov dword [ebp - 0x10], esp
mov ecx, esp
call fcn.00407280
sub esp, 0x14
mov byte [ebp - 4], 6
mov edx, 0x68
mov dword [ebp - 0x18], esp
mov ecx, esp
call fcn.00407280
sub esp, 0x14
mov byte [ebp - 4], 7
mov edx, 0x3e8
mov ecx, esp
call fcn.00407280
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
call fcn.00422840
movups xmm0, xmmword [0x628d68]
add esp, 0x50
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
sub esp, 0x10
mov ecx, 2
test al, al
mov eax, esp
movups xmmword [eax], xmm0
je 0x4270cf
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.user_confirmed_to_update
push str.WechatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0x87
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
mov ecx, esi
push 0
push 0
call fcn.0043edd0
push eax
push 0x426650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2ec], eax
jmp 0x426f9e
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push str.user_canceled_to_update
push str.WechatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0x8a
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword fs:[0x2c]
add esp, 0x70
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x427168
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427168
mov dword [ebp - 4], 8
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
add esp, 8
push str.user_cancel_update
jmp 0x426e36
push 0x28
jmp 0x426f97
push 0x3c
mov ecx, esi
call fcn.004279c0
push str.install_btn_1
lea ecx, [esi + 0x2c]
call fcn.0043d8fd
mov dword [esi + 0x2c4], eax
mov ecx, eax
push 0
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x426f9e
push 0x50
jmp 0x426f97
push 0x63
jmp 0x426f97
lea ecx, [esi + 0x2f0]
mov al, 1
xchg byte [ecx], al
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 4], 9
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
push 0x3e9
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.004070d0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
mov dword [ebp - 0x14], ecx
cmp eax, dword [ecx + 4]
jle 0x427241
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427241
mov byte [ebp - 4], 0xb
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov byte [ebp - 4], 0xa
call fcn.004ce055
add esp, 8
lea eax, [ebp - 0x30]
mov ecx, 0x64cbc8
push eax
call fcn.0041f1f0
mov edi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x427260
cmp word [eax], 0
mov edx, eax
jne 0x427265
mov edx, 0x628fa4
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x10]
sub esp, 0x14
mov ecx, esp
push edx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406ec0
mov eax, dword [ebp - 0x30]
add esp, 0x1c
test eax, eax
je 0x42729a
push eax
call fcn.004d2e43
add esp, 4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x4272b8
push eax
call fcn.004d2e43
add esp, 4
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x4272c7
cmp word [edi], 0
mov edx, edi
jne 0x4272cc
mov edx, 0x628fa4
mov ecx, dword [esi + 0x2cc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2bc]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x2c0]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x2c4]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x2c8]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x42735e
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x42735e
mov byte [ebp - 4], 0xc
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
call fcn.004ce055
add esp, 8
cmp dword [0x64cdf8], 0xc8
jne 0x427373
push 0x64
mov ecx, esi
call fcn.0043eedb
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x427383
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x427393
push eax
call fcn.004d2e43
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4273a7
push edi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x426f9e
push eax
call fcn.004d2e43
add esp, 4
jmp 0x426f9e
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
mov ecx, esp
push dword [ebp + 0x10]
movups xmmword [eax], xmm0
call fcn.004197f0
push str.WM_UPDATEFAIL._errcode_d
push str.WechatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0xb4
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
mov ecx, 4
call fcn.00403890
add esp, 0x70
lea ecx, [esi + 0x2f0]
mov al, 1
xchg byte [ecx], al
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov eax, dword [0x64cbc4]
mov dword [ebp - 0x10], edi
cmp eax, dword [edi + 4]
jle 0x427484
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427484
mov dword [ebp - 4], 0xd
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
add esp, 8
mov ecx, 0x64cbc8
call fcn.0041a680
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 4], 0xe
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x4274ea
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4274ea
mov byte [ebp - 4], 0xf
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce055
add esp, 8
cmp dword [0x64cdf8], 0x190
jne 0x427508
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x14], 0x10
push 0x3ed
jmp 0x42756b
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x42754f
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x42754f
mov byte [ebp - 4], 0x11
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce055
add esp, 8
cmp dword [0x64cdf8], 0x12c
jne 0x4275c5
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x14], 0x20
push 0x3ee
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
call fcn.004070d0
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x427590
cmp word [edi], 0
mov eax, edi
jne 0x427595
mov eax, 0x628fa4
push dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
push eax
call fcn.00406c40
mov byte [ebp - 4], 0xe
test edi, edi
je 0x4275b2
push edi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4275c2
push eax
call fcn.004d2e43
add esp, 4
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
jg 0x4275da
mov dword [esi + 0x2d0], 1
jmp 0x4276cd
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x427621
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427621
mov byte [ebp - 4], 0x13
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce055
add esp, 8
call fcn.0041f880
sub esp, 0x14
mov ecx, esp
push 0xffffffffffffffff
push str.NeedUpdateType
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
call fcn.00406c40
mov ecx, 1
call fcn.00432760
mov edx, 0x3eb
mov dword [ebp - 0x1c], esp
mov ecx, esp
call fcn.00407280
sub esp, 0x14
mov byte [ebp - 4], 0x14
mov edx, 0x3f1
mov dword [ebp - 0x18], esp
mov ecx, esp
call fcn.00407280
sub esp, 0x14
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00406930
sub esp, 0x14
mov byte [ebp - 4], 0x16
mov edx, 0x3ef
mov ecx, esp
call fcn.00407280
mov byte [ebp - 4], 0xe
mov ecx, dword [esi + 4]
call fcn.00422840
xor ecx, ecx
add esp, 0x50
test al, al
mov edx, 2
cmovne ecx, edx
mov dword [esi + 0x2d0], ecx
push 0x64
mov ecx, esi
call fcn.0043eedb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4276ed
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x4273aa
cmp dword [esi + 0x2d8], 0
lea eax, [esi + 0x2d4]
jle 0x426e42
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00406930
sub esp, 0x14
mov dword [ebp - 4], 0x17
mov edx, 0x3ef
mov ecx, esp
call fcn.00407280
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
call fcn.00421ff0
add esp, 0x28
mov ecx, esi
push 0x64
call fcn.0043eedb
jmp 0x426f9e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x64cbc4]
mov edi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x4277aa
push 0x64cbc4
call fcn.004ce09f
mov ecx, dword [0x64cbc4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x4277aa
mov dword [ebp - 4], 0
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
mov ecx, dword [0x64cbc4]
add esp, 8
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmmword [eax], xmm0
cmp ecx, dword [edi + 4]
jle 0x427819
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427819
mov dword [ebp - 4], 1
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
add esp, 8
sub esp, 0x10
mov ecx, esp
push dword [0x64cdfc]
call fcn.004197f0
sub esp, 0x10
mov ecx, esp
push dword [0x64cdf8]
call fcn.004197f0
push str.handle_MSG_SHUT_UPDATE_WND._updateType_d__runType_d
push str.WechatUpdateWnd
push str.WechatUpdateWnd::HandleMessage
push 0x75
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
mov ecx, 2
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x4278af
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x4278af
mov dword [ebp - 4], 2
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 8
cmp dword [0x64cdf8], 0xc8
jne 0x427981
cmp eax, dword [edi + 4]
jle 0x42790d
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x42790d
mov dword [ebp - 4], 3
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 8
mov dword [0x64cdf8], 0x12c
cmp eax, dword [edi + 4]
jle 0x427958
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427958
mov dword [ebp - 4], 4
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
call fcn.004ce055
add esp, 8
push 5
mov dword [0x64cdfc], 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc