Function at 0x483040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b37c
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x62819c]
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 dword [ebp - 0x274], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
mov dword [ebp - 0x27c], ebx
mov dword [ebp + 0xc], edi
cmp edi, 5
ja 0x48342a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x48342a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48342a
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.004293f0
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], 0
push eax
call fcn.00479790
push 0x5ad788
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00429080
add esp, 0x14
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
mov esi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x280], esi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x483121
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x483156
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x26c]
push str.2319_tKUninstall::CleanQmlCacheByRecursion_tFindFirstFile_failed_under__ws__error_code_is_:_lu
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
add esp, 0x18
xor bl, bl
jmp 0x483401
call fcn.00428a90
test eax, eax
je 0x48344a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x483195
movzx eax, ax
lea ecx, [ebp - 0x268]
push eax
call fcn.004295b0
jmp 0x4831c2
lea edx, [eax + 2]
jmp 0x4831a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4831a0
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00429870
mov esi, dword [ebp - 0x268]
mov ecx, 0x5ad72c
mov byte [ebp - 4], 2
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4831f9
test dx, dx
je 0x4831f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4831f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4831d3
xor eax, eax
jmp 0x4831fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x4833c1
mov ecx, 0x5ad730
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x483236
test dx, dx
je 0x483232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x483236
add eax, 4
add ecx, 4
test dx, dx
jne 0x483210
xor eax, eax
jmp 0x48323b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4833c1
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0042a710
add esp, 0xc
test byte [ebp - 0x260], 0x10
mov byte [ebp - 4], 3
je 0x483285
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
push edi
push eax
call fcn.00483040
jmp 0x4833a0
push 0x2e
push esi
call fcn.0054bdba
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4833a0
sub ecx, esi
sar ecx, 1
js 0x4833a0
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
call fcn.00447010
mov eax, dword [ebp - 0x278]
mov edx, str..qmlc
mov ecx, eax
lea ebx, [ebx]
mov di, word [ecx]
cmp di, word [edx]
jne 0x4832f6
test di, di
je 0x4832f2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4832f6
add ecx, 4
add edx, 4
test di, di
jne 0x4832d0
xor edi, edi
jmp 0x4832fb
sbb edi, edi
or edi, 1
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x483312
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x48339d
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x48339d
mov eax, dword [ebp - 0x27c]
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x48339d
test eax, eax
jne 0x48333d
or eax, 0xffffffff
jmp 0x483366
test ecx, ecx
jns 0x483346
or eax, 0xffffffff
jmp 0x483366
push eax
push dword [ebp - 0x264]
call fcn.0054c0c3
add esp, 8
test eax, eax
jne 0x48335e
or eax, 0xffffffff
jmp 0x483366
sub eax, dword [ebp - 0x264]
sar eax, 1
cmp eax, 0xffffffff
je 0x48339d
lea eax, [ebp - 0x264]
push 1
push eax
call fcn.00444320
add esp, 8
test eax, eax
jne 0x48339d
push esi
push str.2342_tKUninstall::CleanQmlCacheByRecursion_tdel_qml_cache_file__ws_failed
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
add esp, 0x14
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x264]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4833c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4833dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x280]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x483156
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov eax, dword [ebp - 0x26c]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x483426
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x48342c
xor al, al
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.00545ec7
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004293d0
int3