Function at 0x448720
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b65d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x448758
call fcn.00490387
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x448768
call fcn.00490387
mov eax, dword [ebp]
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x24]
push eax
mov edi, ebp
call fcn.0044e740
lea ecx, [esp + 0x64]
push 0x4c9ce4
push ecx
call fcn.0047b34a
add esp, 8
xor esi, esi
mov dword [esp + 0x5c], esi
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44893c
and dword [esp + 0x34], 0xfffffe00
mov dword [esp + 0x38], esi
mov byte [esp + 0x5c], 2
mov ecx, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0047f921
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 3
call fcn.0047fae9
test eax, eax
je 0x448925
mov al, byte [esp + 0x34]
test al, al
je 0x4487f1
cmp al, 7
jne 0x448925
push str.trust
lea ecx, [esp + 0x30]
push ecx
call fcn.00474410
mov ecx, ebp
mov edx, eax
call fcn.004499f0
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x10]
jbe 0x448816
call fcn.00490387
mov esi, dword [ebp]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x44882e
call fcn.00490387
mov eax, dword [ebp]
test esi, esi
je 0x448839
cmp esi, eax
je 0x44883e
call fcn.00490387
cmp edi, ebx
je 0x4488df
test esi, esi
jne 0x4488bc
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x44885b
call fcn.00490387
cmp dword [edi], 0
je 0x4488c8
test esi, esi
jne 0x4488c0
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x448875
call fcn.00490387
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4488c8
test esi, esi
jne 0x4488c4
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x44889a
call fcn.00490387
mov eax, dword [edi]
cmp dword [eax + 0x24], 0
je 0x4488c8
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.004499b0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x448821
mov eax, dword [esi]
jmp 0x448851
mov eax, dword [esi]
jmp 0x44886b
mov eax, dword [esi]
jmp 0x448890
push edi
push esi
lea edi, [esp + 0x2c]
mov esi, ebp
call fcn.00449930
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x448819
lea esi, [esp + 0x3c]
call fcn.00448980
lea eax, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.004739d0
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44891e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x448966
lea esi, [esp + 0x3c]
call fcn.00448980
lea eax, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.004739d0
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448964
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4