Function at 0x429f20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df26f
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd8], edi
mov ebx, dword [ebp + 8]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xf4], ebx
mov ecx, dword [ebx + 0x40]
sub ecx, dword [ebx + 0x3c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str._KWpsUpdateImpl::Execute_:__d.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x87e
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
mov esi, dword [ebx + 0x3c]
xor al, al
mov byte [ebp - 0xcd], al
xor cl, cl
xor eax, eax
mov byte [ebp - 0xce], cl
add esp, 0x18
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xec], esi
cmp esi, dword [ebx + 0x40]
je 0x42a6ef
mov ecx, dword [0x5421c0]
lea ebx, [esi + 0x18]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xf0], ebx
lea eax, [eax + ecx*4]
mov dword [ebp - 0xe8], eax
lea ecx, [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x429fea
mov ecx, dword [ebx]
cmp dword [ebx - 4], 8
mov eax, esi
jb 0x429ff4
mov eax, dword [esi]
push ecx
push eax
push str.Execute_file:_path___s__param___s.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x886
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.00412750
add esp, 0x1c
mov eax, esi
cmp dword [ebx - 4], 8
jb 0x42a01e
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00417f60
add esp, 8
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 4], 0
jb 0x42a03f
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004da590
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42a058
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00417f60
add esp, 8
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42a0a3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a099
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a60b
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov ecx, edi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00433ca0
test al, al
je 0x42a0f6
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 7
cmovae eax, dword [ebp - 0x6c]
push str._update
push 0
push dword [ebp - 0x5c]
push eax
call fcn.00422b10
add esp, 0x14
cmp eax, 0xffffffff
je 0x42a0f6
push 0x12
push str.__updateFromManual
lea ecx, [ebp - 0x6c]
call fcn.00403230
push str.selfmode
lea ecx, [edi + 0x14]
call fcn.00432570
mov ecx, edi
test al, al
jne 0x42a121
lea eax, [ebp - 0x84]
push eax
call fcn.004377b0
test al, al
je 0x42a12a
or esi, 0xffffffff
jmp 0x42a664
lea eax, [ebp - 0x6c]
push eax
call fcn.004346d0
mov byte [edi + 0x6a], 1
mov dword [ebp - 0xd4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
mov edi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x84]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xd4]
cmovae ecx, dword [ebp - 0x84]
cmp dword [edi + 0x10], 0
mov edi, 0
cmove eax, edi
push eax
push edx
push ecx
call fcn.004548c0
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov eax, dword [0x54119c]
cmp eax, dword [ecx + 4]
jg 0x42a70d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xdc]
mov ecx, 0x5410e8
push eax
call fcn.0048d7c0
mov eax, dword [ebp - 0xd8]
push 0
mov byte [eax + 0x6a], 0
test edi, edi
js 0x42a61d
push dword [ebp - 0xd4]
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoExecuteExitCode
call fcn.0044bd90
push dword [ebp - 0xd4]
push str.Run_process:_result___u.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8b7
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.00412750
mov eax, dword [ebp - 0xd4]
add esp, 0x24
cmp eax, 0xb
jne 0x42a211
mov byte [ebp - 0xcd], 1
jmp 0x42a227
cmp eax, 0xc
jne 0x42a21f
mov byte [ebp - 0xce], 1
jmp 0x42a227
test eax, eax
jne 0x42a43d
call fcn.00410410
mov ecx, eax
call fcn.00446780
test eax, eax
je 0x42a329
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00416070
add esp, 8
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
cmovae eax, edx
mov byte [ebp - 4], 9
mov dword [ebp - 0xdc], eax
lea ebx, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmovae ecx, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x42a2ae
mov edi, dword [ebp - 0xdc]
mov esi, eax
sub edi, ebx
movzx eax, word [ebx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [ebx + edi], ax
add esp, 4
add ebx, 2
cmp ebx, esi
jne 0x42a290
mov esi, dword [ebp - 0xec]
mov edi, dword [ebp - 0xd8]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [edi + 0x80]
call fcn.00422ba0
mov byte [ebp - 4], 3
mov eax, dword [eax]
inc dword [eax + 0x28]
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x42a30d
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a303
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a60b
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ebx, dword [ebp - 0xf0]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
jmp 0x42a32f
mov edi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xe8]
mov eax, dword [0x54119c]
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jg 0x42a755
push 1
push 0x4f1b84
mov ecx, 0x541124
call fcn.004033b0
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x42a397
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a38d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a6dd
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42a3ef
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a3e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a6dd
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0xf4]
add esi, 0x30
add ebx, 0x30
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xf0], ebx
cmp esi, dword [eax + 0x40]
jne 0x429fe0
cmp byte [ebp - 0xcd], 0
je 0x42a423
mov eax, 0xb
jmp 0x42a6ef
cmp byte [ebp - 0xce], 0
mov edx, 0xc
mov eax, dword [ebp - 0xd4]
cmovne eax, edx
jmp 0x42a6ef
call fcn.0042c390
push 1
push 0x4f1b94
lea ecx, [eax + 0x3c]
call fcn.004033b0
push str.Process_exit_code_incorrect.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8c3
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x14
mov dword [ebp - 0x8c], 0
xor eax, eax
mov dword [ebp - 0x88], 7
lea ecx, [ebp - 0x9c]
mov word [ebp - 0x9c], ax
push 0x11
push str.feature_wpsupdate
call fcn.004033b0
push dword [ebp - 0xd4]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 5
push eax
call fcn.00412180
mov ecx, eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x44], esi
mov word [ebp - 0x54], ax
add esp, 8
lea eax, [ebp - 0x12]
mov edi, 7
mov dword [ebp - 0x40], edi
cmp ecx, eax
je 0x42a4e4
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.004033b0
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
push 0xd
xor eax, eax
mov byte [ebp - 4], 6
push str.processreturn
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.004033b0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
push eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.004231a0
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 8
push eax
call fcn.004381d0
mov eax, dword [ebp - 0xe4]
push dword [eax + 4]
lea eax, [ebp - 0xe4]
push eax
mov ecx, eax
call fcn.004136f0
push 0x40
push dword [ebp - 0xe4]
call fcn.004bee2d
add esp, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0xcc]
push 0x413930
push 1
push 0x30
push eax
call fcn.004bf5a9
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x42a65f
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a611
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a611
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x42a65f
push 0xe
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoExecuteExitCode
call fcn.0044bd90
add esp, 0xc
call fcn.0042c390
push 1
push 0x4f1b94
lea ecx, [eax + 0x3c]
call fcn.004033b0
push edi
push str.Failed_to_execute_file:_0x_08x.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8b3
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
mov esi, 1
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x42a69a
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a690
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a6dd
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x42a6ed
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a6e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a6e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret 4
push 0x54119c
call fcn.004bf206
add esp, 4
cmp dword [0x54119c], 0xffffffff
jne 0x42a19e
mov ecx, 0x5410e8
mov byte [ebp - 4], 4
call fcn.0048d070
push 0x4ec090
call fcn.004bf0be
push 0x54119c
mov byte [ebp - 4], 3
call fcn.004bf1bc
add esp, 8
jmp 0x42a19e
push 0x54119c
call fcn.004bf206
add esp, 4
cmp dword [0x54119c], 0xffffffff
jne 0x42a348
mov ecx, 0x5410e8
mov byte [ebp - 4], 0xa
call fcn.0048d070
push 0x4ec090
call fcn.004bf0be
push 0x54119c
mov byte [ebp - 4], 3
call fcn.004bf1bc
add esp, 8
jmp 0x42a348