Function at 0x409873
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x55f8
call fcn.0040e4e0
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 8], edi
call sub.MFC42.DLL_CException::CException
lea ecx, [ebp - 0xbc]
call sub.MFC42.DLL_CString::CString_1
or dword [ebp - 0xc0], 0xffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xcc], 0x410820
mov dword [ebp - 0xc4], esi
call sub.MFC42.DLL_CString::operator
mov ecx, edi
call fcn.0040b537
test eax, eax
push esi
jne 0x4098eb
push str.Error:_1
push str.Cannot_Open_File
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, edi
call sub.MFC42.DLL_CDialog::OnCancel
jmp 0x40afae
push dword [0x4111c0]
mov esi, 0x411e00
mov ecx, esi
call sub.MFC42.DLL_CFile::Seek
lea eax, [ebp - 0xd8]
push 7
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x40afa7
push ebx
push 4
pop ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
and byte [ebp - 0xd0], 0
push 7
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
and byte [ebp - 0x28], 0
lea eax, [ebp - 0x30]
push 7
push eax
push str._ScN_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4099b5
push ebx
push 0x4111bc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4111b8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413d0c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x4c]
xor edi, edi
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x4c], edi
call sub.MFC42.DLL_CFile::Read
push edi
push 0x4124d4
push dword [ebp - 0x4c]
push 0x411e00
call fcn.0040dd0c
add esp, 0x10
cmp eax, 1
jne 0x4099b7
push eax
call fcn.0040794f
pop ecx
push dword [ebp - 8]
call fcn.00407959
pop ecx
jmp 0x4099b7
xor edi, edi
lea eax, [ebp - 0x30]
push 7
push eax
push str._WaV_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x4099ed
push 0x411e00
call fcn.00406c35
pop ecx
mov ecx, dword [0x41407c]
inc dword [0x41407c]
mov dword [ecx*4 + 0x411e28], eax
lea eax, [ebp - 0x30]
push 7
push eax
push str._MiS_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x409b97
push ebx
push 0x412148
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412150
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412150], edi
je 0x409a55
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xb0]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x41214c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xb0]
call sub.MFC42.DLL_CString::CString
push ebx
push 0x412158
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412158], edi
je 0x409a94
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xa4]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x412154
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xa4]
call sub.MFC42.DLL_CString::CString
push ebx
push 0x412160
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412160], edi
je 0x409ad3
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x98]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x41215c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x98]
call sub.MFC42.DLL_CString::CString
push ebx
push 0x412b50
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b58
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412b58], edi
je 0x409b1f
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xa0]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x412b54
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CString::CString
push ebx
push 0x412b6c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412b6c], edi
je 0x409b5e
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xa8]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x412b68
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xa8]
call sub.MFC42.DLL_CString::CString
push ebx
push 0x412b74
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412b74], edi
je 0x409b97
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x78]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x412b70
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x30]
push 7
push eax
push str._CsM_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x409d24
lea eax, [ebp - 0x10]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_CFile::Read
push edi
push edi
push edi
push 0x411e00
push dword [ebp - 0x10]
call fcn.0040dc2f
mov ecx, dword [ebp - 8]
add esp, 0x14
add ecx, 0x150
push eax
mov dword [ebp - 4], ecx
call sub.MFC42.DLL_CGdiObject::Attach
push ebx
push 0x414038
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f34
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x414038], 1
jne 0x409c5c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], edi
add eax, 0x124
mov dword [ebp - 0x48], 0x40f930
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040874d
lea eax, [ebp - 0x48]
pop ecx
neg eax
sbb eax, eax
pop ecx
and eax, dword [ebp - 0x44]
push 1
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40f370
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [ebp - 0x48], 0x40f358
jmp 0x409ce9
push ebx
push 0x412b48
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x411e10
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [ebp - 4], edi
jne 0x409c7f
xor eax, eax
jmp 0x409c85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push dword [0x411e10]
push dword [0x412b48]
push eax
call fcn.004031ba
add esp, 0xc
cmp dword [0x412f34], 1
mov dword [ebp - 0xc], eax
jne 0x409cd8
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x409cb1
xor eax, eax
jmp 0x409cb4
mov eax, dword [eax + 4]
push dword [0x411e10]
push dword [0x412b48]
push eax
call fcn.004031ba
add esp, 0xc
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x124]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 8]
push 0x18
push dword [eax + 0x154]
call dword [sym.imp.GDI32.dll_GetObjectA]
push 2
mov ecx, dword [ebp - 8]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push edi
push edi
push edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov dword [0x414068], 1
lea eax, [ebp - 0x30]
push 7
push eax
push str._cap_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x409e0e
mov al, byte [0x41409c]
push 0x18
mov byte [ebp - 0x24c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x24b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x10]
lea eax, [ebp - 0x24c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0xc]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x411294
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414048
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x24c]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
cmp dword [0x414068], 0
jne 0x409e0c
mov edi, dword [ebp - 8]
push 0x20
push dword [ebp - 4]
mov ecx, edi
push 0
call sub.MFC42.DLL_CWnd::ModifyStyle
push 0x20
mov ecx, edi
push dword [ebp - 0xc]
push 0
call sub.MFC42.DLL_CWnd::ModifyStyleEx
push 0x20
push 0
push 0x40000
mov ecx, edi
call sub.MFC42.DLL_CWnd::ModifyStyle
push 0x20
push 0x400000
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ModifyStyle
xor edi, edi
lea eax, [ebp - 0x30]
push 7
push eax
push str._mdi_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x409e81
lea eax, [ebp - 0x24]
push 8
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4124c4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x414068], edi
jne 0x409e81
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x409e53
xor eax, eax
jmp 0x409e56
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
mov ecx, dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push edi
call sub.MFC42.DLL_CWnd::SetWindowPos
lea eax, [ebp - 0x30]
push 7
push eax
push str._TrY_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a05e
push ebx
push 0x412f88
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f8c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412f8c], edi
mov dword [ebp - 0xc], edi
jle 0x409f11
mov dword [ebp - 4], 0x412f38
lea eax, [ebp - 0x10]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_CFile::Read
push 0x411e00
call fcn.0040d90b
mov dword [ebp - 0x34], eax
pop ecx
add eax, 0x210
push eax
call fcn.0040dbaf
pop ecx
mov ecx, dword [ebp - 4]
push dword [ebp - 0x34]
mov dword [ecx], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], ebx
cmp eax, dword [0x412f8c]
jl 0x409ec9
push ebx
push 0x413c10
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x413c10], edi
mov dword [ebp - 4], edi
jle 0x40a012
mov dword [ebp - 0xc], 0x4135d0
mov edi, dword [ebp - 0xc]
push ebx
mov ecx, esi
lea eax, [edi - 0x320]
push eax
call sub.MFC42.DLL_CFile::Read
push ebx
push edi
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov al, byte [0x4140a0]
mov ecx, 0x9c3
mov byte [ebp - 0x2ee8], al
xor eax, eax
lea edi, [ebp - 0x2ee7]
and dword [ebp - 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x38]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x38]
lea eax, [ebp - 0x2ee8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x2ee8]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x640]
call sub.MFC42.DLL_CString::operator
lea edi, [ebp - 0x2ee8]
or ecx, 0xffffffff
xor eax, eax
and dword [ebp - 0x38], 0
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
lea edi, [ebp - 0x2ee8]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x38]
lea eax, [ebp - 0x2ee8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x2ee8]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x320]
call sub.MFC42.DLL_CString::operator
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], ebx
cmp eax, dword [0x413c10]
jl 0x409f34
xor edi, edi
push ebx
push 0x413c14
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413c18
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x90]
push 0x411e00
push eax
call fcn.0040ba42
push eax
mov ecx, 0x413c1c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 8]
call fcn.0040b68a
lea eax, [ebp - 0x30]
push 7
push eax
push str._CuR_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a0ad
lea eax, [ebp - 0x34]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x34], edi
call sub.MFC42.DLL_CFile::Read
push 0x411e00
call fcn.0040d90b
mov dword [ebp - 0x10], eax
pop ecx
add eax, 0x210
push eax
call fcn.0040dbaf
pop ecx
mov dword [0x414060], eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x30]
push 7
push eax
push str._WoP_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a0d3
push 1
push 0x41406c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x30]
push 7
push eax
push str._but_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a462
mov al, byte [0x4140a4]
push 0x18
mov byte [ebp - 0x184], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x183]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push ebx
mov dword [ebp - 0x10], eax
mov dword [0x412800], eax
mov dword [0x414030], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x10]
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x184]
mov ecx, 0x411e20
push eax
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412494
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412edc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412edc], 1
jne 0x40a201
mov al, byte [0x4140a8]
push 0x18
mov byte [ebp - 0x314], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 4]
lea eax, [ebp - 0x314]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x314]
mov ecx, 0x412f28
push eax
call sub.MFC42.DLL_CString::operator
push 1
push 0x4124d0
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x414078]
push 1
mov ecx, esi
lea eax, [eax + 0x413c40]
push eax
call sub.MFC42.DLL_CFile::Read
push 0x4140ac
mov ecx, 0x4124d8
call sub.MFC42.DLL_CString::operator
mov al, byte [0x4140b0]
push 0x18
mov byte [ebp - 0x1e8], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1e7]
rep stosd dword es:[edi], eax
and dword [ebp - 0x58], 0
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x58]
lea eax, [ebp - 0x1e8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x1e8]
mov ecx, 0x4124d8
push eax
call sub.MFC42.DLL_CString::operator
push ebx
push 0x4124a8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412b60
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp byte [0x412b60], 0
jne 0x40a29b
push ebx
push 0x412b3c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f30
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f2c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x414054]
push ebx
mov ecx, esi
lea eax, [eax*4 + 0x412bb0]
push eax
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412ed4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp byte [0x412ed4], 3
jne 0x40a330
push ebx
push 0x412b64
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov al, byte [0x4140b4]
mov ecx, 0x9c3
mov byte [ebp - 0x55f8], al
xor eax, eax
lea edi, [ebp - 0x55f7]
and dword [ebp - 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x50]
lea eax, [ebp - 0x55f8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x55f8]
mov ecx, 0x4124c0
push eax
call sub.MFC42.DLL_CString::operator
push ebx
push 0x412b40
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412b40], 1
jne 0x40a3b4
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 0
push 0x4124dc
push dword [ebp - 4]
mov edi, 0x411e00
push edi
call fcn.0040dd0c
and dword [ebp - 4], 0
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, esi
push ebx
push eax
call sub.MFC42.DLL_CFile::Read
push 0
push 0x4124b0
push dword [ebp - 4]
push edi
call fcn.0040dd0c
and dword [ebp - 4], 0
add esp, 0x10
lea eax, [ebp - 4]
mov ecx, esi
push ebx
push eax
call sub.MFC42.DLL_CFile::Read
push 0
push 0x412490
push dword [ebp - 4]
push edi
call fcn.0040dd0c
add esp, 0x10
push ebx
push 0x412800
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x412800]
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
shl eax, 2
push eax
call edi
pop ecx
mov dword [0x412b78], eax
push dword [0x412800]
call edi
mov dword [0x412b5c], eax
mov eax, dword [0x412800]
pop ecx
shl eax, 2
push eax
mov ecx, esi
push dword [0x412b78]
call sub.MFC42.DLL_CFile::Read
push dword [0x412800]
mov ecx, esi
push dword [0x412b5c]
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414030
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x414030]
shl eax, 4
push eax
call edi
pop ecx
mov dword [0x412b7c], eax
mov ecx, dword [0x414030]
shl ecx, 4
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x184]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00408cf4
inc dword [0x414078]
xor edi, edi
lea eax, [ebp - 0x30]
push 7
push eax
push str._HkD_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a5b7
lea eax, [ebp - 0xc]
push ebx
push eax
mov ecx, esi
mov dword [0x414058], 1
mov dword [ebp - 0xc], edi
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x7d8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
lea eax, [ebp - 0x7d8]
push dword [0x412f24]
push eax
lea eax, [ebp - 0x6d4]
push 0x4140b8
push eax
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x14
mov ecx, esi
call sub.MFC42.DLL_CFile::GetPosition
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6d4]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x6d4]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
pop ecx
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CException::CException
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_1
or dword [ebp - 0x68], 0xffffffff
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], 0x410820
mov dword [ebp - 0x6c], edi
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0xe8]
call fcn.0040e378
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x6d4]
push 0x9041
push eax
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40a585
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0xc]
lea ecx, [ebp - 0xe8]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0xe8]
call sub.MFC42.DLL_CFile::Close
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
add ecx, eax
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CFile::Seek
lea ecx, [ebp - 0xe8]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], 0x410820
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x74], 0x40f358
lea eax, [ebp - 0x30]
push 7
push eax
push str._txt_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
cmp eax, edi
jne 0x40a727
mov al, byte [0x4140bc]
push 0x31
mov byte [ebp - 0x508], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x507]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x10], 0
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x10]
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
and byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push 1
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp byte [ebp - 0x11], 0
push ebx
jne 0x40a6e6
push 0x4124bc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4124ac
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b94
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b88
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b8c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b90
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412b80
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412b81
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412b82
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x508]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.004090e8
jmp 0x40a727
push 0x412ee4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413d08
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412488
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x508]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.004092d0
lea eax, [ebp - 0x30]
push 7
push eax
push str._GrB_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40a80b
mov al, byte [0x4140c0]
push 0x31
mov byte [ebp - 0x5d0], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x5cf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x10], 0
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x10]
lea eax, [ebp - 0x5d0]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x41405c]
push ebx
mov ecx, esi
lea eax, [eax*4 + 0x4124e0]
push eax
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x41405c]
shl eax, 2
cmp dword [eax + 0x4124e0], 0
jne 0x40a7f0
lea eax, [eax + 0x412808]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x41405c]
push ebx
mov ecx, esi
lea eax, [eax*4 + 0x413d10]
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x5d0]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.0040900c
lea eax, [ebp - 0x30]
push 7
push eax
push str._edi_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40aa46
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412b38
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x4124b8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413c20
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 0x4140c4
mov ecx, 0x4124d8
call sub.MFC42.DLL_CString::operator
mov al, byte [0x4140c8]
push 0x18
mov byte [ebp - 0x2b0], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x2af]
rep stosd dword es:[edi], eax
and dword [ebp - 0x54], 0
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x54]
lea eax, [ebp - 0x2b0]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x2b0]
mov ecx, 0x4124d8
push eax
call sub.MFC42.DLL_CString::operator
push ebx
push 0x41249c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x41249c], 1
jne 0x40a930
push ebx
push 0x4124a0
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4124a4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [ebp - 8]
mov edi, 0x411e00
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.0040ba42
push eax
mov ecx, 0x412498
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xb8]
call sub.MFC42.DLL_CString::CString
jmp 0x40a935
mov edi, 0x411e00
cmp dword [0x41249c], 2
jne 0x40aa32
and dword [0x412800], 0
push ebx
push 0x412800
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [0x412800]
shl eax, 2
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [0x412b78], eax
push dword [0x412800]
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [0x412b5c], eax
mov eax, dword [0x412800]
pop ecx
shl eax, 2
push eax
mov ecx, esi
push dword [0x412b78]
call sub.MFC42.DLL_CFile::Read
push dword [0x412800]
mov ecx, esi
push dword [0x412b5c]
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413c34
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x413c38
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.0040ba42
push eax
mov ecx, 0x413c28
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.0040ba42
push eax
mov ecx, 0x413c2c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xac]
push edi
push eax
call fcn.0040ba42
push eax
mov ecx, 0x413c30
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.004093b0
lea eax, [ebp - 0x30]
push 7
push eax
push str._bmp_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40ab8d
mov al, byte [0x4140cc]
push 0x31
mov byte [ebp - 0x440], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x43f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
xor edx, edx
and byte [ebp - 0x40], dl
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x60]
push 0
push eax
push dword [ebp - 0x10]
push 0x411e00
call fcn.0040dd0c
add esp, 0x10
cmp eax, 1
jne 0x40aab5
mov dword [ebp - 4], eax
mov eax, dword [0x414084]
mov edi, dword [ebp - 8]
push dword [ebp - 0x60]
lea ecx, [edi + eax*8 + 0x1c4]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x40]
push 1
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
movzx eax, byte [ebp - 0x40]
sub eax, 0
je 0x40ab64
dec eax
je 0x40ab38
dec eax
je 0x40ab1b
dec eax
jne 0x40ab64
push 0x10
push 0x412b28
jmp 0x40ab22
push 0x18
push 0x412b98
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x41248c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
jmp 0x40ab64
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0xc]
lea eax, [ebp - 0x440]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
mov eax, dword [ebp - 0xc]
and byte [ebp + eax - 0x440], 0
cmp dword [ebp - 4], 1
jne 0x40ab87
push dword [ebp - 0x40]
lea eax, [ebp - 0x440]
mov ecx, edi
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00409526
inc dword [0x414084]
lea eax, [ebp - 0x30]
push 7
push eax
push str._TsL_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40aea4
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414070
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414074
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
inc eax
push eax
call edi
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x3c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
push ebx
push 0x412f0c
and byte [ecx + eax], 0
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f08
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412f08], 0
jne 0x40ac50
push ebx
push 0x41404c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x414050
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4124cc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412f08], 1
jne 0x40acc1
push ebx
push 0x412ee8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412eec
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412ef0
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412ef4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412ef8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412efc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f00
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f04
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412f08], 2
jne 0x40ae83
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov ecx, esi
call sub.MFC42.DLL_CFile::GetPosition
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040b969
push eax
mov ecx, 0x412f10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x94]
call sub.MFC42.DLL_CString::CString
push pe_nt_image_headers32
push dword [0x412f10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [0x412f10]
call dword [sym.imp.MSVCRT.dll_remove]
pop ecx
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CException::CException
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 0x84], 0
or dword [ebp - 0x80], 0xffffffff
push 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x8c], 0x410820
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0xf8]
call fcn.0040e378
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0xf8]
push eax
push 0x9041
push dword [0x412f10]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40adc3
push dword [ebp - 0xc]
call edi
pop ecx
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0xc]
lea ecx, [ebp - 0xf8]
push dword [ebp - 4]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0xf8]
call sub.MFC42.DLL_CFile::Close
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
add ecx, eax
push 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CFile::Seek
push ebx
push 0x412f14
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
cmp dword [0x412f14], 0
je 0x40adf8
push ebx
push 0x412f18
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412f1c
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 0x4140d0
mov ecx, 0x412f20
call sub.MFC42.DLL_CString::operator
cmp dword [0x412f1c], 0
je 0x40ae5c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [ebp - 4]
inc eax
push eax
call edi
pop ecx
mov edi, eax
push dword [ebp - 4]
mov ecx, esi
push edi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [ebp - 4]
push edi
mov ecx, 0x412f20
and byte [edi + eax], 0
call sub.MFC42.DLL_CString::operator
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea ecx, [ebp - 0xf8]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x8c], 0x410820
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x8c], 0x40f358
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00408dab
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea eax, [ebp - 0x30]
push 7
push eax
push str._scl_
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40af8e
lea eax, [ebp - 0x24]
push 0x10
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x411dfc
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x4124c8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412b44
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x4124b4
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push ebx
push 0x412ed8
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 1
push 0x412ed0
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
push 0x4140d4
mov ecx, 0x4124d8
call sub.MFC42.DLL_CString::operator
mov al, byte [0x4140d8]
push 0x18
mov byte [ebp - 0x378], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x377]
rep stosd dword es:[edi], eax
and dword [ebp - 0x5c], 0
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
push dword [ebp - 0x5c]
lea eax, [ebp - 0x378]
mov ecx, esi
push eax
call sub.MFC42.DLL_CFile::Read
lea eax, [ebp - 0x378]
mov ecx, 0x4124d8
push eax
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00409483
lea eax, [ebp - 0xd8]
push 7
push eax
mov ecx, esi
call sub.MFC42.DLL_CFile::Read
test eax, eax
jne 0x409919
pop ebx
mov ecx, esi
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xcc], 0x410820
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
leave
ret