Function at 0x421ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e930
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
push str.WechatUpdateWnd_OnPrepare
push str.WechatUpdateWnd
push 0x26
push str.uiWechatUpdateWnd.cpp
push 1
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x18
lea ecx, [edi + 0x2c]
push str.process_bar
call fcn.00438130
push str.install_process_total
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2b8], eax
call fcn.00438130
push str.install_dir_layout
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2b4], eax
call fcn.00438130
push str.install_process_layout
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2bc], eax
call fcn.00438130
push str.install_btn_1
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c0], eax
call fcn.00438130
push str.install_btn_2
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c4], eax
call fcn.00438130
push str.curVersion
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c8], eax
call fcn.00438130
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.00422af0
cmp dword [edi + 0x2d8], 0
setle al
test al, al
jne 0x422003
push 0xa
push 1
push 0x46a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4221c4
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
push 0x3e9
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00406500
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00415450
mov ecx, eax
call fcn.004196a0
mov esi, eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x42206e
cmp word [eax], 0
mov edx, eax
jne 0x422073
mov edx, 0x4aebf4
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x10]
sub esp, 0x14
mov ecx, esp
push edx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004063a0
mov eax, dword [ebp - 0x50]
add esp, 0x1c
test eax, eax
je 0x4220a8
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x4220c6
push eax
call fcn.00480a27
add esp, 4
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4220d5
cmp word [esi], 0
mov edx, esi
jne 0x4220da
mov edx, 0x4aebf4
mov ecx, dword [edi + 0x2cc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test esi, esi
je 0x422118
cmp word [esi], 0
je 0x422118
sub esp, 8
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.004237d0
mov edi, dword [ebp - 0x18]
add esp, 8
test edi, edi
je 0x422113
cmp byte [edi], 0
je 0x422113
mov esi, dword [ebp - 0x24]
mov eax, edi
jmp 0x422120
mov esi, dword [ebp - 0x24]
jmp 0x42211b
mov edi, dword [ebp - 0x18]
mov eax, 0x4afda8
push eax
push str.current_version:__s
push 0x4b7828
push 0x42
push str.uiWechatUpdateWnd.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x1c
call fcn.00415450
mov ecx, dword [ebp - 0x3c]
push 0
cmp dword [eax + 0xe0], 0x3eb
jne 0x42216a
push 1
push 0x46c
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42218a
push 0
call fcn.00439635
push eax
push 0x421e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x2ec], eax
test esi, esi
je 0x422197
push esi
call fcn.00480a27
add esp, 4
test edi, edi
je 0x4221a4
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4221b4
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4221c4
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret 4