Function at 0x451ae0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x523409
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x108]
xor ebp, ebp
push 0x104
push eax
push ebp
mov dword [esp + 0x3c], ebx
call esi
lea ecx, [esp + 0x108]
push 0x104
mov edi, 1
push ecx
push ebp
mov dword [ebx + 0x138], edi
call esi
lea edx, [esp + 0x108]
push str..._fileassoc.dat
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x214], ebp
je 0x451bb1
lea eax, [esp + 0x108]
mov dword [esi + 4], ebp
push eax
mov dword [esi + 8], edi
call fcn.004c7e79
cmp eax, ebp
mov dword [esi], eax
jne 0x451bb3
lea ecx, [esp + 0x108]
test ecx, ecx
je 0x451bb3
push 0x8007000e
call fcn.004c7dcc
jmp 0x451bb3
xor esi, esi
cmp esi, ebp
mov dword [esp + 0x214], 0xffffffff
mov dword [esp + 0x2c], esi
jne 0x451bd0
push 0x8007000e
call fcn.004c7dcc
cmp esi, ebp
mov dword [esp + 0x214], edi
je 0x451bdf
mov eax, dword [esi]
jmp 0x451be1
xor eax, eax
mov edi, dword [esp + 0x30]
push eax
lea ebp, [edi + 0x9c]
mov ecx, ebp
call fcn.00401f20
test esi, esi
mov ebx, eax
mov dword [esp + 0x214], 0xffffffff
je 0x451c1b
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x451c1b
push 1
mov ecx, esi
call fcn.00429ee0
test ebx, ebx
jne 0x451c25
mov dword [edi + 0x138], ebx
xor edi, edi
test ebx, ebx
jle 0x451ced
push edi
mov ecx, ebp
call fcn.00402e40
mov esi, eax
test esi, esi
jl 0x451ce4
xor eax, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x214], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x54]
mov byte [esp + 0x214], 3
push eax
push esi
call fcn.00476bf0
add esp, 8
test eax, eax
je 0x451cbf
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
push esi
call fcn.00476c10
add esp, 0x14
test eax, eax
je 0x451cbf
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
push edi
mov ecx, ebp
call fcn.00402e70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x214], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x214], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebx
jl 0x451c2f
mov ecx, ebp
call fcn.00402fd0
xor esi, esi
mov dword [esp + 0x38], esi
jmp 0x451d00
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov edi, 4
call sub.MFC42.DLL_CString::CString_3
mov cl, byte [esp + 0x5b]
xor eax, eax
mov byte [esp + 0x1c], cl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp esi, 5
mov dword [esp + 0x214], edi
ja case.default.0x451d34
jmp dword [esi*4 + 0x4527ec]
lea edx, [esp + 0x54]
push 0x564bd8
push edx
mov dword [esp + 0x1c], eax
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 5
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x54]
jmp 0x451e96
lea eax, [esp + 0x4c]
push 0x564d00
push eax
mov dword [esp + 0x1c], 5
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 6
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x4c]
jmp 0x451e96
lea ecx, [esp + 0x40]
push 0x564ce0
push ecx
mov dword [esp + 0x1c], 2
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 7
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x40]
jmp 0x451e96
lea edx, [esp + 0x74]
push 0x564cc0
push edx
mov dword [esp + 0x1c], 3
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 8
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x74]
jmp 0x451e96
lea eax, [esp + 0x64]
push 0x564c9c
push eax
mov dword [esp + 0x1c], edi
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 9
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x64]
jmp 0x451e96
lea ecx, [esp + 0x7c]
push 0x564c7c
push ecx
mov dword [esp + 0x1c], 1
call fcn.004d1e00
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 0xa
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x214], 4
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x138], 1
jne 0x452581
mov eax, dword [esp + 0x14]
mov ecx, edx
push eax
lea esi, [ecx + 0x9c]
mov ecx, esi
call fcn.00404c30
mov edx, dword [esp + 0x14]
mov edi, eax
push edx
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.00406c30
xor ebx, ebx
xor ebp, ebp
cmp edi, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ebp
jle 0x452583
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push ebp
push eax
lea esi, [ecx + 0x9c]
mov ecx, esi
call fcn.00404ec0
mov edx, dword [esp + 0x14]
mov edi, eax
push ebp
lea eax, [esp + 0xfc]
push edx
push eax
mov ecx, esi
call fcn.00404f40
mov eax, dword [eax + 4]
mov byte [esp + 0x214], 0xb
cmp eax, ebx
jne 0x451f28
mov eax, 0x535108
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x218], 0xd
call fcn.0040d460
mov ecx, dword [esp + 0x14]
push ebp
lea edx, [esp + 0xcc]
push ecx
push edx
mov ecx, esi
call fcn.00404cb0
mov eax, dword [eax + 4]
mov byte [esp + 0x214], 0xe
cmp eax, ebx
jne 0x451f71
mov eax, 0x535108
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x214], 0x10
cmp eax, ebx
je 0x451fab
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x451fa2
cmp al, 0xff
je 0x451fa2
dec al
mov byte [ecx], al
jmp 0x451fab
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x50]
mov byte [esp + 0x214], 0x11
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x44]
mov byte [esp + 0x214], 0x12
cmp dword [eax - 8], ebx
je 0x45252a
mov ecx, dword [esp + 0x14]
push ebp
lea edx, [esp + 0xdc]
push ecx
push edx
mov ecx, esi
call fcn.00405150
mov eax, dword [eax + 4]
mov byte [esp + 0x214], 0x13
cmp eax, ebx
jne 0x452020
mov eax, 0x535108
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x214], 0x15
cmp eax, ebx
je 0x45205a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x452051
cmp al, 0xff
je 0x452051
dec al
mov byte [ecx], al
jmp 0x45205a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0xec]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.00405340
mov eax, dword [eax + 4]
mov byte [esp + 0x214], 0x16
cmp eax, ebx
jne 0x452098
mov eax, 0x535108
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xec]
mov byte [esp + 0x214], 0x18
cmp eax, ebx
je 0x4520d2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4520c9
cmp al, 0xff
je 0x4520c9
dec al
mov byte [ecx], al
jmp 0x4520d2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, 5
cmp eax, esi
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
jne 0x4521a1
mov edx, dword [esp + 0x34]
push 0x2c
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4521c2
lea eax, [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
push 0x5623e8
push ecx
call sub.MFC42.DLL_operator
push 0x5623e8
lea edx, [esp + 0x74]
push eax
push edx
mov byte [esp + 0x220], 0x19
call sub.MFC42.DLL_operator_1
push 0x562b28
push eax
lea eax, [esp + 0x88]
mov byte [esp + 0x21c], 0x1a
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x218], 0x1b
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x80]
mov byte [esp + 0x214], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x214], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x214], 0x18
call sub.MFC42.DLL_CString::CString
jmp 0x4521c2
cmp edi, ebx
jl 0x4521c2
lea ecx, [esp + 0x50]
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
push edi
call fcn.00476c10
add esp, 0x14
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x214], 0x1c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0x1d
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x94], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x214], 0x1e
cmp eax, esi
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
mov esi, 1
je 0x45225c
mov dword [esp + 0xb4], esi
mov dword [esp + 0xbc], esi
lea edx, [esp + 0x44]
lea ecx, [esp + 0x88]
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x60]
lea ecx, [esp + 0x8c]
push eax
mov dword [esp + 0xa8], edi
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebp
jne 0x4522c4
cmp eax, ebx
mov dword [esp + 0xa8], esi
jne 0x4522cb
mov dword [esp + 0xc0], esi
jmp 0x4522e1
mov dword [esp + 0xa8], ebx
cmp eax, 2
je 0x4522da
cmp eax, 3
je 0x4522da
cmp eax, 4
jne 0x4522e1
mov dword [esp + 0xc4], esi
mov edx, dword [esp + 0x34]
push edx
call fcn.00420920
add esp, 4
cmp eax, ebx
jne 0x452331
mov eax, dword [esp + 0x50]
push eax
call fcn.00420920
add esp, 4
cmp eax, ebx
jne 0x452331
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00420920
add esp, 4
cmp eax, ebx
jne 0x452331
call sub.MFC42.DLL_AfxGetModuleState
push 0xc0
push 0xe
push 0xc0
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], eax
sub edx, ecx
mov eax, 0x78787879
mov esi, ecx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x452434
lea ecx, [esp + 0x1c]
call fcn.004543d0
cmp eax, 1
jbe 0x452379
lea ecx, [esp + 0x1c]
call fcn.004543d0
mov edi, eax
jmp 0x45237e
mov edi, 1
lea ecx, [esp + 0x1c]
call fcn.004543d0
mov ebp, eax
add ebp, edi
mov eax, ebp
jns 0x452391
xor eax, eax
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push edi
push esi
push edx
call fcn.00454760
mov ebx, eax
lea eax, [esp + 0x84]
push eax
push 1
push ebx
lea ecx, [esp + 0x28]
call fcn.004547a0
mov ecx, dword [esp + 0x24]
add ebx, 0x44
push ebx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00454760
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00454470
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, ebp
add esp, 4
shl edx, 4
add edx, ebp
lea ecx, [esp + 0x1c]
lea eax, [edi + edx*4]
mov dword [esp + 0x28], eax
call fcn.004543d0
inc eax
mov ebp, dword [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x20], edi
shl ecx, 4
add ecx, eax
xor ebx, ebx
lea edx, [edi + ecx*4]
mov dword [esp + 0x24], edx
jmp 0x4524cc
xor al, al
cmp al, 1
jae 0x452494
lea edx, [ecx + 0x44]
push edx
push ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.00454760
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x84]
mov ecx, edi
push eax
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 0x20]
sub eax, edx
push eax
push edi
call fcn.004547a0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x84]
push ecx
push edx
push esi
call fcn.00454840
add esp, 0xc
jmp 0x4524c7
push ecx
push ecx
add ecx, 0xffffffbc
push ecx
lea ecx, [esp + 0x28]
call fcn.00454760
mov eax, dword [esp + 0x24]
push eax
add eax, 0xffffffbc
push eax
push esi
call fcn.004548f0
lea eax, [esp + 0x90]
lea ecx, [esi + 0x44]
push eax
push ecx
push esi
call fcn.00454840
add esp, 0x18
add dword [esp + 0x24], 0x44
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov byte [esp + 0x214], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x214], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x214], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x214], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x214], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x214], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x214], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x3c], ebp
jl 0x451ee6
jmp 0x452583
xor ebx, ebx
mov edx, dword [esp + 0x30]
mov eax, 0x92492493
mov ecx, dword [edx + 0x148]
mov ebp, dword [edx + 0x14c]
lea esi, [edx + 0x140]
sub ebp, ecx
imul ebp
add edx, ebp
mov edi, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x45268a
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4525dc
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
mov ebp, edx
ja 0x4525e1
mov ebp, 1
mov ecx, esi
call fcn.00454440
mov ebx, eax
add ebx, ebp
mov eax, ebx
jns 0x4525f2
xor eax, eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.004547d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.00454810
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
add edx, 0x1c
mov ecx, esi
push edx
push eax
push edi
call fcn.004547d0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004544a0
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
lea eax, [ebx*8]
add esp, 4
sub eax, ebx
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.00454440
inc eax
mov dword [esi + 4], ebp
lea edx, [eax*8]
sub edx, eax
xor ebx, ebx
lea eax, [ebp + edx*4]
mov dword [esi + 8], eax
jmp 0x452727
mov ebp, ecx
mov eax, 0x92492493
sub ebp, edi
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4526f6
lea edx, [edi + 0x1c]
push edx
push ecx
push edi
mov ecx, esi
call fcn.004547d0
mov ebp, dword [esi + 8]
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push ebp
call fcn.00454810
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.004549b0
add esp, 0xc
jmp 0x452723
push ecx
push ecx
add ecx, 0xffffffe4
push ecx
mov ecx, esi
call fcn.004547d0
mov eax, dword [esi + 8]
push eax
add eax, 0xffffffe4
push eax
push edi
call fcn.00454c50
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x1c]
push eax
push ecx
push edi
call fcn.004549b0
add esp, 0x18
add dword [esi + 8], 0x1c
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x214], 0x21
mov dword [esp + 0x2c], esi
je 0x452781
lea ecx, [esi + 0xc]
mov byte [esp + 0x214], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x214], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x214], 0x21
call sub.MFC42.DLL_CString::CString
add esi, 0x44
cmp esi, edi
mov dword [esp + 0x2c], esi
jne 0x452742
mov esi, dword [esp + 0x20]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x214], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 6
mov dword [esp + 0x38], eax
jl 0x451cfc
mov edx, dword [esp + 0x30]
mov ecx, 0x5719a8
mov eax, dword [edx + 0x20]
push eax
call fcn.00474fb0
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x208
ret