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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf025
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ff080]
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 0x48e427
sub eax, 1
je 0x48e363
sub eax, 1
jne 0x48e553
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 0x48e324
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.004abe70
add esp, 0xc
mov byte [ebp - 4], 4
jmp 0x48e326
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48e553
mov eax, dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0048dae0
mov edi, eax
test edi, edi
jne 0x48e35a
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 0x48e54e
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 0x48e3b0
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.004abe70
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x48e3b2
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x48e553
lea eax, [ebx + 0x10]
mov ecx, 0x108
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x48e545
mov ecx, 0x104
nop dword [eax + eax]
cmp word [eax], 0
je 0x48e3ee
add eax, 2
sub ecx, 1
jne 0x48e3e0
test ecx, ecx
je 0x48e545
lea esi, [ebx + 0x218]
test esi, esi
je 0x48e545
mov ecx, 0x104
mov eax, esi
nop dword [eax + eax]
cmp word [eax], 0
je 0x48e4e5
add eax, 2
sub ecx, 1
jne 0x48e410
jmp 0x48e4e5
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 0x48e474
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.004abe70
add esp, 0xc
mov byte [ebp - 4], 0
jmp 0x48e476
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x48e49a
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 0x48e545
mov ecx, 0x104
cmp word [eax], 0
je 0x48e4c2
add eax, 2
sub ecx, 1
jne 0x48e4b4
test ecx, ecx
je 0x48e545
lea esi, [ebx + 0x21c]
test esi, esi
je 0x48e545
mov ecx, 0x104
mov eax, esi
cmp word [eax], 0
je 0x48e4e5
add eax, 2
sub ecx, 1
jne 0x48e4d7
test ecx, ecx
je 0x48e545
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 1
je 0x48e52a
mov ecx, esi
call fcn.0048e630
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48e52a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x48e54a
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