Function at 0x44afb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov dword [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CFile::CFile_1
mov eax, dword [edi + 0x20]
push 0
mov ebx, 5
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], bl
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x44b078
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x18]
push eax
push str.Cant_Open__s_File_
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x30
push edx
call sub.MFC42.DLL_AfxMessageBox
jmp 0x44b0f7
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CFile::GetStatus
mov ecx, dword [esp + 0x40]
push 1
inc ecx
push ecx
call dword [sym.imp.MSVCRT.dll_calloc]
mov edx, dword [esp + 0x48]
add esp, 8
mov esi, eax
lea ecx, [esp + 0x24]
push edx
push esi
call sub.MFC42.DLL_CFile::Read
push esi
lea ecx, [esp + 0x18]
call fcn.004581ae
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x20]
push eax
push str.__d_
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::Find_1
push eax
push str._TABLE_
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x44b167
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 4
call fcn.004584fc
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x44b479
push ebp
push esi
push str._END_
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_2
add eax, ebx
lea ecx, [esp + 0x18]
sub eax, esi
push eax
lea eax, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 6
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
push 7
push str._HEADER_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
lea edx, [esp + 0x14]
lea ecx, [esi - 7]
push ecx
push 7
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x68]
mov byte [esp + 0x15c], 7
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
add esi, 8
lea ecx, [esp + 0x10]
push esi
push str._DATA_
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x6c]
mov byte [esp + 0x15c], 8
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 6]
lea ecx, [esp + 0x10]
push esi
push str._DATAHEADER2_
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
push esi
push str._DATAHEADER1_
lea ecx, [esp + 0x18]
je 0x44b32a
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
lea eax, [esp + 0x14]
mov edx, ebp
lea ecx, [esp + 0x10]
sub edx, esi
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x78]
mov byte [esp + 0x15c], 9
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 0xd]
lea ecx, [esp + 0x10]
push esi
push str._DATAHEADER2_
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
lea edx, [esp + 0x14]
mov ecx, ebp
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x70]
mov byte [esp + 0x15c], 0xa
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 0xd]
lea ecx, [esp + 0x10]
push esi
push str._END_
call sub.MFC42.DLL_CString::Find_2
sub eax, esi
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x74]
mov byte [esp + 0x15c], 0xb
call fcn.004581c0
mov byte [esp + 0x158], bl
lea ecx, [esp + 0x14]
jmp 0x44b3fc
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
push esi
je 0x44b3c0
push str._DATAHEADER1_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
lea edx, [esp + 0x14]
mov ecx, ebp
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x78]
mov byte [esp + 0x15c], 0xc
call fcn.004581c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 0xd]
lea ecx, [esp + 0x10]
push esi
push str._END_
call sub.MFC42.DLL_CString::Find_2
sub eax, esi
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x70]
mov byte [esp + 0x15c], 0xd
call fcn.004581c0
mov byte [esp + 0x158], bl
lea ecx, [esp + 0x14]
jmp 0x44b3fc
push str._END_
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
sub eax, esi
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [edi + 0x78]
mov byte [esp + 0x15c], 0xe
call fcn.004581c0
mov byte [esp + 0x158], bl
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 4
call fcn.004584fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14c
ret 4