Function at 0x4194a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f129
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x4a62c4]
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.00455240
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 0x487a64
push 0x83
push dword [0x4a8650]
call fcn.00419380
mov ecx, eax
call fcn.00412280
test eax, eax
jne 0x419682
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41963b
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.0040d860
push 3
push 0x485cd4
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.0040d860
mov byte [ebp - 4], 1
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x314]
push 0x29f
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00404e20
mov esi, eax
push str.ReleaseWebUI_Failed
push esi
mov byte [ebp - 4], 2
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.00406330
lea ecx, [ebp - 0x230]
call fcn.004058f0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004058f0
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x41990b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x484804
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.00408bc0
test al, al
jne 0x4198eb
push 0
push 0x484804
mov ecx, ebx
call fcn.0040b820
jmp 0x4198eb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41978d
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41977c
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.0040d860
push 3
push 0x485cd4
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.0040d860
mov byte [ebp - 4], 5
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x314]
push 0x2a7
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00404e20
mov esi, eax
push str.win11_assistant.dat_no_exists
push esi
mov byte [ebp - 4], 6
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.00406330
lea ecx, [ebp - 0x248]
call fcn.004058f0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.004058f0
push 0x484804
mov ecx, ebx
call fcn.00411a70
jmp 0x4198eb
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x419915
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.0040a700
add esp, 0xc
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4198b8
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.0040d860
push 3
push 0x485cd4
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.0040d860
mov byte [ebp - 4], 9
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x3ac]
push 0x2ae
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00404e20
mov esi, eax
push str.WebResourcesPath:
push esi
mov byte [ebp - 4], 0xa
call fcn.00402c60
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00402c60
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00406330
lea ecx, [ebp - 0x260]
call fcn.004058f0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.004058f0
mov esi, dword [ebp - 0x27c]
add esi, 0xfffffff0
push esi
call fcn.00413150
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 0x4198eb
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.00447113
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406bd0
push 0x80004005
call fcn.00406bd0
int3