Function at 0x406541
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44200d
push eax
mov eax, 0x8941c
mov dword fs:[0], esp
call fcn.00441150
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x7c], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov dword [esp + 0x89434], ebx
call sub.MFC42.DLL_CString::CString
xor edi, edi
mov byte [esp + 0x89434], 1
mov dword [esp + 0x84], edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x64]
add eax, 0xc4
push eax
call sub.MFC42.DLL_CString::operator
push str.ProjectSysData
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x64]
lea ecx, [esp + 0x6c]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esi + 0x68]
mov ebp, 2
cmp eax, ebx
mov byte [esp + 0x89434], 2
je 0x4065f6
lea edx, [esp + 0x7ac]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp word [ecx + 0x10], bp
jne 0x4065eb
mov cx, word [ecx + 4]
inc edi
mov word [edx], cx
add edx, ebp
cmp eax, ebx
jne 0x4065d4
mov dword [esp + 0x84], edi
xor ebp, ebp
cmp edi, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], ebp
jle 0x407e70
mov ecx, 0x4e20
xor eax, eax
lea edi, [esp + 0x8ac]
mov dword [esp + 0x40], ebx
rep stosd dword es:[edi], eax
mov di, word [esp + ebp*2 + 0x7ac]
mov ecx, dword [esp + 0x20]
mov esi, edi
mov dword [esp + 0x50], ebx
and esi, 0xffff
mov dword [esp + 0x60], ebx
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], edi
call fcn.00409fa0
test eax, eax
je 0x407e3c
mov ebp, dword [esp + 0x20]
push esi
mov ecx, ebp
call fcn.0040a0f0
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString
inc esi
lea edx, [esp + 0x74]
push esi
push 0x4500d4
push edx
mov byte [esp + 0x89440], 3
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x64]
lea ecx, [esp + 0x90]
push str.Compdb_
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x74]
mov byte [esp + 0x89434], 4
push edx
push eax
lea eax, [esp + 0x94]
push eax
call sub.MFC42.DLL_operator_1
push 0x45080c
lea ecx, [esp + 0x8c]
push eax
push ecx
mov byte [esp + 0x89440], 5
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x89438], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x88]
mov byte [esp + 0x89434], 5
call fcn.00440654
lea ecx, [esp + 0x8c]
mov byte [esp + 0x89434], 4
call fcn.00440654
lea ecx, [esp + 0x90]
mov byte [esp + 0x89434], 3
call fcn.00440654
mov edx, dword [esp + 0x6c]
push ebx
push 0x1001
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x407e52
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x40680c
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp word [esi + 4], di
jne 0x4067a1
cmp word [esi + 0x10], 2
je 0x4067a7
cmp eax, ebx
jne 0x40678d
jmp 0x40680c
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, word [esi + 4]
push 4
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x12]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x14]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x16]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x18]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x10
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov edi, dword [ebp + 0x12c]
cmp edi, ebx
je 0x406892
mov ebx, dword [ebp + 0x84]
mov eax, edi
mov edi, dword [edi]
xor ebp, ebp
mov ecx, ebx
mov esi, dword [eax + 8]
test ebx, ebx
je 0x406879
mov eax, ecx
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dx, word [eax + 0xe]
cmp dx, word [esp + 0x38]
jne 0x406871
mov dx, word [eax + 4]
cmp word [esi + 4], dx
jne 0x406871
mov bp, word [esi + 0x10]
cmp bp, word [eax + 0x10]
jne 0x40685b
mov bp, word [esi + 0x12]
cmp bp, word [eax + 0x12]
je 0x40686c
mov eax, dword [esp + 0x40]
mov word [esp + eax*2 + 0x554], dx
inc eax
mov dword [esp + 0x40], eax
mov ebp, 1
test ecx, ecx
jne 0x40682b
test ebp, ebp
jne 0x40688e
mov eax, dword [esp + 0x50]
mov cx, word [esi + 4]
mov word [esp + eax*2 + 0x6e4], cx
inc eax
mov dword [esp + 0x50], eax
test edi, edi
jne 0x40681c
lea edx, [esp + 0x50]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x4068cb
lea edi, [esp + 0x6e4]
push 2
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x50]
inc esi
add edi, 2
cmp esi, eax
jl 0x4068b3
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x40]
xor ebp, ebp
test eax, eax
jle 0x406955
mov ebx, dword [esp + 0x38]
lea edi, [esp + 0x554]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x406947
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp word [esi + 0xe], bx
jne 0x406914
mov dx, word [esi + 4]
cmp dx, word [edi]
je 0x40691a
test eax, eax
jne 0x4068fe
jmp 0x406947
lea eax, [esi + 4]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x10]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x12
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x40]
inc ebp
add edi, 2
cmp ebp, eax
jl 0x4068f0
jmp 0x406959
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x84]
test esi, esi
je 0x4069b0
mov ebp, dword [esp + 0x60]
mov eax, esi
mov esi, dword [esi]
mov edi, dword [eax + 8]
cmp word [edi + 0xe], bx
jne 0x4069ac
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x12c]
test eax, eax
je 0x40699b
mov dx, word [edi + 4]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp dx, word [ecx + 4]
je 0x4069ac
test eax, eax
jne 0x40698a
mov cx, word [edi + 4]
mov word [esp + ebp*2 + 0x3c4], cx
inc ebp
mov dword [esp + 0x60], ebp
test esi, esi
jne 0x40696b
lea edx, [esp + 0x60]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x60]
xor ebp, ebp
test eax, eax
jle 0x406a34
lea edi, [esp + 0x3c4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x406a28
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp word [esi + 0xe], bx
jne 0x4069f5
mov cx, word [esi + 4]
cmp cx, word [edi]
je 0x4069fb
test eax, eax
jne 0x4069df
jmp 0x406a28
lea edx, [esi + 4]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x10]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x12
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x60]
inc ebp
add edi, 2
cmp ebp, eax
jl 0x4069d1
mov ecx, dword [esp + 0x20]
mov ebp, dword [ecx + 0x148]
test ebp, ebp
je 0x406afc
mov edx, ecx
mov ecx, dword [edx + 0xa0]
mov dword [esp + 0x70], ecx
jmp 0x406a58
mov ecx, dword [esp + 0x70]
mov eax, ebp
mov ebp, dword [ebp]
test ecx, ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], 0
je 0x406ad3
mov si, word [esp + 0x38]
mov eax, ecx
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
cmp word [eax + 0xe], si
jne 0x406ac7
mov di, word [eax + 0x10]
cmp word [edx + 0x10], di
jne 0x406ac7
mov si, word [eax + 4]
cmp word [edx + 4], si
jne 0x406ac7
mov bx, word [edx + 0xc]
cmp bx, word [eax + 0xc]
jne 0x406ac7
mov bx, word [edx + 0x12]
cmp bx, word [eax + 0x12]
je 0x406abf
mov eax, dword [esp + 0x44]
mov word [esp + eax*2 + 0x48c], di
mov word [esp + eax*2 + 0x61c], si
inc eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], 1
test ecx, ecx
jne 0x406a6c
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x406af4
mov cx, word [edx + 0x10]
mov eax, dword [esp + 0x28]
mov dx, word [edx + 4]
mov word [esp + eax*2 + 0x234], cx
mov word [esp + eax*2 + 0x2fc], dx
inc eax
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x406a54
lea eax, [esp + 0x28]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x406b47
mov cx, word [esp + esi*2 + 0x234]
lea edx, [esp + 0x70]
imul cx, cx, 0x64
add cx, word [esp + esi*2 + 0x2fc]
push 2
push edx
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x406b16
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0xa0]
test edi, edi
je 0x406bc3
mov ebp, dword [esp + 0x24]
mov cx, word [esp + 0x38]
mov eax, edi
mov edi, dword [edi]
mov edx, dword [eax + 8]
cmp word [edx + 0xe], cx
jne 0x406bbf
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x148]
test eax, eax
je 0x406ba2
mov si, word [edx + 0x10]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp si, word [ecx + 0x10]
jne 0x406b9e
mov bx, word [edx + 4]
cmp bx, word [ecx + 4]
jne 0x406b9e
mov bx, word [edx + 0xc]
cmp bx, word [ecx + 0xc]
je 0x406bbf
test eax, eax
jne 0x406b7d
mov cx, word [edx + 0x10]
mov dx, word [edx + 4]
mov word [esp + ebp*2 + 0xa4], cx
mov word [esp + ebp*2 + 0x16c], dx
inc ebp
mov dword [esp + 0x24], ebp
test edi, edi
jne 0x406b59
lea eax, [esp + 0x24]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x24]
xor edx, edx
test eax, eax
mov dword [esp + 0x2c], edx
jle 0x406ef9
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xa0]
test eax, eax
je 0x406ee8
mov ecx, eax
mov eax, dword [eax]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x34], ebx
cmp word [ebx + 0xe], si
jne 0x406c28
mov cx, word [ebx + 0x10]
cmp cx, word [esp + edx*2 + 0xa4]
jne 0x406c28
mov cx, word [ebx + 4]
cmp cx, word [esp + edx*2 + 0x16c]
je 0x406c31
test eax, eax
jne 0x406bfb
jmp 0x406ee8
mov dx, word [ebx + 0x10]
lea eax, [esp + 0x70]
imul dx, dx, 0x64
add dx, word [ebx + 4]
push 2
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], edx
call sub.MFC42.DLL_CFile::Write
lea esi, [ebx + 0xc]
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov ax, word [esi]
cmp ax, 1
je 0x406dc7
cmp ax, 2
je 0x406dc7
cmp ax, 3
je 0x406dc7
cmp ax, 4
jne 0x406daa
lea ecx, [esp + 0x30]
push 2
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 8
call sub.MFC42.DLL_CFile::Write
mov ebp, 1
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0xd8]
test edi, edi
je 0x406d9b
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
mov eax, dword [esi + 4]
push eax
call fcn.00437500
cmp eax, dword [esp + 0x68]
jne 0x406d5a
mov ecx, dword [esi + 4]
push 1
push ecx
mov ecx, esi
call fcn.00437500
cmp eax, 4
jne 0x406d5a
mov edx, dword [esi + 4]
push 2
push edx
mov ecx, esi
call fcn.00437500
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [esp + edx*2 + 0xa4]
inc ecx
cmp eax, ecx
jne 0x406d5a
mov eax, dword [esi + 4]
push 3
push eax
mov ecx, esi
call fcn.00437500
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [esp + edx*2 + 0x16c]
inc ecx
cmp eax, ecx
jne 0x406d5a
mov eax, dword [esi + 4]
push 4
push eax
mov ecx, esi
call fcn.00437500
cmp eax, ebp
jne 0x406d5a
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x40000000
cmp ecx, 0x40000000
je 0x406d5a
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x406d64
test edi, edi
jne 0x406cba
jmp 0x406d9b
mov dx, word [esi + 0x7c]
lea eax, [esp + 0x30]
push 2
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CFile::Write
fld dword [esi + 0x20]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x7c]
push 4
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], eax
call sub.MFC42.DLL_CFile::Write
inc ebp
cmp ebp, 8
jle 0x406ca8
jmp 0x406ed1
lea edx, [esp + 0x30]
push 2
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CFile::Write
jmp 0x406ed1
and eax, 0xffff
push 2
mov ebx, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 8
call sub.MFC42.DLL_CFile::Write
mov ebp, 1
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0xd8]
test edi, edi
je 0x406ec3
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
mov edx, dword [esi + 4]
push edx
call fcn.00437500
cmp eax, dword [esp + 0x68]
jne 0x406e9c
mov eax, dword [esi + 4]
push 1
push eax
mov ecx, esi
call fcn.00437500
cmp eax, ebx
jne 0x406e9c
mov ecx, dword [esi + 4]
push 2
push ecx
mov ecx, esi
call fcn.00437500
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov dx, word [esp + ecx*2 + 0xa4]
inc edx
cmp eax, edx
jne 0x406e9c
mov edx, dword [esi + 4]
push 3
push edx
mov ecx, esi
call fcn.00437500
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [esp + edx*2 + 0x16c]
inc ecx
cmp eax, ecx
jne 0x406e9c
mov eax, dword [esi + 4]
push 4
push eax
mov ecx, esi
call fcn.00437500
cmp eax, ebp
jne 0x406e9c
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x40000000
cmp ecx, 0x40000000
je 0x406e9c
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x406ea6
test edi, edi
jne 0x406dfd
jmp 0x406ec3
mov dl, byte [esi + 0x7c]
lea eax, [esp + 0x30]
and edx, 0xff
push 2
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CFile::Write
inc ebp
cmp ebp, 8
jle 0x406deb
mov ebx, dword [esp + 0x34]
add ebx, 0x12
push 2
push ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
inc edx
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x406be9
lea ecx, [esp + 0x44]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jle 0x406fa1
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x406f96
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp word [esi + 0xe], bp
jne 0x406f52
mov dx, word [esi + 0x10]
cmp dx, word [esp + edi*2 + 0x48c]
jne 0x406f52
mov cx, word [esi + 4]
cmp cx, word [esp + edi*2 + 0x61c]
je 0x406f58
test eax, eax
jne 0x406f29
jmp 0x406f96
mov dx, word [esi + 0x10]
lea eax, [esp + 0x34]
imul dx, dx, 0x64
add dx, word [esi + 4]
push 2
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edx
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0xc]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x12
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jl 0x406f1f
jmp 0x406fa5
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
xor ebp, ebp
test eax, eax
jle 0x407063
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0x180]
test edi, edi
je 0x407052
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
mov eax, dword [esi + 4]
push eax
call fcn.00437500
cmp eax, ebx
jne 0x40704a
mov ecx, dword [esi + 4]
push 2
push ecx
mov ecx, esi
call fcn.00437500
xor edx, edx
mov dx, word [esp + ebp*2 + 0x234]
inc edx
cmp eax, edx
jne 0x40704a
mov eax, dword [esi + 4]
push 3
push eax
mov ecx, esi
call fcn.00437500
xor ecx, ecx
mov cx, word [esp + ebp*2 + 0x2fc]
inc ecx
cmp eax, ecx
jne 0x40704a
mov esi, dword [esi + 4]
mov edx, esi
and edx, 0x40000000
cmp edx, 0x40000000
je 0x40704a
mov eax, esi
and eax, 0x80000000
cmp eax, 0x80000000
je 0x40704a
mov eax, dword [esp + 0x4c]
mov dword [esp + eax*4 + 0x6232c], esi
inc eax
mov dword [esp + 0x4c], eax
test edi, edi
jne 0x406fc9
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x406fb7
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x4c]
xor esi, esi
test eax, eax
jle 0x4070bd
lea edi, [esp + 0x6232c]
mov eax, dword [ebx + 0x180]
test eax, eax
je 0x4070b1
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp dword [ecx + 4], edx
je 0x4070a2
test eax, eax
jne 0x407090
jmp 0x4070b1
add ecx, 4
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x4c]
inc esi
add edi, 4
cmp esi, eax
jl 0x407084
mov ebp, dword [ebx + 0x180]
test ebp, ebp
je 0x40729c
mov edx, dword [ebx + 0xd8]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x34]
mov eax, ebp
mov ebp, dword [ebp]
mov edx, dword [eax + 8]
test esi, esi
je 0x407294
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 4]
mov edi, dword [ecx + 4]
cmp edi, eax
jne 0x40728c
mov ax, word [edx + 0x14]
cmp ax, word [ecx + 0x14]
jne 0x407263
mov ax, word [edx + 0x16]
cmp ax, word [ecx + 0x16]
jne 0x407263
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jne 0x407263
fld dword [edx + 0x2c]
fcomp dword [ecx + 0x2c]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x30]
fcomp dword [ecx + 0x30]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x34]
fcomp dword [ecx + 0x34]
fnstsw ax
test ah, 0x40
je 0x407263
mov eax, dword [edx + 0x38]
cmp eax, dword [ecx + 0x38]
jne 0x407263
fld dword [edx + 0x44]
fcomp dword [ecx + 0x44]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x48]
fcomp dword [ecx + 0x48]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x4c]
fcomp dword [ecx + 0x4c]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x50]
fcomp dword [ecx + 0x50]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x54]
fcomp dword [ecx + 0x54]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x58]
fcomp dword [ecx + 0x58]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x5c]
fcomp dword [ecx + 0x5c]
fnstsw ax
test ah, 0x40
je 0x407263
mov eax, dword [edx + 0x60]
cmp eax, dword [ecx + 0x60]
jne 0x407263
mov eax, dword [edx + 0x64]
cmp eax, dword [ecx + 0x64]
jne 0x407263
fld dword [edx + 0x6c]
fcomp dword [ecx + 0x6c]
fnstsw ax
test ah, 0x40
je 0x407263
mov eax, dword [edx + 0x74]
cmp eax, dword [ecx + 0x74]
jne 0x407263
mov eax, dword [edx + 0x78]
cmp eax, dword [ecx + 0x78]
jne 0x407263
mov eax, dword [edx + 0x7c]
cmp eax, dword [ecx + 0x7c]
jne 0x407263
mov eax, dword [edx + 0x84]
cmp eax, dword [ecx + 0x84]
jne 0x407263
fld dword [edx + 0x20]
fcomp dword [ecx + 0x20]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x40]
fcomp dword [ecx + 0x40]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x88]
fcomp dword [ecx + 0x88]
fnstsw ax
test ah, 0x40
je 0x407263
fld dword [edx + 0x8c]
fcomp dword [ecx + 0x8c]
fnstsw ax
test ah, 0x40
jne 0x40728c
mov eax, dword [edx + 0x7c]
mov dword [esp + ebx*4 + 0x3b22c], edi
cmp eax, dword [ecx + 0x7c]
jne 0x40727c
mov eax, dword [edx + 0x78]
mov edi, dword [ecx + 0x78]
cmp eax, edi
je 0x407287
mov dword [esp + ebx*4 + 0x8ac], 1
inc ebx
mov dword [esp + 0x54], ebx
test esi, esi
jne 0x4070ed
test ebp, ebp
jne 0x4070d9
lea ecx, [esp + 0x54]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x54]
xor ebp, ebp
xor edi, edi
cmp eax, ebp
jle 0x4074c6
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xd8]
cmp eax, ebp
je 0x4074b9
mov edx, dword [esp + edi*4 + 0x3b22c]
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp dword [esi + 4], edx
je 0x4072ea
cmp eax, ebp
jne 0x4072d5
jmp 0x4074b9
mov eax, dword [esp + edi*4 + 0x8ac]
cmp eax, 1
jne 0x407303
lea edx, [esp + 0x34]
push 4
mov dword [esp + 0x38], eax
push edx
jmp 0x407312
cmp eax, ebp
jne 0x40731b
lea eax, [esp + 0x34]
push 4
mov dword [esp + 0x38], ebp
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 4]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x14]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x16]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x18]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x20]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x2c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x30]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x34]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x38]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x3c]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x40]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x44]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x48]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x4c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x50]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x54]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
push 4
lea edx, [esi + 0x58]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x5c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x60]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x64]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x6c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x74]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x78]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x7c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x84]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x88]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x8c
push 4
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x4072c0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x68]
cmp eax, ebp
jle 0x40757e
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0xd8]
test edi, edi
je 0x407571
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.00437500
cmp eax, ebx
jne 0x407569
mov edx, dword [esi + 4]
push 2
push edx
mov ecx, esi
call fcn.00437500
xor ecx, ecx
mov cx, word [esp + ebp*2 + 0xa4]
inc ecx
cmp eax, ecx
jne 0x407569
mov edx, dword [esi + 4]
push 3
push edx
mov ecx, esi
call fcn.00437500
xor ecx, ecx
mov cx, word [esp + ebp*2 + 0x16c]
inc ecx
cmp eax, ecx
jne 0x407569
mov esi, dword [esi + 4]
mov edx, esi
and edx, 0x40000000
cmp edx, 0x40000000
je 0x407569
mov eax, esi
and eax, 0x80000000
cmp eax, 0x80000000
je 0x407569
mov eax, dword [esp + 0x58]
mov dword [esp + eax*4 + 0x1412c], esi
inc eax
mov dword [esp + 0x58], eax
test edi, edi
jne 0x4074e8
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x4074d6
lea ecx, [esp + 0x58]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x58]
xor edi, edi
test eax, eax
jle 0x40777b
lea ebp, [esp + 0x1412c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x40776b
mov edx, dword [ebp]
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp dword [esi + 4], edx
je 0x4075cd
test eax, eax
jne 0x4075b8
jmp 0x40776b
lea eax, [esi + 4]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x14]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x16]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x18]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x20]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x2c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x30]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x34]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x38]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x3c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x40]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x44]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x48]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x50]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x54]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
push 4
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x5c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x60]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x64]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x6c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x74]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x78]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x7c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x84]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x88]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x8c
push 4
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x58]
inc edi
add ebp, 4
cmp edi, eax
jl 0x4075a3
mov eax, dword [esp + 0x28]
xor ebp, ebp
test eax, eax
jle 0x407845
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x407838
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
mov eax, dword [esi + 4]
push eax
call fcn.00437f80
cmp eax, ebx
jne 0x407830
mov ecx, dword [esi + 4]
push 2
push ecx
mov ecx, esi
call fcn.00437f80
xor edx, edx
mov dx, word [esp + ebp*2 + 0x234]
inc edx
cmp eax, edx
jne 0x407830
mov eax, dword [esi + 4]
push 3
push eax
mov ecx, esi
call fcn.00437f80
xor ecx, ecx
mov cx, word [esp + ebp*2 + 0x2fc]
inc ecx
cmp eax, ecx
jne 0x407830
mov eax, dword [esi + 4]
mov edx, eax
and edx, 0x20000000
cmp edx, 0x20000000
je 0x407830
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x407830
push 1
push eax
mov ecx, esi
call fcn.00437f80
cmp eax, 9
je 0x407830
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 4]
mov dword [esp + eax*4 + 0x279ac], edx
inc eax
mov dword [esp + 0x48], eax
test edi, edi
jne 0x40779b
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x407789
lea eax, [esp + 0x48]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
jle 0x4078a3
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x279ac]
mov eax, dword [ebx + 0x19c]
test eax, eax
je 0x407897
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
cmp dword [ecx + 4], edx
je 0x407888
test eax, eax
jne 0x407876
jmp 0x407897
add ecx, 4
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x48]
inc esi
add edi, 4
cmp esi, eax
jl 0x40786a
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x19c]
test ebx, ebx
je 0x4079a6
mov edx, dword [esp + 0x20]
mov eax, ebx
mov ebx, dword [ebx]
mov ebp, dword [edx + 0xf4]
mov edi, dword [eax + 8]
test ebp, ebp
je 0x40799e
mov ecx, dword [edi + 4]
mov eax, ebp
mov ebp, dword [ebp]
mov esi, dword [eax + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
jne 0x407996
mov cx, word [edi + 0x10]
cmp cx, word [esi + 0x10]
jne 0x407974
mov dx, word [edi + 0x12]
cmp dx, word [esi + 0x12]
jne 0x407974
mov ecx, dword [edi + 0x14]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jne 0x407974
mov dl, byte [edi + 0x1a]
mov cl, byte [esi + 0x1a]
cmp dl, cl
jne 0x407974
mov ecx, dword [edi + 0x1c]
mov edx, dword [esi + 0x1c]
cmp ecx, edx
jne 0x407974
mov edx, dword [edi + 0x20]
mov ecx, dword [esi + 0x20]
cmp edx, ecx
jne 0x407974
mov ecx, dword [edi + 0x2c]
mov edx, dword [esi + 0x2c]
cmp ecx, edx
jne 0x407974
mov edx, dword [edi + 0x30]
mov ecx, dword [esi + 0x30]
cmp edx, ecx
jne 0x407974
mov cx, word [edi + 0x48]
cmp cx, word [esi + 0x48]
jne 0x407974
mov dx, word [edi + 0x4a]
cmp dx, word [esi + 0x4a]
jne 0x407974
mov cx, word [edi + 0x4c]
cmp cx, word [esi + 0x4c]
jne 0x407974
mov edx, dword [edi + 0x50]
mov ecx, dword [esi + 0x50]
cmp edx, ecx
jne 0x407974
mov ecx, dword [edi + 0x38]
mov edx, dword [esi + 0x38]
cmp ecx, edx
jne 0x407974
mov dx, word [edi + 0x54]
cmp dx, word [esi + 0x54]
je 0x407996
push 1
push eax
mov ecx, esi
call fcn.00437f80
cmp eax, 9
je 0x407996
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
mov dword [esp + eax*4 + 0x4eaac], ecx
inc eax
mov dword [esp + 0x3c], eax
test ebp, ebp
jne 0x4078ce
test ebx, ebx
jne 0x4078b5
lea edx, [esp + 0x3c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x407ae8
mov ebx, dword [esp + 0x20]
lea ebp, [esp + 0x4eaac]
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x407ad6
mov edx, dword [ebp]
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp dword [esi + 4], edx
je 0x4079f5
test eax, eax
jne 0x4079e0
jmp 0x407ad6
lea eax, [esi + 4]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x10]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x12]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x14]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x1a]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x1c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x20]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x2c]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x30]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x38]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x48]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x4a]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x4c]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x50]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x54
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x3c]
inc edi
add ebp, 4
cmp edi, eax
jl 0x4079cf
jmp 0x407aec
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
xor ebp, ebp
test eax, eax
jle 0x407bbe
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0xf4]
test edi, edi
je 0x407bad
mov eax, edi
mov edi, dword [edi]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
mov eax, dword [esi + 4]
push eax
call fcn.00437f80
cmp eax, ebx
jne 0x407ba5
mov ecx, dword [esi + 4]
push 2
push ecx
mov ecx, esi
call fcn.00437f80
xor edx, edx
mov dx, word [esp + ebp*2 + 0xa4]
inc edx
cmp eax, edx
jne 0x407ba5
mov eax, dword [esi + 4]
push 3
push eax
mov ecx, esi
call fcn.00437f80
xor ecx, ecx
mov cx, word [esp + ebp*2 + 0x16c]
inc ecx
cmp eax, ecx
jne 0x407ba5
mov eax, dword [esi + 4]
mov edx, eax
and edx, 0x20000000
cmp edx, 0x20000000
je 0x407ba5
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x407ba5
push 1
push eax
mov ecx, esi
call fcn.00437f80
cmp eax, 9
je 0x407ba5
mov eax, dword [esp + 0x5c]
mov edx, dword [esi + 4]
mov dword [esp + eax*4 + 0x75bac], edx
inc eax
mov dword [esp + 0x5c], eax
test edi, edi
jne 0x407b10
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x407afe
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x5c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x5c]
xor edi, edi
test eax, eax
jle 0x407cfa
lea ebp, [esp + 0x75bac]
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x407cea
mov edx, dword [ebp]
mov ecx, eax
mov eax, dword [eax]
mov esi, dword [ecx + 8]
cmp dword [esi + 4], edx
je 0x407c09
test eax, eax
jne 0x407bf4
jmp 0x407cea
lea ecx, [esi + 4]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x10]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x12]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x14]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x1a]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x1c]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x20]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x2c]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x30]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x38]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x48]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea eax, [esi + 0x4a]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esi + 0x4c]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
lea edx, [esi + 0x50]
push 4
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
add esi, 0x54
push 2
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [esp + 0x5c]
inc edi
add ebp, 4
cmp edi, eax
jl 0x407be3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x407d63
mov eax, dword [esp + 0x48]
test eax, eax
je 0x407ddf
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x80]
lea ecx, [esp + 0x94]
push edx
push ecx
mov dword [esp + 0xa8], ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.SPCS_3000_DCS_
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x474e414d
mov dword [esp + 0xa8], 2
mov dword [esp + 0x8c], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebx + 0x25c]
call fcn.00404940
test al, al
je 0x407ddf
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x98]
push eax
push 0
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x20]
lea ecx, [esi + 0x10c]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esi + 0x128]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esi + 0x144]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esi + 0x160]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esi + 0x17c]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esi + 0x198]
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esp + 0x74]
mov byte [esp + 0x89434], 2
call fcn.00440654
mov ebp, dword [esp + 0x78]
xor ebx, ebx
mov eax, dword [esp + 0x84]
inc ebp
cmp ebp, eax
mov dword [esp + 0x78], ebp
jl 0x406634
jmp 0x407e70
push ebx
push 0x10
push 0x4507ec
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x74]
mov byte [esp + 0x89434], 2
call fcn.00440654
lea ecx, [esp + 0x10]
mov byte [esp + 0x89434], 1
call fcn.0044087c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x89434], 0
call fcn.00440654
lea ecx, [esp + 0x64]
mov dword [esp + 0x89434], 0xffffffff
call fcn.00440654
mov ecx, dword [esp + 0x8942c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x89428
ret