Function at 0x44da40
Capabilities:
Get common file path
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48966b
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
xor edx, edx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
lea eax, [esi + 0x5c]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
push edi
mov dword [eax], ecx
lea edi, [esi + 0x18]
mov dword [eax + 4], ecx
lea eax, [esi + 0x64]
mov dword [esi + 0x64], edx
mov dword [eax + 4], edx
lea eax, [esi + 0x54]
mov dword [esi + 0x54], ecx
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
call fcn.004182d0
mov ebp, dword [esp + 0x3f0]
mov byte [esi + 0x41], bl
cmp ebp, ebx
jne 0x44dac4
mov ecx, dword [esp + 0x3f4]
cmp ecx, ebx
je 0x44dabd
mov edx, dword [ecx]
push str.loadFileInfoAnsi_failed:_no_filename
call dword [edx + 0x10]
xor al, al
jmp 0x44dcf5
push ebp
call fcn.00447bc0
add esp, 4
cmp eax, 0xffffffff
jne 0x44db62
mov edi, dword [esp + 0x3f4]
cmp edi, ebx
je 0x44db14
lea eax, [esp + 0xbc]
push eax
push 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [edi]
lea eax, [esp + 0xbc]
push eax
push str.curDir
mov ecx, edi
call dword [edx + 0x28]
mov edx, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_get_attributes
mov ecx, edi
call dword [edx + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push ebp
call fcn.00420440
add esp, 8
test al, al
jne 0x44db4a
cmp edi, ebx
mov byte [esi + 0x10], 1
je 0x44db5b
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov edx, dword [edi]
push str.File_does_not_exist.
mov ecx, edi
call dword [edx + 0x10]
cmp edi, ebx
je 0x44db5b
mov eax, dword [edi]
push ebp
push str.filename
mov ecx, edi
call dword [eax + 0x28]
xor al, al
jmp 0x44dcf5
mov dword [esi + 0x50], eax
lea ecx, [esp + 0x34]
shr eax, 4
and al, 1
mov byte [esi + 0x40], al
call fcn.0041c6f0
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x3ec], ebx
call fcn.0041c980
lea ecx, [esp + 0x34]
call fcn.0041d380
push eax
mov ecx, edi
call fcn.0041a2e0
mov al, byte [esi + 0x40]
mov edi, dword [esp + 0x3f4]
cmp al, bl
push edi
je 0x44dbb8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.0041f010
jmp 0x44dbc7
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0041edf0
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x44dc1b
cmp dword [esp + 0x10], 1
jne 0x44dbdc
mov byte [esi + 0x11], 1
cmp edi, ebx
je 0x44dc00
mov edx, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_open_for_reading
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x3f0]
mov eax, dword [edi]
push ecx
push str.filename
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.0041c7c0
xor al, al
jmp 0x44dcf5
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x44dc7b
cmp edi, ebx
je 0x44dc59
mov edx, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_get_file_time
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x3f0]
mov eax, dword [edi]
push ecx
push str.filename
mov ecx, edi
call dword [eax + 0x28]
push ebx
push ebp
call fcn.00449e50
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.0041c7c0
xor al, al
jmp 0x44dcf5
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esi + 0x5c]
lea edx, [esp + 0x1c]
push eax
push edx
call edi
lea eax, [esi + 0x64]
push eax
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esi + 0x54]
lea ecx, [esp + 0x24]
push eax
push ecx
call edi
cmp byte [esi + 0x40], bl
je 0x44dcb2
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
jmp 0x44dcd5
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x44], eax
push ecx
push eax
call fcn.0044ae40
mov dword [esi + 0x48], eax
add esp, 8
mov dword [esi + 0x4c], edx
push ebx
push ebp
call fcn.00449e50
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.0041c7c0
mov al, 1
mov ecx, dword [esp + 0x3e0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3dc
ret 8