Function at 0x44bf00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x643004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.data
mov edi, ecx
call dword [sym.imp.PAL.dll_PalSystemPathSet]
add esp, 4
push str.archive.dat
call dword [sym.imp.PAL.dll_PalGetFilePath]
push eax
lea eax, [ebp - 0x108]
push str._sdata_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.PAL.dll_PalFileCreate]
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x44bf8f
push 0x40030
push str.error
push str.ArchiveData_Fail
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482be9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
push ebx
inc eax
push 1
push eax
call dword [sym.imp.PAL.dll_PalMemoryAlloc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x44bfdf
push 0x40030
push str.error
push str.ArchiveData_Memory_Allocate
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482be9
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c030
push 0x40030
push str.error
push str.ArchiveData_Read_Fail
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482be9
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2c
push ecx
push edi
mov edx, ebx
lea ecx, [ebp - 0x108]
call fcn.0044e060
add esp, 0xc
test eax, eax
jne 0x44c088
push 0x40030
push str.error
push str.ArchiveData_Read_Fail
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.PAL.dll_PalMemoryFree]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482be9
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x108]
push eax
call esi
push str._r_n__t
mov edi, eax
call esi
push eax
push edi
mov edx, str._r_n__t
lea ecx, [ebp - 0x108]
call fcn.0044d990
add esp, 8
lea edx, [ebp - 0x108]
xor edi, edi
push 0x7c
push ecx
push edi
lea ecx, [ebp - 0x20c]
call fcn.0044e060
add esp, 0xc
test eax, eax
je 0x44c16c
cmp byte [ebp - 0x20c], 0
je 0x44c14b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.PAL.dll_PalSystemPathSet]
lea eax, [ebp - 0x20c]
add esp, 4
dec eax
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x44c0f7
mov ecx, dword [str..pac]
mov dword [eax], ecx
mov cl, byte [0x62c6c8]
mov byte [eax + 4], cl
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.PAL.dll_PalFileCreate]
add esp, 8
mov esi, eax
lea eax, [ebp - 0x21c]
push 0
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7c
push ecx
inc edi
lea edx, [ebp - 0x108]
push edi
lea ecx, [ebp - 0x20c]
call fcn.0044e060
add esp, 0xc
test eax, eax
jne 0x44c0d7
push ebx
call dword [sym.imp.PAL.dll_PalMemoryFree]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop ebx
pop edi
pop esi
call fcn.00482be9
mov esp, ebp
pop ebp
ret