Function at 0x48e1a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfc05
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x502054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
mov edi, 0x54f
sub eax, 0
je 0x48e367
sub eax, 1
je 0x48e2a3
sub eax, 1
jne 0x48e493
push 0x438
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x48e264
mov dword [esi], vtable.QItem.0
mov byte [ebp - 4], 5
lea eax, [esi + 0x18]
push 0x420
push 0
push eax
mov dword [esi], vtable.QValueItem.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004abb60
add esp, 0xc
mov byte [ebp - 4], 4
jmp 0x48e266
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48e493
mov eax, dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0048da10
mov edi, eax
test edi, edi
jne 0x48e29a
mov dword [ebx], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
jmp 0x48e48e
push 0x424
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
test ebx, ebx
je 0x48e2f0
mov dword [ebx], vtable.QItem.0
mov byte [ebp - 4], 3
lea eax, [ebx + 4]
push 0x420
push 0
push eax
mov dword [ebx], vtable.QKeyItem.0
call fcn.004abb60
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x48e2f2
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x48e493
lea eax, [ebx + 0x10]
mov ecx, 0x108
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x48e485
mov ecx, 0x104
nop dword [eax + eax]
cmp word [eax], 0
je 0x48e32e
add eax, 2
sub ecx, 1
jne 0x48e320
test ecx, ecx
je 0x48e485
lea esi, [ebx + 0x218]
test esi, esi
je 0x48e485
mov ecx, 0x104
mov eax, esi
nop dword [eax + eax]
cmp word [eax], 0
je 0x48e425
add eax, 2
sub ecx, 1
jne 0x48e350
jmp 0x48e425
push 0x424
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x48e3b4
mov dword [ebx], vtable.QItem.0
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
push 0x420
push 0
push eax
mov dword [ebx], vtable.QFileItem.0
call fcn.004abb60
add esp, 0xc
mov byte [ebp - 4], 0
jmp 0x48e3b6
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x48e3da
mov edi, 0xe
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x14]
mov ecx, 0x108
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x48e485
mov ecx, 0x104
cmp word [eax], 0
je 0x48e402
add eax, 2
sub ecx, 1
jne 0x48e3f4
test ecx, ecx
je 0x48e485
lea esi, [ebx + 0x21c]
test esi, esi
je 0x48e485
mov ecx, 0x104
mov eax, esi
cmp word [eax], 0
je 0x48e425
add eax, 2
sub ecx, 1
jne 0x48e417
test ecx, ecx
je 0x48e485
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 1
je 0x48e46a
mov ecx, esi
call fcn.0048e570
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48e46a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x48e48a
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [eax], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x57
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x18]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret