Function at 0x426760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x6441a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
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.WechatUpdateWnd_OnPrepare
push str.WechatUpdateWnd
push str.WechatUpdateWnd::OnPrepare
push 0x36
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
lea ecx, [edi + 0x2c]
push str.process_bar
call fcn.0043d8fd
push str.install_process_total
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2b8], eax
call fcn.0043d8fd
push str.install_dir_layout
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2b4], eax
call fcn.0043d8fd
push str.install_process_layout
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2bc], eax
call fcn.0043d8fd
push str.install_btn_1
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c0], eax
call fcn.0043d8fd
push str.install_btn_2
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c4], eax
call fcn.0043d8fd
push str.curVersion
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c8], eax
call fcn.0043d8fd
mov ecx, dword [edi + 0x2bc]
mov dword [edi + 0x2cc], eax
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x2c0]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x2c4]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x2c8]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
push 1
mov ecx, edi
call fcn.004279c0
cmp dword [edi + 0x2d8], 0
jle 0x4268e2
push 0xa
push 1
push 0x46a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
push 0x3e9
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.004070d0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 4], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x64cbc4]
mov dword [ebp - 0x14], ecx
cmp eax, dword [ecx + 4]
jle 0x426968
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426968
mov byte [ebp - 4], 2
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
mov byte [ebp - 4], 1
call fcn.004ce055
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, 0x64cbc8
push eax
call fcn.0041f1f0
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x426985
cmp word [edi], 0
mov edx, edi
jne 0x42698a
mov edx, 0x628fa4
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
sub esp, 0x14
mov ecx, esp
push edx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406ec0
mov eax, dword [ebp - 0x40]
add esp, 0x1c
test eax, eax
je 0x4269bf
push eax
call fcn.004d2e43
add esp, 4
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x4269dd
push eax
call fcn.004d2e43
add esp, 4
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4269ea
cmp word [edx], 0
jne 0x4269ef
mov edx, 0x628fa4
mov ecx, dword [ebp - 0x10]
push edx
mov ecx, dword [ecx + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407000
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov esi, eax
mov ecx, esp
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, 2
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.current_version:__s
push 0x62ba7c
push str.WechatUpdateWnd::OnPrepare
push 0x52
mov byte [eax], 2
mov dword [eax + 8], esi
call fcn.00403890
mov ecx, dword [ebp - 0x14]
add esp, 0x70
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x426aac
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x426aac
mov byte [ebp - 4], 3
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
push 0x64cbc4
call fcn.004ce055
add esp, 8
cmp dword [0x64cdfc], 0x3ea
je 0x426af5
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.WeChatMainWndForPC
call esi
test eax, eax
jne 0x426ad3
push eax
push str.WeChatLoginWndForPC
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426af5
mov eax, dword [ebp - 0x10]
push 0
push 1
push 0x46c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x426b19
mov esi, dword [ebp - 0x10]
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
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x426b29
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x426b39
push eax
call fcn.004d2e43
add esp, 4
test edi, edi
je 0x426b46
push edi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x426b56
push eax
call fcn.004d2e43
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4