Function at 0x423e30
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8064
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x4f0464]
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 - 0x27c], edi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 2
jne 0x424081
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x423f5e
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00411d10
mov byte [ebp - 4], 1
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x348
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004092d0
mov esi, eax
push str.win11_download_Success
push esi
mov byte [ebp - 4], 2
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x230]
call fcn.00409da0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov edi, dword [ebp - 0x27c]
mov edx, dword [ebx + 0x14]
lea ebx, [edi + 0x118]
test edx, edx
jne 0x423f6f
xor ecx, ecx
jmp 0x423f83
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423f74
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040fcd0
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42418a
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x424081
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 4
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x34c
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
mov byte [ebp - 4], 5
push str.win11_not_exist
push esi
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42481a
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.00411d10
mov byte [ebp - 4], 0x1a
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x3b4]
push 0x378
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004092d0
mov esi, eax
push str.win11assistant_download_Invalid
push esi
mov byte [ebp - 4], 0x1b
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b4]
call fcn.0040a7e0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x4247a3
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424799
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424882
jmp 0x424799
push dword [ebx]
call fcn.00446cf0
add esp, 4
test eax, eax
jne 0x42424d
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x424081
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 7
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x351
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
mov byte [ebp - 4], 8
push str.ldswin11_sign_invalid
jmp 0x424048
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x424338
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0xa
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x354
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.ldswin11_download_success
push esi
mov byte [ebp - 4], 0xb
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00409da0
mov edi, dword [ebp - 0x27c]
push 0
push 0
push 1
push 0
push str.update_down_succ
call fcn.00421770
mov ecx, eax
call fcn.004684a0
call fcn.0040f380
mov ecx, eax
test ecx, ecx
je 0x424887
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 0xc
push eax
push ebx
call fcn.004212f0
mov esi, dword [ebp - 0x284]
lea ecx, [ebp - 0x230]
add esp, 8
push esi
call fcn.0041e190
push dword [edi + 0x11c]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xd
call fcn.0041e190
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00421800
mov ecx, eax
call fcn.004163b0
lea ecx, [ebp - 0x248]
mov edi, eax
call fcn.00409df0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xc
call fcn.00409df0
test edi, edi
je 0x4244f1
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4244c9
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0x10
call fcn.00445180
mov ebx, eax
lea ecx, [ebp - 0x31c]
push 0x35d
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov edi, eax
push str.verify_upgrade_ver_failed
push edi
mov byte [ebp - 4], 0x11
call fcn.00407110
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
call fcn.00409da0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x424081
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424081
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048c160
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x280]
call fcn.00419310
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x280]
push str.__inst_path__s_
push eax
call fcn.0040ebb0
push 0
push 1
push 1
push dword [ebp - 0x280]
push dword [ebx]
call fcn.00446430
add esp, 0x20
test eax, eax
jne 0x424670
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42464e
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0x14
call fcn.00445180
mov ebx, eax
lea ecx, [ebp - 0x31c]
push 0x36d
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov edi, eax
push str.RunExe_win11_assistant_failed_path:
push edi
mov byte [ebp - 4], 0x15
call fcn.00407110
mov eax, dword [ebp - 0x27c]
add esp, 8
mov esi, dword [ebx]
add eax, 0x118
mov ecx, edi
push eax
call fcn.0041de80
push eax
mov ecx, ebx
call dword [esi + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
call fcn.00409da0
lea ecx, [ebp - 0x280]
call fcn.00409b20
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b20
jmp 0x424081
push 0
push 0
push 1
push 0
push str.update_exe_run
call fcn.00421770
mov ecx, eax
call fcn.004684a0
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x424764
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00411d10
mov byte [ebp - 4], 0x17
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x373
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004092d0
mov esi, eax
push str.update_exe_run_success
push esi
mov byte [ebp - 4], 0x18
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.0040a7e0
lea ecx, [ebp - 0x248]
call fcn.00409da0
lea ecx, [ebp - 0x230]
call fcn.00409da0
mov ecx, dword [ebp - 0x27c]
push 0
push 0
push 0x10
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x280]
call fcn.00409b20
lea ecx, [ebp - 0x284]
call fcn.00409b20
mov eax, 1
jmp 0x424864
push edx
push ecx
call fcn.00466e06
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4247ff
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4247f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424891
push edx
push ecx
call fcn.00466e06
add esp, 8
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
push 0
push 0
push 1
push 0
push str.win11assistant_down_fail
call fcn.00421770
mov ecx, eax
call fcn.004684a0
mov ebx, dword [ebp - 0x27c]
push dword [ebx + 0x118]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x118]
call fcn.00415030
push 0
push 0
push 0x804
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
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.004670b3
mov esp, ebp
pop ebp
ret 4
call fcn.0048f279
push 0x80004005
call fcn.0040b080
call fcn.0048f279
int3