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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501dc0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x567e00]
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 - 0xd0], edi
mov ebx, dword [ebp + 8]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xe0], ebx
mov ecx, dword [ebx + 0x58]
sub ecx, dword [ebx + 0x54]
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 0x882
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412230
mov esi, dword [ebx + 0x54]
xor al, al
mov byte [ebp - 0xb9], al
add esp, 0x18
mov byte [ebp - 0xba], al
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd8], esi
cmp esi, dword [ebx + 0x58]
je 0x42aeb8
mov ecx, dword [0x56d69c]
lea ebx, [esi + 0x18]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xdc], ebx
lea eax, [eax + ecx*4]
mov dword [ebp - 0xc8], eax
jmp 0x42a6f0
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x42a6fa
mov ecx, dword [ebx]
cmp dword [ebx - 4], 8
mov eax, esi
jb 0x42a704
mov eax, dword [esi]
push ecx
push eax
push str.Execute_file:_path___s__param___s.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x88a
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.00412230
add esp, 0x1c
mov eax, esi
cmp dword [ebx - 4], 8
jb 0x42a72e
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004182e0
add esp, 8
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 4], 0
jb 0x42a74c
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ecbb0
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42a768
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004182e0
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42a7b9
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a7af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42adc8
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x14], 8
push str._update
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x8c], 7
push eax
call fcn.00422e50
add esp, 0x14
cmp eax, 0xffffffff
jne 0x42a820
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xb
cmovae eax, dword [ebp - 0x28]
push str._diffupdate
push 0
push dword [ebp - 0x18]
push eax
call fcn.00422e50
add esp, 0x14
cmp eax, 0xffffffff
je 0x42a895
mov ecx, edi
call fcn.0040e7a0
test al, al
je 0x42a83a
push 0x12
push str.__updateFromManual
lea ecx, [ebp - 0x28]
call fcn.004038f0
cmp byte [edi + 0x88], 0
je 0x42a85f
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x42a850
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
push 0x13
push str._updateFromPro2Plus
lea ecx, [ebp - 0x28]
call fcn.00403a70
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
mov eax, dword [0x56c48c]
cmp eax, dword [ecx + 4]
jg 0x42aed6
mov ecx, 0x56bad0
call fcn.004478e0
test eax, eax
je 0x42a895
push 0xf
push str.__updateFromPro
lea ecx, [ebp - 0x28]
call fcn.004038f0
cmp dword [edi + 0x28], 8
lea eax, [edi + 0x14]
mov ecx, dword [eax + 0x10]
jb 0x42a8a3
mov eax, dword [eax]
cmp ecx, 8
jne 0x42a8c8
push ecx
push str.selfmode
push eax
call fcn.00411a20
add esp, 0xc
test eax, eax
jne 0x42a8c8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004354a0
jmp 0x42a8db
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00438690
test al, al
jne 0x42ae2d
mov byte [edi + 0x6a], 1
mov dword [ebp - 0xc0], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0xe0]
xor ecx, ecx
cmp dword [eax + 0x10], ecx
lea eax, [ebp - 0x58]
cmove edx, ecx
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push edx
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call fcn.004566b0
mov dword [ebp - 0xc4], eax
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
mov eax, dword [0x56c68c]
cmp eax, dword [ecx + 4]
jg 0x42af1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xcc]
mov ecx, 0x56c5d8
push eax
call fcn.00490e90
cmp dword [ebp - 0xc4], 0
mov byte [edi + 0x6a], 0
push 0
jl 0x42addf
push dword [ebp - 0xc0]
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoExecuteExitCode
call fcn.0044d470
push dword [ebp - 0xc0]
push str.Run_process:_result___u.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8cc
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.00412230
mov eax, dword [ebp - 0xc0]
add esp, 0x24
cmp eax, 0xb
jne 0x42a9bb
mov byte [ebp - 0xb9], 1
jmp 0x42a9d1
cmp eax, 0xc
jne 0x42a9c9
mov byte [ebp - 0xba], 1
jmp 0x42a9d1
test eax, eax
jne 0x42abda
call fcn.00410170
mov ecx, eax
call fcn.004478d0
test eax, eax
je 0x42aacb
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004162e0
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
cmovae eax, edx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xcc], eax
lea edi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x42aa52
mov ebx, dword [ebp - 0xcc]
mov esi, eax
sub ebx, edi
movzx eax, word [edi]
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 edi, 2
cmp edi, esi
jne 0x42aa34
mov esi, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [edi + 0x80]
call fcn.00422ee0
mov byte [ebp - 4], 3
mov eax, dword [eax]
inc dword [eax + 0x28]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42aab1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42aaa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42adc8
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov ebx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0xc8]
mov eax, dword [0x56c68c]
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jg 0x42af66
push 1
push 0x517ccc
mov ecx, 0x56c614
call fcn.00403a70
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x42ab33
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ab29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aea6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42ab88
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ab7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aea6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0xe0]
add esi, 0x30
add ebx, 0x30
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], ebx
cmp esi, dword [eax + 0x58]
jne 0x42a6f0
cmp byte [ebp - 0xb9], 0
je 0x42abbc
mov eax, 0xb
jmp 0x42aeb8
cmp byte [ebp - 0xba], 0
je 0x42abcf
mov eax, 0xc
jmp 0x42aeb8
mov eax, dword [ebp - 0xc0]
jmp 0x42aeb8
call fcn.0042ccb0
push 1
push 0x517cdc
lea ecx, [eax + 0x3c]
call fcn.00403a70
push str.Process_exit_code_incorrect.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8d8
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412230
add esp, 0x14
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x11
push str.feature_wpsupdate
call fcn.00403a70
push dword [ebp - 0xc0]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
call fcn.0043cb50
add esp, 8
mov esi, eax
push 0xd
xor eax, eax
mov dword [ebp - 0x88], 0
push str.processreturn
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00403a70
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00423600
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.00439100
mov eax, dword [ebp - 0xd4]
push dword [eax + 4]
lea eax, [ebp - 0xd4]
push eax
mov ecx, eax
call fcn.004132c0
push 0x40
push dword [ebp - 0xd4]
call fcn.004c6f6f
add esp, 8
mov byte [ebp - 4], 7
lea eax, [ebp - 0x88]
push 0x4134e0
push 1
push 0x30
push eax
call fcn.004c74dc
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x42ad7f
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ad75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42adc8
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x42add8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42adce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42adce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov esi, 1
jmp 0x42ae30
push 0xe
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoExecuteExitCode
call fcn.0044d470
add esp, 0xc
call fcn.0042ccb0
push 1
push 0x517cdc
lea ecx, [eax + 0x3c]
call fcn.00403a70
push dword [ebp - 0xc4]
push str.Failed_to_execute_file:_0x_08x.
push str.kupdate::KWpsUpdateImpl::HandleExecute
push 0x8c8
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412230
add esp, 0x18
mov esi, 1
jmp 0x42ae30
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42ae66
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ae5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aea6
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x42aeb6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42aeac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42aeac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
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.004c6f8b
mov esp, ebp
pop ebp
ret 4
push 0x56c48c
call fcn.004c7345
add esp, 4
cmp dword [0x56c48c], 0xffffffff
jne 0x42a878
mov ecx, 0x56bad0
mov byte [ebp - 4], 4
call fcn.0043e410
push 0x511320
call fcn.004c71fd
push 0x56c48c
mov byte [ebp - 4], 3
call fcn.004c72fb
add esp, 8
jmp 0x42a878
push 0x56c68c
call fcn.004c7345
add esp, 4
cmp dword [0x56c68c], 0xffffffff
jne 0x42a949
mov ecx, 0x56c5d8
mov byte [ebp - 4], 5
call fcn.004904a0
push 0x511620
call fcn.004c71fd
push 0x56c68c
mov byte [ebp - 4], 3
call fcn.004c72fb
add esp, 8
jmp 0x42a949
push 0x56c68c
call fcn.004c7345
add esp, 4
cmp dword [0x56c68c], 0xffffffff
jne 0x42aae4
mov ecx, 0x56c5d8
mov byte [ebp - 4], 0xb
call fcn.004904a0
push 0x511620
call fcn.004c71fd
push 0x56c68c
mov byte [ebp - 4], 3
call fcn.004c72fb
add esp, 8
jmp 0x42aae4