Function at 0x41ae10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c47e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4a62e4]
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 - 0x44]
push eax
mov dword [ebp - 0x48], ebx
call fcn.004133b0
mov ecx, eax
call fcn.004138c0
push str.win11_assistant.dat
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00412b30
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41afa1
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41af34
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e510
mov byte [ebp - 4], 2
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2a7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405aa0
mov esi, eax
push str.win11_assistant.dat_no_exists
push esi
mov byte [ebp - 4], 3
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00406fb0
lea ecx, [ebp - 0x28]
call fcn.00406570
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00406570
call fcn.0040bd70
mov ecx, eax
test ecx, ecx
je 0x41b110
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x48192c
mov byte [ebp - 4], 4
mov ecx, ebx
test eax, 0xffff0000
jne 0x41af6a
movzx eax, ax
push eax
call fcn.0041bd40
jmp 0x41af76
push 0
push 0x48192c
call fcn.0040c6c0
mov esi, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b0f0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x41b0f0
call fcn.0040bd70
mov ecx, eax
test ecx, ecx
je 0x41b11a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push str.zip:__0CA42E8A_E041_492E_B7C2_703494DED02F_s
push eax
call fcn.0040b5a0
add esp, 0xc
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b0a2
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e510
mov byte [ebp - 4], 7
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2ae
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405aa0
mov esi, eax
push str.WebResourcesPath:
push esi
mov byte [ebp - 4], 8
call fcn.00403950
mov ecx, dword [ebp - 0x44]
mov edx, 0x482c68
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00403950
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00406fb0
lea ecx, [ebp - 0x40]
call fcn.00406570
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00406570
mov edi, dword [ebp - 0x48]
add edi, 0xfffffff0
push edi
call fcn.00414d60
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov dword [ebx], eax
add esp, 4
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41b0d1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41b0f0
mov ecx, dword [edx]
push edx
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.00443153
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407850
push 0x80004005
call fcn.00407850
int3