Function at 0x424970
Capabilities:
Create process on windows
Hide graphical window
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
mov eax, dword [0x6441a4]
xor eax, esp
mov dword [esp + 0x2f8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ebx
call fcn.00402b60
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.wechat_update_start.
push str.update
push str.wWinMain
push 0x32
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
push 0x425f60
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
push ebx
lea ecx, [esp + 0x80]
movups xmmword [esp + 0x80], xmm0
call fcn.00406c40
test ebx, ebx
je 0x425e13
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a37
sub ecx, edx
sar ecx, 1
je 0x425e13
mov eax, dword [esp + 0x7c]
mov edi, dword fs:[0x2c]
cmp eax, 0xa
jl 0x424ac8
mov ecx, dword [esp + 0x78]
add ecx, 0xffffffec
push 0xa
push str._FROM_SELF
lea eax, [ecx + eax*2]
push eax
call fcn.004d9259
add esp, 0xc
test eax, eax
jne 0x424ac8
mov ecx, dword [edi]
mov eax, dword [0x64cbc4]
cmp eax, dword [ecx + 4]
jle 0x424abe
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x424abe
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov dword [0x64cd84], 1
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push ebx
lea ecx, [esp + 0x28]
movups xmmword [esp + 0x28], xmm0
call fcn.00406c40
push ecx
lea ecx, [esp + 0x24]
call fcn.00407000
mov esi, eax
sub esp, 0x18
mov edx, esp
mov ecx, esi
mov dword [edx], 0
lea ebx, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424b10
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00402570
mov edi, dword [edi]
mov eax, dword [0x64cbc4]
mov dword [esp + 0x34], edi
cmp eax, dword [edi + 4]
jle 0x424b6a
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x424b6a
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041a260
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
test eax, eax
je 0x424b8a
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x424b9b
push eax
call fcn.004d2e43
add esp, 4
test bl, bl
je 0x424c54
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
mov eax, esp
mov ecx, 4
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.Cmd_line_error
push str.update
push str.wWinMain
push 0x48
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x424c45
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x424c45
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
mov dword [0x64cd70], 1
jmp 0x424d54
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x424c96
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x424c96
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041ef30
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
test al, al
mov eax, esp
movups xmmword [eax], xmm0
jne 0x424da0
sub esp, 0x10
mov ecx, 4
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.update_has_already_been_running_
push str.update
push str.wWinMain
push 0x51
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x424d4a
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x424d4a
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
mov dword [0x64cd70], 2
cmp eax, dword [edi + 4]
jle 0x424d91
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x424d91
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041e100
jmp 0x425f0e
sub esp, 0x10
mov ecx, 2
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.check_param_success_
push str.update
push str.wWinMain
push 0x65
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x424e28
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x424e28
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov eax, dword [0x64ce00]
test eax, eax
jne 0x424e3a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 9
je 0x424e6e
cmp cx, 4
jne 0x424e6e
shr ax, 0xa
test ax, ax
je 0x424e67
cmp ax, 2
je 0x424e67
mov ecx, 0x404
jmp 0x424e73
mov ecx, 4
jmp 0x424e73
mov ecx, 9
call fcn.0043dbe4
mov ebx, dword [esp + 0x3c]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x64c420
push 0x67
push ebx
call esi
push 0x64
push 0x64c358
push 0x6d
push ebx
call esi
mov ecx, ebx
call fcn.0043aa29
push ecx
call fcn.0044577c
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movaps xmm0, xmmword [0x6357f0]
push 0
push 0x62b464
mov dword [esp + 0xd0], 0x30
mov dword [esp + 0xd4], 3
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], eax
movups xmmword [esp + 0xe8], xmm0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0x62b464
mov dword [esp + 0xd8], 0x4248f0
call dword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov byte [esp + 0x13], 0
call fcn.0042ec10
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0
push 0x628fa4
lea ecx, [esp + 0x50]
mov bl, al
movups xmmword [esp + 0x50], xmm0
call fcn.00406c40
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x425774
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.need_Admin_Privileges
push str.update
push str.wWinMain
push 0x78
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x424ff9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x425046
push eax
call ebx
jmp 0x425046
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push 0x14
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x425030
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x425046
push eax
call ebx
jmp 0x425046
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42503b
push eax
call ebx
cmp dword [esp + 0x44], 0
jne 0x425717
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push esi
movups xmmword [esp + 0x28], xmm0
call fcn.00406c40
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp eax, 0xa
jl 0x425179
add eax, 0xfffffff6
push 0xa
push str._FROM_SELF
lea eax, [ebx + eax*2]
push eax
call fcn.004d9259
add esp, 0xc
test eax, eax
jne 0x425179
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.Elevate_to_Admin_Privileges_failed_
push str.update
push str.wWinMain
push 0x7c
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
call fcn.00433830
test al, al
je 0x425152
push 0x3f4
lea ecx, [esp + 0x4c]
call fcn.004070d0
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x425148
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425148
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov dword [0x64cd70], 0xa
test ebx, ebx
je 0x42515f
push ebx
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x425774
push eax
call fcn.004d2e43
add esp, 4
jmp 0x425774
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.Elevate_to_Admin_Privileges
push str.update
push str.wWinMain
push 0x85
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
lea eax, [esp + 0xf8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x425152
push 0x38
lea eax, [esp + 0x94]
mov dword [esp + 0x90], 0x3c
push 0
push eax
call fcn.004d0100
mov ecx, esi
mov dword [esp + 0xa4], str.runas
lea eax, [esp + 0x104]
mov dword [esp + 0xd4], 0
add esp, 0xc
mov dword [esp + 0x9c], eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425251
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0xd0]
call fcn.00402460
push 0xa
push str._FROM_SELF
lea ecx, [esp + 0xd0]
call fcn.00403e30
cmp dword [esp + 0xdc], 8
lea eax, [esp + 0xc8]
mov dword [esp + 0xa8], 1
jb 0x4252ad
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xa0], ecx
jmp 0x4252bb
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0xc8]
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
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
movups xmmword [eax], xmm0
mov eax, esp
push str.lanch_self_cmd:__S
push str.update
push str.wWinMain
mov dword [eax + 8], ecx
mov ecx, 2
push 0x91
mov byte [eax], 3
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x42535d
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x42535d
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov eax, dword [0x64ce08]
test eax, eax
je 0x425383
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x64ce08]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x64ce08], 0
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x425633
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x4c7
jne 0x4254c8
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
mov eax, esp
mov ecx, 4
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.cancelled_elevation
push str.update
push str.wWinMain
push 0x98
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
call fcn.00433830
test al, al
je 0x4255e8
push 0x3f4
lea ecx, [esp + 0x4c]
call fcn.004070d0
mov eax, dword [0x64cbc4]
mov byte [esp + 0x13], 1
cmp eax, dword [edi + 4]
jle 0x425472
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x425472
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
mov dword [0x64cd88], 1
cmp eax, dword [edi + 4]
jle 0x4254b9
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x4254b9
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov dword [0x64cd70], 0xa
jmp 0x4255e8
call fcn.00433830
test al, al
je 0x42557c
push 0x3f4
lea ecx, [esp + 0x4c]
call fcn.004070d0
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x42552b
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x42552b
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
mov dword [0x64cd88], 0
cmp eax, dword [edi + 4]
jle 0x425572
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425572
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov dword [0x64cd70], 0xa
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
mov eax, esp
mov ecx, 4
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.lanch_self_error:__d
push str.update
push str.wWinMain
push 0xa9
mov byte [eax], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
call fcn.00403890
add esp, 0x70
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0xdc]
cmp edx, 8
jb 0x425152
mov ecx, dword [esp + 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425624
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425f4e
push edx
push ecx
call fcn.004ce3c6
add esp, 8
jmp 0x425152
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.exit_current_instance_for_the_elevation.
push str.update
push str.wWinMain
push 0xad
movups xmmword [eax], xmm0
call fcn.00403890
mov edx, dword [esp + 0x14c]
add esp, 0x70
cmp edx, 8
jb 0x4256d2
mov ecx, dword [esp + 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4256c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425f4e
push edx
push ecx
call fcn.004ce3c6
add esp, 8
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 7
mov word [esp + 0xc8], ax
test ebx, ebx
je 0x4256ff
push ebx
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x425710
push eax
call fcn.004d2e43
add esp, 4
xor esi, esi
jmp 0x425de8
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.already_have_admin_privileges
push str.update
push str.wWinMain
push 0xb3
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.start_update_
push str.update
push str.wWinMain
push 0xb7
movups xmmword [eax], xmm0
call fcn.00403890
push 0x2f4
call fcn.004ce3fc
add esp, 0x74
mov esi, eax
push ecx
mov ecx, esi
call fcn.00422d70
lea eax, [esi + 0x2d4]
mov dword [esi], vtable.WechatUpdateWnd.2.0
push 0xffffffffffffffff
push 0x628fa4
mov ecx, eax
mov dword [esi + 0x10], vtable.WechatUpdateWnd.1.0
mov dword [esi + 0x20], vtable.WechatUpdateWnd.4.0
mov dword [esi + 0x24], vtable.WechatUpdateWnd.3.0
mov dword [esi + 0x28], vtable.WechatUpdateWnd.0
mov dword [esi + 0x2d0], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
call fcn.00406c40
sub esp, 0x10
mov byte [esi + 0x2e8], 0
mov eax, esp
mov dword [esi + 0x2ec], 0
sub esp, 0x10
mov byte [esi + 0x2f0], 0
movups xmm0, xmmword [0x628d68]
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdateWnd.cpp
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
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push 0x62b830
push str.WechatUpdateWnd
push 0x62b854
push 0x12
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.00406930
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4258d7
cmp word [ebx], 0
mov eax, ebx
jne 0x4258dc
mov eax, 0x628fa4
push dword [esp + 0x24]
lea ecx, [esi + 0x2d4]
push eax
call fcn.00406c40
test ebx, ebx
je 0x4258f9
push ebx
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42590a
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [esi]
mov ecx, esi
mov bl, byte [esp + 0x13]
push 0
push 0x320
push 0x258
push 0
push 0
push 0x60000
push 0x10cf0000
push str.wechat_update
push 0
mov byte [esi + 0x2e8], bl
call dword [eax + 0x94]
mov ecx, esi
call fcn.0043ef00
push ecx
mov ecx, esi
call fcn.0043f030
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x425990
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425990
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
cmp dword [0x64cdf8], 0xc8
je 0x4259a4
test bl, bl
jne 0x4259a4
push 5
jmp 0x425a03
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.silent_update
push str.update
push str.wWinMain
push 0xc1
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
push 0
mov ecx, esi
call fcn.0043edd0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x3c]
push 0x6d
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x64]
push 0
push eax
call esi
test eax, eax
je 0x425a7e
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
push edi
push dword [esp + 0x64]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x425a69
lea eax, [esp + 0x5c]
push eax
call ebx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
jne 0x425a43
mov edi, dword [esp + 0x1c]
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x425ac0
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425ac0
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov eax, dword [0x64ce08]
test eax, eax
je 0x425ae6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x64ce08]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x64ce08], 0
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov ecx, dword [esp + 0x74]
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
mov byte [eax], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov eax, dword [0x64cbc4]
cmp eax, dword [edi + 4]
jle 0x425b65
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425b65
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov eax, dword [0x64cdfc]
sub esp, 0x10
mov ecx, esp
cdq
push str.runType:__d__msg.wParam:__d
push 0x62b744
mov dword [ecx + 0xc], edx
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
mov byte [ecx], 0
mov dword [ecx + 8], eax
mov ecx, 2
push str.wWinMain
push 0xd4
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x425be7
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x425be7
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
cmp dword [0x64cdfc], 0x3ea
je 0x425cb0
cmp dword [esp + 0x64], 1
jne 0x425cb0
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.quit_and_start_wechat.exe
push 0x62b744
push str.wWinMain
push 0xd7
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x425ca1
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425ca1
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041e3a0
jmp 0x425d36
cmp eax, dword [edi + 4]
jle 0x425ced
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425ced
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
cmp dword [0x64cdf8], 0xc8
je 0x425d36
cmp dword [esp + 0x64], 2
jne 0x425d36
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push 0
push 0
push str.http:__weixin.qq.com_
push str.open
push 0
call esi
cmp eax, 0x20
jg 0x425d36
push 1
push 0
push str.http:__weixin.qq.com_
push str.iexplore.exe
push str.open
push 0
call esi
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.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.wechat_update_run_end._r_n
push str.update
push str.wWinMain
push 0xe3
movups xmmword [eax], xmm0
call fcn.00403890
mov eax, dword [0x64cbc4]
add esp, 0x70
cmp eax, dword [edi + 4]
jle 0x425dd5
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425dd5
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041e100
call fcn.00470790
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x425df9
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x425f10
push eax
call fcn.004d2e43
add esp, 4
jmp 0x425f10
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x64cbc4]
cmp eax, dword [esi + 4]
jle 0x425e63
push 0x64cbc4
call fcn.004ce09f
mov eax, dword [0x64cbc4]
add esp, 4
cmp eax, 0xffffffff
jne 0x425e63
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
mov eax, dword [0x64cbc4]
add esp, 4
mov dword [0x64cd70], 1
cmp eax, dword [esi + 4]
jle 0x425eaa
push 0x64cbc4
call fcn.004ce09f
add esp, 4
cmp dword [0x64cbc4], 0xffffffff
jne 0x425eaa
call fcn.00419dc0
push 0x5bfcc0
call fcn.004ce3b1
add esp, 4
push 0x64cbc4
call fcn.004ce055
add esp, 4
mov ecx, 0x64cbc8
call fcn.0041e100
movups xmm0, xmmword [0x628d68]
sub esp, 0x10
mov edx, str.D:Tools_agentworkspaceWeChatUpdateWechatUpdateuiWechatUpdate.cpp
mov eax, esp
mov ecx, 4
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.Cmd_line_is_null_or_empty_error
push str.update
push str.wWinMain
push 0x3d
movups xmmword [eax], xmm0
call fcn.00403890
add esp, 0x70
xor esi, esi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x425f21
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x425f35
push eax
call fcn.004d2e43
add esp, 4
mov ecx, dword [esp + 0x304]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cdf5d
mov esp, ebp
pop ebp
ret 0x10
call fcn.004d8605
int3