Function at 0x42ae80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df406
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
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 ebx, ecx
mov dword [ebp - 0x2cc], ebx
mov edi, dword [ebp + 8]
mov eax, 0x30c30c31
mov dword [ebp - 0x2d0], edi
mov edx, dword [edi + 0x40]
sub edx, dword [edi + 0x3c]
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str._KWpsUpdateImpl::Showmessage_:__d.
push str.kupdate::KWpsUpdateImpl::HandleShowMessage
push 0x908
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
mov eax, dword [ebp - 0x2d0]
add esp, 0x18
mov edi, dword [edi + 0x3c]
mov dword [ebp - 0x2c4], 0
cmp edi, dword [eax + 0x40]
je 0x42ba56
mov dword [ebp - 0x2d4], 0x100
jmp 0x42af20
mov eax, dword [edi]
cmp eax, 1
jne 0x42af3a
push edi
mov ecx, ebx
call fcn.0043acb0
mov dword [ebp - 0x2c4], eax
jmp 0x42ba44
cmp eax, 3
jne 0x42b910
cmp dword [edi + 0x38], 8
lea eax, [edi + 0x24]
jb 0x42af4e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00417f60
add esp, 8
mov esi, dword [ebp - 0x2c]
lea ebx, [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp esi, 8
mov dword [ebp - 0x2bc], eax
cmovae ebx, eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x42b002
push 0x100
lea eax, [ebp - 0x2b4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, str.file:___
mov edx, 0x100
lea ebx, [ebx]
movzx eax, word [ecx]
cmp ax, dx
jae 0x42b090
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x2b4], 1
cmp ecx, 0x4f81b4
jne 0x42afb0
mov eax, dword [ebp - 0x2c0]
mov ecx, ebx
lea edx, [ebx + eax*2]
cmp ebx, edx
jae 0x42b002
movzx eax, word [ecx]
cmp ax, word [ebp - 0x2d4]
jae 0x42affb
cmp byte [ebp + eax - 0x2b4], 0
jne 0x42b087
add ecx, 2
cmp ecx, edx
jb 0x42afe1
or ecx, 0xffffffff
test ecx, ecx
jne 0x42b178
mov ecx, dword [0x53d6f4]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x14], 7
cmp eax, ecx
jb 0x42bcfd
sub eax, ecx
or ebx, 0xffffffff
cmp eax, 0xffffffff
cmovb ebx, eax
cmp esi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x2bc]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x2c0], eax
cmp ebx, 7
ja 0x42b0ea
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2bc], eax
jmp 0x42b14f
sub ecx, ebx
sar ecx, 1
jmp 0x42b005
mov eax, dword [ebp - 0x2c0]
mov ecx, ebx
lea eax, [ebx + eax*2]
cmp ebx, eax
jae 0x42b0cd
nop
movzx esi, word [ecx]
mov edx, 8
mov eax, str.file:___
lea ecx, [ecx]
cmp word [eax], si
je 0x42b0db
add eax, 2
sub edx, 1
jne 0x42b0b0
mov edx, dword [ebp - 0x2c0]
add ecx, 2
lea eax, [ebx + edx*2]
cmp ecx, eax
jb 0x42b0a0
mov esi, dword [ebp - 0x2b8]
or ecx, 0xffffffff
jmp 0x42b005
mov esi, dword [ebp - 0x2b8]
sub ecx, ebx
sar ecx, 1
jmp 0x42b005
cmp ebx, 0x7ffffffe
ja 0x42bcf8
mov eax, ebx
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x42b109
mov eax, 0x7ffffffe
jmp 0x42b114
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x28]
inc eax
push eax
call fcn.004031d0
lea esi, [ebx + ebx]
mov dword [ebp - 0x2bc], eax
push esi
push dword [ebp - 0x2c0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x2bc]
add esp, 0xc
xor eax, eax
mov word [edx + esi], ax
mov esi, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x40]
call fcn.00402d80
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
cmp esi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x2bc]
push eax
call fcn.004168a0
add esp, 4
test al, al
je 0x42bc88
cmp dword [edi + 0x50], 8
lea eax, [edi + 0x3c]
jb 0x42b1a1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004da590
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00417f60
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x42b20d
mov ecx, eax
call fcn.00402d80
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42b247
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b23d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00416420
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42b26e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00417450
push str.params.txt
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.00404b80
add esp, 0x14
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x42b2cf
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b2c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42b327
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b31d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x48], eax
je 0x42b4fc
cmp dword [ebp - 0x44], 8
lea ebx, [ebp - 0x58]
push 0
cmovae ebx, dword [ebp - 0x58]
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
push 0x80
cmovae eax, dword [ebp - 0xa0]
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x42b4e8
cmp esi, 0xffffffff
je 0x42b4e8
push 0xfde9
lea eax, [ebp - 0x1b0]
push ebx
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], eax
call fcn.004213a0
mov edx, dword [ebp - 0x1b4]
mov ecx, edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b3e0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041ac00
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 7
cmp eax, ecx
je 0x42b411
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c8]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x2c8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42b49c
cmp dword [ebp - 0x2c8], ebx
jne 0x42b49c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42b47b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b471
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x42b4fe
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42b4d0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b4c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
jmp 0x42b4f5
mov byte [ebp - 4], 6
test esi, esi
je 0x42b4fc
cmp esi, 0xffffffff
je 0x42b4fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004166b0
add esp, 8
push 0x4f8200
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00432570
test al, al
je 0x42b7f3
test bl, bl
je 0x42b649
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov dword [ebp - 0x60], 0
cmovae edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ecx, edx
mov byte [ebp - 4], 0xa
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b565
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004033b0
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00416070
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42b5ae
mov eax, dword [eax]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push ecx
push eax
push str.parampath
push str.TipInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x42b60b
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x42b649
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b63f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
lea eax, [ebp - 0x70]
push 2
push eax
call fcn.00416f00
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x42b663
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00417450
add esp, 8
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x42b6b1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b6a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
push 0xe
xor eax, eax
mov dword [ebp - 0x60], 0
push str.desktoptip.exe
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00403230
push 0x16
xor eax, eax
mov dword [ebp - 0x18], 0
push str._from:update__config_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004033b0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403230
push 1
push 0x4efd54
lea ecx, [ebp - 0x28]
call fcn.00403230
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
push ecx
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.004548c0
add esp, 0xc
test eax, eax
jne 0x42ba7a
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x42b795
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b78b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x42b853
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b7e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x42b853
mov ebx, dword [ebp - 0x74]
lea esi, [ebp - 0x88]
cmp ebx, 8
cmovae esi, dword [ebp - 0x88]
cmp dword [ebp - 0x78], 3
jne 0x42bb5c
mov ecx, 0x4f82bc
mov edx, 3
sub esi, ecx
lea esp, [esp]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42bb5c
add ecx, 2
sub edx, 1
jne 0x42b820
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push edx
push eax
call fcn.004548c0
add esp, 0xc
test eax, eax
jne 0x42bb3f
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x42b86e
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00412080
xor eax, eax
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 7
cmp eax, 8
jb 0x42b8a3
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00412080
xor eax, eax
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x8c], 7
cmp eax, 8
jb 0x42b8d5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00412080
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x42b905
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00412080
mov ebx, dword [ebp - 0x2cc]
jmp 0x42ba44
cmp eax, 4
jne 0x42ba44
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x42b924
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004da590
add esp, 8
cmp dword [edi + 0x50], 8
lea esi, [edi + 0x3c]
mov dword [ebp - 4], 0x10
mov eax, esi
jb 0x42b948
mov eax, dword [esi]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004da590
add esp, 8
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0x11
jb 0x42b964
mov esi, dword [esi]
cmp dword [edi + 0x38], 8
lea ecx, [edi + 0x24]
jb 0x42b96f
mov ecx, dword [ecx]
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
push esi
cmovae eax, dword [ebp - 0xe8]
push ecx
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00493830
mov ecx, eax
call fcn.00493810
mov esi, eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x12
push 0
push eax
call fcn.00493830
mov ecx, eax
call fcn.00491cf0
mov ecx, eax
cmp dword [ebp - 0xbc], 8
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0x13
cmovae edx, dword [ebp - 0xd0]
cmp dword [esi + 0x14], 8
jb 0x42b9d6
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x42b9de
mov ecx, dword [ecx]
cmp dword [edi + 8], 0
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2b8], 0
cmove eax, dword [ebp - 0x2b8]
push eax
imul eax, dword [edi + 4], 0x3e8
push eax
push edx
push esi
push ecx
push str.S_Default
mov ecx, ebx
call fcn.00430830
lea ecx, [ebp - 0x118]
call fcn.00402d80
lea ecx, [ebp - 0x130]
call fcn.00402d80
lea ecx, [ebp - 0xd0]
call fcn.00402d80
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d80
mov eax, dword [ebp - 0x2d0]
add edi, 0x54
cmp edi, dword [eax + 0x40]
jne 0x42af20
mov eax, dword [ebp - 0x2c4]
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
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
push str.call_desktoptip.exe_failed___s
push str.kupdate::KWpsUpdateImpl::HandleShowMessage
push 0x939
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
mov edx, dword [ebp - 0x14]
add esp, 0x18
cmp edx, 8
jb 0x42bae3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb2d
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x42bb8b
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bb33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42bb33
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 0x42bb8b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.call_popup_exe_failed___s
push str.kupdate::KWpsUpdateImpl::HandleShowMessage
push 0x941
jmp 0x42bb7c
cmp ebx, 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.sufix_error___s
push str.kupdate::KWpsUpdateImpl::HandleShowMessage
push 0x947
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x42bbc8
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bbbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bcde
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x42bc1f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bcde
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x42bc72
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bcde
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x42bcb2
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.link_file_not_exist___s
push str.kupdate::KWpsUpdateImpl::HandleShowMessage
push 0x91b
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42bcee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bce4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42bce4
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, 1
jmp 0x42ba5c
call fcn.004031b0
call fcn.004067d0
int3