Function at 0x44e320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b32b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x44e51d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e51d
lea edi, [ebp - 0x14]
mov eax, ebx
mov dword [ebp - 0x14], 0
call fcn.0044e1b0
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x44e397
mov ecx, dword [ebp + 8]
push esi
push ecx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.0044dc40
mov eax, dword [ebx]
cmp eax, edi
je 0x44e3b7
lea edx, [ebp - 0x10]
push edx
push 0x4c3240
call eax
cmp eax, edi
je 0x44e3c9
mov ebx, dword [ebx + 4]
cmp ebx, edi
je 0x44e3c9
lea eax, [ebp - 0x10]
push eax
push 0x4c3240
call ebx
or ebx, 0xffffffff
cmp esi, edi
je 0x44e3d2
mov dword [esi], ebx
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44e50e
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x44e50b
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], edi
mov ecx, dword [eax]
push 4
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x44e451
mov eax, dword [ebp + 8]
shl eax, 0x10
sar eax, 0x1c
cmp eax, 2
je 0x44e41d
cmp eax, 3
jne 0x44e451
cmp esi, edi
je 0x44e427
mov dword [esi], 1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44e439
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], edi
mov ecx, dword [eax]
push 3
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x44e4ae
mov ecx, dword [ebp + 8]
and ecx, 0xf00
cmp ecx, 0x300
jne 0x44e4ae
cmp esi, edi
je 0x44e484
mov dword [esi], 3
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44e496
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], edi
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x44e50b
mov ecx, dword [ebp + 8]
and ecx, 0xf0000
cmp ecx, 0x30000
jne 0x44e50b
cmp esi, edi
je 0x44e4e1
mov dword [esi], 4
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44e496
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
cmp eax, edi
je 0x44e51d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4