Function at 0x448780
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x1a4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1b4]
xor ebx, ebx
push edi
push 0x4af4a4
push esi
xor edi, edi
mov byte [esp + 0x2c], bl
mov byte [esp + 0x90], bl
call fcn.0048440e
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x448a9e
push ebp
lea eax, [esp + 0xf0]
push 0xc8
push eax
call fcn.004845c8
add esp, 0xc
test eax, eax
je 0x4488c9
test edi, edi
jne 0x448818
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.00448600
add esp, 8
test eax, eax
je 0x4488a4
push str.LanguageInfo
push dword [esp + 0x14]
call fcn.00475677
add esp, 8
test eax, eax
jne 0x4488a4
lea edi, [eax + 1]
jmp 0x4488a4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.00448690
add esp, 0xc
test eax, eax
je 0x44888b
mov esi, dword [esp + 0x10]
push str.Language
push esi
call fcn.00475677
add esp, 8
test eax, eax
jne 0x448861
push 0x64
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
call fcn.00473d90
add esp, 0xc
jmp 0x4488a4
push str.Application
push esi
call fcn.00475677
add esp, 8
test eax, eax
jne 0x4488a4
push 0x64
push dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
call fcn.00473d90
add esp, 0xc
jmp 0x4488a4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.00448600
add esp, 8
test eax, eax
jne 0x4488c2
push ebp
lea eax, [esp + 0xf0]
push 0xc8
push eax
call fcn.004845c8
add esp, 0xc
test eax, eax
jne 0x4487d6
mov esi, dword [esp + 0x1b8]
push ebp
call fcn.00417e55
add esp, 4
test edi, edi
je 0x448a9e
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c0]
call fcn.00475677
add esp, 8
test eax, eax
jne 0x448a9e
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x1c4]
call fcn.00475677
add esp, 8
test eax, eax
jne 0x448a9e
push eax
push eax
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x448a9e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x448a94
test edi, edi
jle 0x448a94
lea eax, [edi + 1]
push eax
call fcn.0045e2ef
mov esi, eax
add esp, 4
test esi, esi
je 0x448a94
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448a94
cmp dword [esp + 0x18], edi
jne 0x448a94
mov byte [esi + edi], bl
mov ecx, 1
mov bl, byte [esi]
xor edi, edi
mov edx, ecx
mov ebp, esi
test bl, bl
je 0x4489c0
cmp bl, 0xd
lea eax, [ecx + 1]
lea ebp, [ebp + 1]
cmovne eax, ecx
cmp bl, 0xa
mov bl, byte [ebp]
mov ecx, eax
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
test bl, bl
jne 0x4489a0
cmp edx, ecx
cmovge ecx, edx
shl ecx, 3
push ecx
call fcn.0045e2ef
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x448a94
mov al, byte [esi]
test al, al
je 0x448a8f
mov ebp, esi
mov dword [esp + 0x1c], ebp
nop dword [eax + eax]
mov cl, al
cmp al, 0xd
je 0x448a04
cmp al, 0xa
je 0x448a13
mov al, byte [esi + 1]
inc esi
mov cl, al
test al, al
jne 0x4489f0
cmp cl, 0xd
jne 0x448a13
cmp byte [esi + 1], 0xa
lea eax, [esi + 1]
cmove esi, eax
lea eax, [esp + 0x10]
inc esi
push eax
push ebp
call fcn.00448600
add esp, 8
test eax, eax
je 0x448a57
mov ebp, dword [esp + 0x10]
push str.LanguageInfo
push ebp
call fcn.00475677
add esp, 8
test eax, eax
je 0x448a53
push ebp
call fcn.00448590
mov edi, eax
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi + 0x10], 0
jmp 0x448a85
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x448a85
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00448690
add esp, 0xc
test eax, eax
je 0x448a85
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
inc dword [edi + 0x10]
add ebx, 8
mov al, byte [esi]
test al, al
jne 0x4489e5
mov ebx, 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1a4
ret