Function at 0x41d6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acd09
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x4e23d4]
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, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x27c], ebx
call fcn.004813a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.ThemesUIwin11_assistant.dat
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x4b7df4
push 0x83
push dword [0x4e5dc0]
call fcn.0041d590
mov ecx, eax
call fcn.00412520
test eax, eax
jne 0x41d892
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d84b
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.0040daa0
push 3
push 0x4b5b84
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.0040daa0
mov byte [ebp - 4], 1
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x314]
push 0x2bd
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00405060
mov esi, eax
push str.ReleaseWebUI_Failed
push esi
mov byte [ebp - 4], 2
call fcn.00402ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.00406570
lea ecx, [ebp - 0x230]
call fcn.00405b30
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00405b30
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x41db1b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x4b5740
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.00408e00
test al, al
jne 0x41dafb
push 0
push 0x4b5740
mov ecx, ebx
call fcn.0040ba60
jmp 0x41dafb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d99d
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d98c
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 4
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040daa0
mov byte [ebp - 4], 5
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x314]
push 0x2c5
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00405060
mov esi, eax
push str.win11_assistant.dat_no_exists
push esi
mov byte [ebp - 4], 6
call fcn.00402ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.00406570
lea ecx, [ebp - 0x248]
call fcn.00405b30
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00405b30
push 0x4b5740
mov ecx, ebx
call fcn.00411d10
jmp 0x41dafb
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x41db25
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x27c]
push str.zip:__0CA42E8A_E041_492E_B7C2_703494DED02F_s
push eax
call fcn.0040a940
add esp, 0xc
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41dac8
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040daa0
mov byte [ebp - 4], 9
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x3ac]
push 0x2cc
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00405060
mov esi, eax
push str.WebResourcesPath:
push esi
mov byte [ebp - 4], 0xa
call fcn.00402ea0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00402ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00406570
lea ecx, [ebp - 0x260]
call fcn.00405b30
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.00405b30
mov esi, dword [ebp - 0x27c]
add esi, 0xfffffff0
push esi
call fcn.004155c0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41dafb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0045c263
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406e10
push 0x80004005
call fcn.00406e10
int3