Function at 0x40ca60
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x412d06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20c]
mov ebx, ecx
push edi
mov dword [esp + 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40cb52
mov eax, dword [esp + 0x210]
xor ebp, ebp
cmp eax, ebp
je 0x40cb52
mov dword [ebx + 0x454], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x204], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x204], 2
call fcn.0040e9b0
lea eax, [esp + 0x3c]
push eax
push 0x419628
push 0x17
push ebp
push 0x419618
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x40cb27
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebp
jl 0x40cb19
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push ecx
push 0x419608
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp esi, ebp
jge 0x40cb6f
lea ecx, [esp + 0x38]
call fcn.0040e9b0
lea ecx, [esp + 0x48]
call fcn.0040e9b0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebp
je 0x40cb52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1f8
ret 8
push edi
mov word [esp + 0xb4], 8
call fcn.004112bd
cmp eax, ebp
mov dword [esp + 0xb8], eax
jne 0x40cb98
cmp edi, ebp
je 0x40cb98
push 0x8007000e
call fcn.00411210
mov eax, dword [esp + 0x40]
mov byte [esp + 0x204], 3
cmp eax, ebp
jne 0x40cbb6
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0xb0]
lea ecx, [esp + 0x10]
push ecx
mov edx, dword [eax]
sub esp, 0x10
mov esi, eax
mov ecx, esp
push eax
mov dword [ecx], edi
mov edi, dword [esp + 0xcc]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0xd0]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0xd4]
mov dword [ecx + 0xc], edi
call dword [edx + 0xe8]
cmp eax, ebp
jge 0x40cc02
push 0x419608
push esi
push eax
call fcn.0041121e
lea edx, [esp + 0xb0]
mov byte [esp + 0x204], 2
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40cc22
push eax
call fcn.00411210
mov eax, dword [esp + 0x48]
cmp eax, ebp
je 0x40cc30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ebp
cmp eax, ebp
jne 0x40cc4a
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [edx + 0xb4]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40cc66
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
cmp eax, ebp
jne 0x40cc80
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x30]
mov eax, dword [esp + 0x38]
cmp eax, ebp
jne 0x40cca1
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x9c]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x9c]
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x94], esi
jle 0x40e617
mov eax, dword [esp + 0x38]
mov byte [esp + 0x204], 4
cmp eax, ebp
mov dword [esp + 0x2c], ebp
jne 0x40cce9
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push esi
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x40cd0b
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0xc4]
push edx
push eax
call dword [ecx + 0x28]
cmp dword [esp + 0xc4], 1
jne 0x40e5ea
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x204], 0xa
cmp eax, ebp
jne 0x40cd62
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.0040e780
mov edi, eax
cmp edi, ebp
je 0x40e576
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x40cd9f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x40cdb9
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x30]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x40cdda
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
call dword [ecx + 0x20]
lea eax, [edi + edi*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x50], ebx
mov dword [ebx - 0x18], edi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40ce00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jne 0x40ce1a
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x208], 0xb
je 0x40ce54
push str.Name
mov ecx, eax
call fcn.0040e6c0
jmp 0x40ce56
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x208], 0xa
mov dword [esi], eax
jne 0x40ce6e
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xec]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0xa
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xe8]
cmp eax, ebp
je 0x40ceab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x14], ebp
jne 0x40cebb
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb0]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [ebx - 0x14]
push eax
mov byte [esp + 0x208], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xb0]
mov byte [esp + 0x204], 0xa
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40cf00
push eax
call fcn.00411210
mov ebp, dword [esp + 0x50]
push 0x419cf0
lea ebx, [ebp - 0x10]
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
add ebp, 0xc
push 0x419cf0
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x208], 0xe
je 0x40cf51
push str.Limit
mov ecx, eax
call fcn.0040e6c0
jmp 0x40cf53
xor eax, eax
test eax, eax
mov byte [esp + 0x208], 0xa
mov dword [esi], eax
jne 0x40cf6b
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0xa
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xf0]
xor esi, esi
cmp eax, esi
je 0x40cfaa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
cmp ecx, esi
jne 0x40cfc3
push 0x419cf0
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
jmp 0x40e185
lea edx, [esp + 0xfc]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0x208], 0x10
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xfc]
mov byte [esp + 0x204], 0x12
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x40d005
push eax
call fcn.00411210
mov edx, dword [esp + 0x58]
push 0x4195f0
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40d02d
push 0x41957c
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
jmp 0x40e174
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov eax, edi
mov byte [esp + 0x204], 0x13
dec eax
je 0x40dcde
dec eax
je 0x40d8f6
sub eax, 8
je 0x40d8f6
push 0x2c
lea ecx, [esp + 0x5c]
xor edi, edi
xor esi, esi
call sub.MFC42.DLL_CString::Find
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x44], ebx
jl 0x40d497
mov eax, ebx
lea ecx, [esp + 0xf8]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x208], 0x27
call fcn.0040996c
lea ecx, [esp + 0xf8]
mov byte [esp + 0x204], 0x13
call fcn.004096fc
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 0x419288
push eax
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp eax, ecx
jg 0x40d497
cmp eax, edi
je 0x40d497
xor ebp, ebp
cmp ecx, edi
jle 0x40d47a
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x40d0fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
cmp eax, edi
jne 0x40d117
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
call dword [edx + 0x1c]
cmp dword [esp + 0x10], edi
jne 0x40d133
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
call fcn.0040e7d0
mov eax, dword [eax]
cmp eax, edi
je 0x40d14e
mov eax, dword [eax]
jmp 0x40d150
xor eax, eax
push str.Item
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
sete bl
cmp ecx, edi
je 0x40d17b
call fcn.0040e700
mov dword [esp + 0x8c], edi
test bl, bl
je 0x40d2b6
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40d191
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edi
cmp eax, edi
jne 0x40d1ab
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x208], 0x28
je 0x40d1e5
push str.Support
mov ecx, eax
call fcn.0040e6c0
jmp 0x40d1e7
xor eax, eax
cmp eax, edi
mov byte [esp + 0x208], 0x13
mov dword [esi], eax
jne 0x40d1ff
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xec]
cmp eax, edi
je 0x40d23c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x14], edi
jne 0x40d24c
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x208], 0x2a
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x11c]
mov byte [esp + 0x204], 0x13
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, edi
jge 0x40d292
push eax
call fcn.00411210
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x64]
push edx
push 0x419288
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp ecx, eax
je 0x40d2c8
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x40d0ef
jmp 0x40d476
cmp dword [esp + 0x10], edi
jne 0x40d2d8
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1bc]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x208], 0x2b
call sub.MFC42.DLL_CString::CString_2
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x208], 0x2c
lea esi, [ebx - 0x10]
mov ecx, esi
call fcn.004099e4
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0x2b
call fcn.004096fc
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x1bc]
push edx
mov byte [esp + 0x208], 0x13
call ebp
cmp eax, edi
jge 0x40d355
push eax
call fcn.00411210
push 0x4195d8
mov ecx, esi
call sub.MFC42.DLL_CString::operator
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x208], 0x2d
je 0x40d390
push str.Value
mov ecx, eax
call fcn.0040e6c0
jmp 0x40d392
xor eax, eax
cmp eax, edi
mov byte [esp + 0x208], 0x13
mov dword [esi], eax
jne 0x40d3aa
push 0x8007000e
call fcn.00411210
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040e9c0
mov eax, dword [esp + 0xcc]
cmp eax, edi
je 0x40d3e7
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [esp + 0x14], edi
jne 0x40d3f7
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x13c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x2f
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x80]
lea esi, [ebx + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x208], 0x30
call fcn.004099e4
lea ecx, [esp + 0x80]
mov byte [esp + 0x204], 0x2f
call fcn.004096fc
lea eax, [esp + 0x13c]
mov byte [esp + 0x204], 0x13
push eax
call ebp
cmp eax, edi
jge 0x40d46a
push eax
call fcn.00411210
push 0x419384
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov ebx, dword [esp + 0x44]
lea esi, [ebx + 1]
lea ecx, [esp + 0x58]
push esi
push 0x2c
call sub.MFC42.DLL_CString::Find_3
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x44], ebx
jge 0x40d074
lea ecx, [esp + 0xe4]
push esi
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x208], 0x31
call fcn.0040996c
lea ecx, [esp + 0xe4]
mov byte [esp + 0x204], 0x13
call fcn.004096fc
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 0x419288
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp eax, ecx
jg 0x40e163
test eax, eax
je 0x40e163
xor ebp, ebp
test ecx, ecx
jle 0x40e163
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x40d51d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x40d537
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
call dword [edx + 0x1c]
cmp dword [esp + 0x10], esi
jne 0x40d553
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa4]
push edx
call fcn.0040e7d0
mov eax, dword [eax]
cmp eax, esi
je 0x40d56e
mov eax, dword [eax]
jmp 0x40d570
xor eax, eax
push str.Item
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [esp + 0xac]
add esp, 8
test eax, eax
sete bl
cmp ecx, esi
je 0x40d59b
call fcn.0040e700
mov dword [esp + 0xa4], esi
test bl, bl
je 0x40d6ff
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40d5b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], esi
cmp eax, esi
jne 0x40d5cb
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x2c], esp
mov edi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x208], 0x32
je 0x40d62c
push str.Support
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004112bd
test eax, eax
mov dword [esi], eax
jne 0x40d62e
mov edx, str.Support
test edx, edx
je 0x40d62e
push 0x8007000e
call fcn.00411210
jmp 0x40d62e
xor esi, esi
test esi, esi
mov byte [esp + 0x208], 0x13
mov dword [edi], esi
jne 0x40d646
push 0x8007000e
call fcn.00411210
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040e9c0
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x40d683
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40d695
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x19c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x34
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x19c]
mov byte [esp + 0x204], 0x13
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x40d6db
push eax
call fcn.00411210
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push eax
push 0x419288
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp edx, eax
je 0x40d711
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x40d50d
jmp 0x40e163
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d723
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x15c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x35
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_2
mov ebx, dword [esp + 0x50]
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x208], 0x36
lea ecx, [ebx - 0x10]
call fcn.004099e4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x204], 0x35
call fcn.004096fc
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x15c]
push eax
mov byte [esp + 0x208], 0x13
call ebp
test eax, eax
jge 0x40d798
push eax
call fcn.00411210
push ecx
mov dword [esp + 0x2c], esp
mov edi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x208], 0x37
je 0x40d7ee
push str.Value
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004112bd
test eax, eax
mov dword [esi], eax
jne 0x40d7f0
mov ecx, str.Value
test ecx, ecx
je 0x40d7f0
push 0x8007000e
call fcn.00411210
jmp 0x40d7f0
xor esi, esi
test esi, esi
mov byte [esp + 0x208], 0x13
mov dword [edi], esi
jne 0x40d808
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xf8]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
cmp esi, eax
mov byte [esp + 0x204], 0x39
je 0x40d851
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040e9f0
test esi, esi
je 0x40d851
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x204], 0x13
test eax, eax
je 0x40d86a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40d87c
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1dc]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x98]
push eax
mov byte [esp + 0x208], 0x3a
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x98]
mov byte [esp + 0x204], 0x3b
push ecx
lea ecx, [ebx + 0xc]
call fcn.004099e4
lea ecx, [esp + 0x98]
mov byte [esp + 0x204], 0x3a
call fcn.004096fc
lea edx, [esp + 0x1dc]
mov byte [esp + 0x204], 0x13
push edx
call ebp
test eax, eax
jge 0x40e163
push eax
call fcn.00411210
jmp 0x40e163
push 0x419cf0
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
push 0x419cf0
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x34]
xor ebp, ebp
cmp eax, esi
jle 0x40dcba
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40d92a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x40d944
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
call dword [edx + 0x1c]
cmp dword [esp + 0x10], esi
jne 0x40d960
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x88]
push edx
call fcn.0040e7d0
mov eax, dword [eax]
cmp eax, esi
je 0x40d97b
mov eax, dword [eax]
jmp 0x40d97d
xor eax, eax
push str.Item
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [esp + 0x90]
add esp, 8
test eax, eax
sete bl
cmp ecx, esi
je 0x40d9a8
call fcn.0040e700
mov dword [esp + 0x88], esi
test bl, bl
je 0x40dcad
cmp dword [esp + 0x10], esi
jne 0x40d9c0
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x17c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x1d
push ecx
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x50]
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x208], 0x1e
lea esi, [edi - 0x10]
mov ecx, esi
call fcn.004099e4
lea ecx, [esp + 0xa8]
mov byte [esp + 0x204], 0x1d
call fcn.004096fc
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x17c]
push eax
mov byte [esp + 0x208], 0x13
call ebx
test eax, eax
jge 0x40da3d
push eax
call fcn.00411210
push 0x4195d8
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40da57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x40da75
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x208], 0x1f
je 0x40daaf
push str.Limit
mov ecx, eax
call fcn.0040e6c0
jmp 0x40dab1
xor eax, eax
test eax, eax
mov byte [esp + 0x208], 0x13
mov dword [esi], eax
jne 0x40dac9
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x40db06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40db18
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10c]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x90]
push eax
mov byte [esp + 0x208], 0x21
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x90]
add edi, 0xc
push ecx
mov ecx, edi
mov byte [esp + 0x208], 0x22
call fcn.004099e4
lea ecx, [esp + 0x90]
mov byte [esp + 0x204], 0x21
call fcn.004096fc
lea edx, [esp + 0x10c]
mov byte [esp + 0x204], 0x13
push edx
call ebx
test eax, eax
jge 0x40db8b
push eax
call fcn.00411210
push 0x4195d8
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x208], 0x23
je 0x40dbc6
push str.Value
mov ecx, eax
call fcn.0040e6c0
jmp 0x40dbc8
xor eax, eax
test eax, eax
mov byte [esp + 0x208], 0x13
mov dword [esi], eax
jne 0x40dbe0
push 0x8007000e
call fcn.00411210
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x20c], 0x13
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040e9c0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x40dc1d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40dc2f
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x12c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x25
push ecx
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0xa0]
mov ecx, edi
push edx
mov byte [esp + 0x208], 0x26
call fcn.004099e4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x204], 0x25
call fcn.004096fc
lea eax, [esp + 0x12c]
mov byte [esp + 0x204], 0x13
push eax
call ebx
test eax, eax
jge 0x40dc9f
push eax
call fcn.00411210
push 0x419384
mov ecx, edi
call sub.MFC42.DLL_CString::operator
xor esi, esi
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x40d91c
mov esi, dword [esp + 0x50]
mov edx, dword [esi - 0x10]
lea ecx, [esi - 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
call sub.MFC42.DLL_CString::GetBufferSetLength
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
mov eax, dword [eax - 8]
dec eax
push eax
jmp 0x40e15e
mov edi, dword [esp + 0x74]
push 0x4195bc
lea ebp, [edi + 0x18]
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
add edi, 0x34
push 0x419384
mov ecx, edi
mov dword [esp + 0x6c], edi
call sub.MFC42.DLL_CString::operator_1
push 0x4193d4
mov ecx, ebp
call sub.MFC42.DLL_CString::Find_1
mov ebx, eax
push 0x7c
mov ecx, edi
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::Find
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x44], esi
jle 0x40e10b
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40dd41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x40dd5b
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push eax
call dword [edx + 0x1c]
cmp dword [esp + 0x10], esi
jne 0x40dd7b
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x78]
push edx
call fcn.0040e7d0
mov eax, dword [eax]
cmp eax, esi
je 0x40dd93
mov eax, dword [eax]
jmp 0x40dd95
xor eax, eax
push str.Item
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov ecx, dword [esp + 0x80]
add esp, 8
test eax, eax
sete bl
cmp ecx, esi
je 0x40ddbd
call fcn.0040e700
mov dword [esp + 0x78], esi
test bl, bl
je 0x40e0ee
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x54]
mov byte [esp + 0x204], 0x14
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10]
mov byte [esp + 0x204], 0x15
cmp eax, esi
jne 0x40ddf9
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14c]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x16
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x14c]
mov byte [esp + 0x204], 0x15
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x40de3f
push eax
call fcn.00411210
push 0x4195d8
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40de5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], esi
cmp eax, esi
jne 0x40de75
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x74], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
mov byte [esp + 0x208], 0x17
je 0x40deaf
push str.Value
mov ecx, eax
call fcn.0040e6c0
jmp 0x40deb1
xor eax, eax
test eax, eax
mov byte [esp + 0x208], 0x15
mov dword [esi], eax
jne 0x40dec9
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x15
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x40df06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40df18
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x16c]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x208], 0x19
call sub.MFC42.DLL_CString::operator_2
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x16c]
push ecx
mov byte [esp + 0x208], 0x15
call edi
test eax, eax
jge 0x40df60
push eax
call fcn.00411210
push 0x4195d8
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::operator
push ecx
mov dword [esp + 0x60], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x208], 0x1a
je 0x40df9d
push str.Limit
mov ecx, eax
call fcn.0040e6c0
jmp 0x40df9f
xor eax, eax
test eax, eax
mov byte [esp + 0x208], 0x15
mov dword [esi], eax
jne 0x40dfb7
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x15
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
call fcn.0040e9c0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x40dff4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40e006
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18c]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x208], 0x1c
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18c]
mov byte [esp + 0x204], 0x15
push ecx
call edi
test eax, eax
jge 0x40e048
push eax
call fcn.00411210
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push 0x419288
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x3c]
add esp, 0xc
dec eax
je 0x40e08e
dec eax
jne 0x40e0ca
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call fcn.004099e4
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x54]
push edx
call fcn.004099e4
jmp 0x40e0ca
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
push eax
push esi
mov ecx, ebp
call sub.MFC42.DLL_CString::Insert
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push edx
mov edi, dword [ecx - 8]
mov ecx, dword [esp + 0x6c]
add esi, edi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x2c]
push esi
call sub.MFC42.DLL_CString::Insert
mov eax, dword [esp + 0x54]
add esi, dword [eax - 8]
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x204], 0x14
call fcn.004096fc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0x13
call fcn.004096fc
xor esi, esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x40dd33
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp]
cmp byte [ebx + ecx - 1], 0x2c
jne 0x40e120
dec ebx
push 1
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CString::Delete
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x2c
jne 0x40e136
dec ecx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::GetBufferSetLength
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
cmp byte [edx + eax - 1], 0x2c
jne 0x40e14e
dec eax
push 1
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Delete
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x2c
jne 0x40e163
dec ecx
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::GetBufferSetLength
lea ecx, [esp + 0x20]
mov byte [esp + 0x204], 0x12
call fcn.004096fc
lea ecx, [esp + 0x58]
mov byte [esp + 0x204], 0xa
call fcn.004096fc
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov byte [esp + 0x204], 0x3c
lea esi, [eax - 1]
cmp esi, ebp
jl 0x40e558
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40e1bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jne 0x40e1d5
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
call dword [edx + 0x1c]
cmp dword [esp + 0x10], ebp
jne 0x40e1f1
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x84]
push edx
call fcn.0040e7d0
mov eax, dword [eax]
cmp eax, ebp
je 0x40e20c
mov eax, dword [eax]
jmp 0x40e20e
xor eax, eax
push str.Solve
push eax
call edi
mov ecx, dword [esp + 0x8c]
add esp, 8
test eax, eax
sete bl
cmp ecx, ebp
je 0x40e235
call fcn.0040e700
mov dword [esp + 0x84], ebp
test bl, bl
jne 0x40e245
dec esi
jns 0x40e1ad
jmp 0x40e558
cmp dword [esp + 0x10], ebp
jne 0x40e255
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1ac]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x50]
push ecx
mov byte [esp + 0x208], 0x3d
lea ecx, [ebx - 4]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x1ac]
mov byte [esp + 0x204], 0x3c
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40e29e
push eax
call fcn.00411210
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40e2ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jne 0x40e2c6
push 0x80004003
call fcn.00411210
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x44]
push ecx
mov dword [esp + 0x60], esp
mov edi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
cmp esi, ebp
mov byte [esp + 0x208], 0x3e
je 0x40e323
push str.Type
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.004112bd
cmp eax, ebp
mov dword [esi], eax
jne 0x40e325
mov edx, str.Type
test edx, edx
je 0x40e325
push 0x8007000e
call fcn.00411210
jmp 0x40e325
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x208], 0x3c
mov dword [edi], esi
jne 0x40e33d
push 0x8007000e
call fcn.00411210
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x20c], 0x3c
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
cmp esi, eax
mov byte [esp + 0x204], 0x40
je 0x40e386
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040e9f0
cmp esi, ebp
je 0x40e386
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x204], 0x3c
cmp eax, ebp
je 0x40e39f
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [esp + 0x14], ebp
jne 0x40e3af
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1cc]
push eax
call fcn.0040e870
mov ecx, dword [eax + 8]
mov byte [esp + 0x204], 0x41
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x1cc]
mov byte [esp + 0x204], 0x3c
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40e3f5
push eax
call fcn.00411210
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.Link
push eax
call esi
add esp, 8
test eax, eax
jne 0x40e53e
push ecx
mov dword [ebx], 1
mov dword [esp + 0x60], esp
mov edi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
cmp esi, ebp
mov byte [esp + 0x208], 0x42
je 0x40e46a
push str.Link
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.004112bd
cmp eax, ebp
mov dword [esi], eax
jne 0x40e46c
mov ecx, str.Link
test ecx, ecx
je 0x40e46c
push 0x8007000e
call fcn.00411210
jmp 0x40e46c
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x208], 0x3c
mov dword [edi], esi
jne 0x40e484
push 0x8007000e
call fcn.00411210
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x20c], 0x3c
call fcn.0040e990
mov ecx, eax
call fcn.0040e8d0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
cmp esi, eax
mov byte [esp + 0x204], 0x44
je 0x40e4ce
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x40e4c4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp esi, ebp
je 0x40e4ce
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x204], 0x3c
cmp eax, ebp
je 0x40e4e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x14], ebp
jne 0x40e4f7
push 0x80004003
call fcn.00411210
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1ec]
push edx
call fcn.0040e870
mov eax, dword [eax + 8]
lea ecx, [ebx + 4]
push eax
mov byte [esp + 0x208], 0x45
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x204], 0x3c
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40e558
push eax
call fcn.00411210
jmp 0x40e558
mov edx, dword [esp + 0x3c]
push str.LinkButton
push edx
call esi
add esp, 8
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
mov dword [ebx], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x204], 0xa
call fcn.004096fc
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x74]
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov byte [esp + 0x204], 9
cmp eax, ebp
je 0x40e58c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x204], 8
cmp eax, ebp
je 0x40e5a2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x204], 7
cmp eax, ebp
je 0x40e5b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x204], 6
cmp eax, ebp
je 0x40e5ce
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x60]
mov byte [esp + 0x204], 4
call fcn.004096fc
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x204], 2
cmp eax, ebp
je 0x40e600
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x9c]
inc esi
cmp esi, eax
mov dword [esp + 0x94], esi
jl 0x40ccc7
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x2e0], 1
cmp eax, ebp
mov byte [esp + 0x204], 1
je 0x40e637
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x48]
mov byte [esp + 0x204], 0
cmp eax, ebp
je 0x40e64d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebp
je 0x40e666
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
jmp 0x40cb54