Function at 0x414be7
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xe0
mov eax, dword [0x4cb598]
xor eax, ebp
mov dword [ebp + 0x70], eax
push edi
mov edi, dword [ebp + 0x7c]
push 0x4aa5b0
push edi
call fcn.004783a7
test eax, eax
pop ecx
pop ecx
jne 0x414c26
push edi
push str._n_Invalid_String_Pack_File:_s
call fcn.00479727
pop ecx
pop ecx
push 0x12
pop eax
jmp 0x414e22
push ebx
push esi
push edi
call fcn.00413985
mov ebx, eax
push ebx
push str._n_No_of_String_Packs_in_the_File:__d
call fcn.0044dc0a
push 0x12
call fcn.00476994
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x414c5a
push str._n_Memory_Allocation_Error..Failed_to_allocate_Memory
call fcn.00479727
pop ecx
push 0xc
jmp 0x414c81
push 0x4a8cb0
push edi
call fcn.00478a96
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x414c87
push str._n_Error:_Cannot_open_the_String_pack_File
call fcn.0044dc0a
push esi
call fcn.00478435
pop ecx
pop ecx
push 0xa
pop eax
jmp 0x414e20
push 0
push 0
push edi
call fcn.0047985d
mov eax, dword [0x4dde88]
lea eax, [eax + eax + 2]
push eax
call fcn.00476994
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x6c], eax
jbe 0x414e10
mov dword [ebp - 0x68], ebx
push 0x12
push 0
push esi
call fcn.004762a0
push edi
call fcn.00479ab3
push edi
push 0x16
mov ebx, eax
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.00479dbd
push 0x12
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004765e0
push dword [esi]
push str._nString_Pack_Length:_04X
call fcn.0044dc0a
movzx eax, word [esi + 4]
push eax
push str._n_Type:_02X
call fcn.0044dc0a
push dword [esi + 6]
push str._n_Offset_Lang_String:_04X
call fcn.0044dc0a
add esp, 0x44
push dword [esi + 0xa]
push str._n_Offset_PrintableLangName:_04X
call fcn.0044dc0a
push dword [esi + 0xe]
push str._n_Attribute:_04X
call fcn.0044dc0a
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jbe 0x414e07
cmp word [esi + 4], 2
jne 0x414e07
push 0
add eax, ebx
push ebx
push edi
mov dword [ebp - 0x64], eax
call fcn.0047985d
push 1
push dword [esi + 6]
push edi
call fcn.0047985d
mov eax, dword [0x4dde88]
mov ebx, dword [ebp - 0x6c]
push edi
inc eax
push eax
push 2
push ebx
call fcn.00479dbd
or eax, 0xffffffff
sub eax, dword [0x4dde88]
push 1
add eax, eax
push eax
push edi
call fcn.0047985d
mov eax, dword [0x4dde88]
and word [ebx + eax*2], 0
add esp, 0x34
and dword [ebp - 0x5c], 0
mov ecx, dword [0x4dded0]
test ecx, ecx
je 0x414dd4
mov eax, dword [0x4dded4]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x5c], eax
jae 0x414dd4
push dword [ebp - 0x5c]
mov ecx, 0x4ddecc
call fcn.00402926
push dword [eax]
push ebx
call fcn.00478667
test eax, eax
pop ecx
pop ecx
je 0x414dc4
inc dword [ebp - 0x5c]
jmp 0x414d8b
push 0
push dword [ebp - 0x64]
push edi
call fcn.0047985d
add esp, 0xc
jmp 0x414e07
mov ebx, dword [ebp - 0x64]
push edi
dec ebx
call fcn.00479ab3
pop ecx
jmp 0x414e03
push edi
push 2
lea eax, [ebp - 0x60]
push 1
push eax
call fcn.00479dbd
movzx eax, word [ebp - 0x60]
push edi
mov byte [eax + 0x4cd260], 1
call fcn.00479ab3
add esp, 0x14
cmp eax, ebx
jl 0x414de1
dec dword [ebp - 0x68]
jne 0x414cb1
push esi
call fcn.00478435
push edi
call fcn.00478828
pop ecx
pop ecx
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop edi
call fcn.00475cba
add ebp, 0x74
leave
ret