Function at 0x426cb0
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 0x426f62
je 0x426f35
mov eax, edi
sub eax, 0x10
je 0x426df0
sub eax, 1
jne case.default.0x426f7b
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 0x426d7c
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 0x426dd1
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426dd1
mov dword [ebp - 4], 0x1a
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
add esp, 8
push str.user_shutdown_system
push 0xb
mov ecx, 0x64cbc8
call fcn.0041d620
push 0x64
mov ecx, esi
call fcn.0043ee5b
jmp 0x426f3e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x426e45
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426e45
mov dword [ebp - 4], 0x18
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
add esp, 8
mov edi, dword [0x64ce04]
test edi, edi
je 0x426e68
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x493e0
jbe 0x426e68
lea ecx, [esi + 0x2f0]
mov al, 1
xchg byte [ecx], al
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x64
je case.default.0x426f7b
mov al, byte [esi + 0x2f0]
test al, al
jne case.default.0x426f7b
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.00421fe0
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.00427960
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00422f60
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.0x426f7b
je 0x4276ec
add edi, 0xfffffb9b
cmp edi, 7
ja case.default.0x426f7b
jmp dword [edi*4 + 0x42793c]
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.00422830
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 0x42706f
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.0043ed50
push eax
push 0x4265f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2ec], eax
jmp 0x426f3e
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 0x427108
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427108
mov dword [ebp - 4], 8
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
add esp, 8
push str.user_cancel_update
jmp 0x426dd6
push 0x28
jmp 0x426f37
push 0x3c
mov ecx, esi
call fcn.00427960
push str.install_btn_1
lea ecx, [esi + 0x2c]
call fcn.0043d87d
mov dword [esi + 0x2c4], eax
mov ecx, eax
push 0
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x426f3e
push 0x50
jmp 0x426f37
push 0x63
jmp 0x426f37
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 0x4271e1
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4271e1
mov byte [ebp - 4], 0xb
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov byte [ebp - 4], 0xa
call fcn.004ce025
add esp, 8
lea eax, [ebp - 0x30]
mov ecx, 0x64cbc8
push eax
call fcn.0041f1e0
mov edi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x427200
cmp word [eax], 0
mov edx, eax
jne 0x427205
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 0x42723a
push eax
call fcn.004d2e13
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 0x427258
push eax
call fcn.004d2e13
add esp, 4
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x427267
cmp word [edi], 0
mov edx, edi
jne 0x42726c
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 0x4272fe
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4272fe
mov byte [ebp - 4], 0xc
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
call fcn.004ce025
add esp, 8
cmp dword [0x64cdf8], 0xc8
jne 0x427313
push 0x64
mov ecx, esi
call fcn.0043ee5b
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x427323
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x427333
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x427347
push edi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x426f3e
push eax
call fcn.004d2e13
add esp, 4
jmp 0x426f3e
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 0x427424
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x427424
mov dword [ebp - 4], 0xd
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
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 0x42748a
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x42748a
mov byte [ebp - 4], 0xf
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce025
add esp, 8
cmp dword [0x64cdf8], 0x190
jne 0x4274a8
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x14], 0x10
push 0x3ed
jmp 0x42750b
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x4274ef
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4274ef
mov byte [ebp - 4], 0x11
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce025
add esp, 8
cmp dword [0x64cdf8], 0x12c
jne 0x427565
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 0x427530
cmp word [edi], 0
mov eax, edi
jne 0x427535
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 0x427552
push edi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x427562
push eax
call fcn.004d2e13
add esp, 4
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
jg 0x42757a
mov dword [esi + 0x2d0], 1
jmp 0x42766d
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x4275c1
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4275c1
mov byte [ebp - 4], 0x13
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov byte [ebp - 4], 0xe
call fcn.004ce025
add esp, 8
call fcn.0041f870
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.004326f0
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.00422830
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.0043ee5b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42768d
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x42734a
cmp dword [esi + 0x2d8], 0
lea eax, [esi + 0x2d4]
jle 0x426de2
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.00421fe0
add esp, 0x28
mov ecx, esi
push 0x64
call fcn.0043ee5b
jmp 0x426f3e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x64cbc4]
mov edi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x42774a
push 0x64cbc4
call fcn.004ce06f
mov ecx, dword [0x64cbc4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x42774a
mov dword [ebp - 4], 0
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
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 0x4277b9
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4277b9
mov dword [ebp - 4], 1
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
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 0x42784f
push 0x64cbc4
call fcn.004ce06f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x42784f
mov dword [ebp - 4], 2
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
mov eax, dword [0x64cbc4]
add esp, 8
cmp dword [0x64cdf8], 0xc8
jne 0x427921
cmp eax, dword [edi + 4]
jle 0x4278ad
push 0x64cbc4
call fcn.004ce06f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x4278ad
mov dword [ebp - 4], 3
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
mov dword [ebp - 4], 0xffffffff
call fcn.004ce025
mov eax, dword [0x64cbc4]
add esp, 8
mov dword [0x64cdf8], 0x12c
cmp eax, dword [edi + 4]
jle 0x4278f8
push 0x64cbc4
call fcn.004ce06f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4278f8
mov dword [ebp - 4], 4
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce381
push 0x64cbc4
call fcn.004ce025
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