Function at 0x44e36b
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get file size

Disassembly:
mov eax, 0x4b9b89
call fcn.0049e324
sub esp, 0x3a0
mov eax, dword [0x57aa54]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x3ac], ecx
mov eax, dword [ebp - 0x3ac]
and byte [eax + 8], 0
push 8
push 0
mov eax, dword [ebp - 0x3ac]
add eax, 0x3c
push eax
call fcn.0049ce00
add esp, 0xc
push 8
push 0
mov eax, dword [ebp - 0x3ac]
add eax, 0x44
push eax
call fcn.0049ce00
add esp, 0xc
push 8
push 0
mov eax, dword [ebp - 0x3ac]
add eax, 0x34
push eax
call fcn.0049ce00
add esp, 0xc
mov eax, dword [ebp - 0x3ac]
and dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x3ac]
and byte [eax + 0x28], 0
mov eax, dword [ebp - 0x3ac]
and dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xc
call fcn.00419f86
mov eax, dword [ebp - 0x3ac]
and byte [eax + 0x29], 0
cmp dword [ebp + 8], 0
jne 0x44e431
cmp dword [ebp + 0xc], 0
je 0x44e42a
push str.loadFileInfoAnsi_failed:_no_filename
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
xor al, al
jmp 0x44e678
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44e4e0
cmp dword [ebp + 0xc], 0
je 0x44e476
lea eax, [ebp - 0x3a4]
push eax
push 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x3a4]
push eax
push str.curDir
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x28]
cmp dword [ebp + 0xc], 0
je 0x44e48c
push str.loadFileInfoAnsi_failed:_cannot_get_attributes
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430e46
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x44e4c0
mov eax, dword [ebp - 0x3ac]
mov byte [eax + 8], 1
cmp dword [ebp + 0xc], 0
je 0x44e4c0
push str.File_does_not_exist.
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
cmp dword [ebp + 0xc], 0
je 0x44e4d9
push dword [ebp + 8]
push str.filename
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x28]
xor al, al
jmp 0x44e678
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x3ac]
mov eax, dword [eax + 0x4c]
and eax, 0x10
test eax, eax
setne al
mov ecx, dword [ebp - 0x3ac]
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.00418bb6
lea ecx, [ebp - 0x74]
call fcn.00419532
push eax
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xc
call fcn.0041ba86
or dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x3ac]
movzx eax, byte [eax + 0x28]
test eax, eax
je 0x44e559
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push eax
call fcn.00430818
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x44e56a
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 0x44e5b7
cmp dword [ebp + 0xc], 0
je 0x44e599
push str.loadFileInfoAnsi_failed:_cannot_open_for_reading
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
push dword [ebp + 8]
push str.filename
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x28]
and byte [ebp - 0x3a5], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x3a5]
jmp 0x44e678
mov eax, dword [ebp - 0x3ac]
add eax, 0x34
push eax
mov eax, dword [ebp - 0x3ac]
add eax, 0x44
push eax
mov eax, dword [ebp - 0x3ac]
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 0x44e637
cmp dword [ebp + 0xc], 0
je 0x44e610
push str.loadFileInfoAnsi_failed:_cannot_get_file_time
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x10]
push dword [ebp + 8]
push str.filename
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x28]
push 0
push dword [ebp - 0x10]
call fcn.00436fc2
pop ecx
pop ecx
and byte [ebp - 0x3a6], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x3a6]
jmp 0x44e678
mov eax, dword [ebp - 0x3ac]
add eax, 0x30
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x3ac]
mov dword [ecx + 0x2c], eax
push 0
push dword [ebp - 0x10]
call fcn.00436fc2
pop ecx
pop ecx
mov byte [ebp - 0x3a7], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.0041896f
mov al, byte [ebp - 0x3a7]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, dword [ebp + 4]
call fcn.0049c63c
leave
ret 8