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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov ecx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call fcn.0043bf60
push edi
push 0x10000080
push 3
push edi
mov esi, eax
push edi
push SysReAllocString
cmp esi, edi
je 0x44de94
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
call fcn.0049cbfd
add esp, 4
jmp 0x44de9d
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44deae
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], edi
lea edi, [ebp - 8]
lea esi, [ebp - 0x2c]
call fcn.0043ce30
test eax, eax
jne 0x44e088
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x44e071
cmp dword [ebp - 0x1c], eax
jl 0x44e05a
mov eax, dword [ebp - 0x20]
jg 0x44def7
test eax, eax
je 0x44e05a
push 1
push eax
mov dword [ebp - 0x14], 0
call fcn.0042d680
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44df1c
mov dword [ebp - 4], 7
jmp 0x44e071
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 8]
push ecx
call eax
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x44e061
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], eax
jl 0x44e05a
jg 0x44df51
cmp dword [ebp - 0x20], eax
jbe 0x44e05a
mov ecx, edi
call fcn.0043bf60
mov esi, eax
test esi, esi
je 0x44df78
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0049cbfd
add esp, 4
jmp 0x44df87
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x44e028
lea ecx, [ebp - 0xc]
push ecx
mov eax, edi
mov dword [ebp - 0xc], 0
call fcn.0043c400
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x44e061
mov ecx, dword [ebp - 0xc]
lea ebx, [ebp - 0x14]
call fcn.0044d200
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], esi
test eax, eax
je 0x44dfd3
mov edx, dword [eax]
mov ecx, dword [edx]
lea eax, [ebp - 0xc]
push eax
call ecx
add esp, 4
test esi, esi
jne 0x44e061
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x44e015
mov ecx, dword [ebp + 8]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44e007
test dl, dl
je 0x44e003
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44e007
add eax, 2
add ecx, 2
test dl, dl
jne 0x44dfe7
xor eax, eax
jmp 0x44e00c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44e015
lea esi, [eax + 1]
jmp 0x44e017
xor esi, esi
test ebx, ebx
je 0x44e024
push ebx
call fcn.0049cbfd
add esp, 4
test esi, esi
jne 0x44e061
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44e030
sub eax, edx
lea edi, [edi + eax + 1]
mov eax, edi
sub eax, dword [ebp - 0x10]
cdq
cmp edx, dword [ebp - 0x1c]
jl 0x44df51
jg 0x44e057
cmp eax, dword [ebp - 0x20]
jb 0x44df51
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.0043c120
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44e071
push eax
call fcn.0049cbfd
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x44e085
mov edx, dword [eax]
mov ecx, dword [edx]
lea eax, [ebp - 8]
push eax
call ecx
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret