Function at 0x44e691
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
mov eax, 0x4b9b89
call fcn.0049e324
sub esp, 0x74
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
and byte [eax + 8], 0
push 8
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x3c
push eax
call fcn.0049ce00
add esp, 0xc
push 8
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x44
push eax
call fcn.0049ce00
add esp, 0xc
push 8
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x34
push eax
call fcn.0049ce00
add esp, 0xc
mov eax, dword [ebp - 0x80]
and dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x80]
and byte [eax + 0x28], 0
mov eax, dword [ebp - 0x80]
and dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x80]
add ecx, 0xc
call fcn.00419f86
mov eax, dword [ebp - 0x80]
and byte [eax + 0x29], 0
cmp dword [ebp + 8], 0
jne 0x44e715
xor al, al
jmp 0x44e872
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44e75f
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430ee5
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x44e758
mov eax, dword [ebp - 0x80]
mov byte [eax + 8], 1
cmp dword [ebp + 0xc], 0
je 0x44e758
push str.File_does_not_exist.
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
xor al, al
jmp 0x44e872
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x4c]
and eax, 0x10
test eax, eax
setne al
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 0x28], al
lea ecx, [ebp - 0x74]
call fcn.00418897
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x74]
call fcn.00418c99
lea ecx, [ebp - 0x74]
call fcn.00419532
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xc
call fcn.0041ba86
or dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 0x28]
test eax, eax
je 0x44e7c9
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push eax
call fcn.00430818
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x44e7da
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push eax
call fcn.004306c3
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x44e7f5
and byte [ebp - 0x79], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x79]
jmp 0x44e872
mov eax, dword [ebp - 0x80]
add eax, 0x34
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x44
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x3c
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x44e83d
push 0
push dword [ebp - 0x10]
call fcn.00436fc2
pop ecx
pop ecx
and byte [ebp - 0x7a], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x7a]
jmp 0x44e872
mov eax, dword [ebp - 0x80]
add eax, 0x30
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x2c], eax
push 0
push dword [ebp - 0x10]
call fcn.00436fc2
pop ecx
pop ecx
mov byte [ebp - 0x7b], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x7b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8