Function at 0x401220
Capabilities:
Check if file exists
Get common file path
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40c067
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], ebp
push 0x410860
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c0], 1
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x1b0]
push 0x104
push eax
push 0x4100f0
push str.LocalRootFolder
push str.SoftwareRiot_GamesRADS
push 0x80000002
mov byte [esp + 0x2d4], 2
call fcn.004098f0
add esp, 0x18
lea ecx, [esp + 0x1b0]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2bc], 3
cmp dword [edx - 8], ebp
je 0x4013cb
push 0x2f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebp
jle 0x4013cb
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c0], 4
call fcn.00409a42
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2bc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
push 2
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4100c0
push eax
call edi
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4013d1
add esi, 8
push str.lol.launcher.exe
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + 4]
call fcn.00409a42
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x2d4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00409a54
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2bc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x2bc], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x401f00
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov esi, 0x40d450
mov ebx, 0xa
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2bc], 5
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2cc]
mov byte [esp + 0x2bc], 8
cmp eax, ebp
je 0x40144e
push str.Progdbsave.ini
jmp 0x401453
push str.ProgramDb.ini
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2c0], 9
call fcn.004010d0
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x50]
push str._sDesktop_s
push eax
mov byte [esp + 0x2cc], bl
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2bc], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
call fcn.00405360
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 0xb
push ecx
lea ecx, [esp + 0x8c]
call fcn.00405480
test eax, eax
jge 0x40157b
mov edi, dword [esp + 0x2c4]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.00409a54
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], 1
mov byte [esp + 0x2bc], 9
call fcn.004053c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2bc], 0xc
cmp esi, ebp
je 0x401ea3
lea eax, [esi + 8]
push 1
push eax
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x401565
jmp 0x401ea3
push 0x410860
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_1
push str.DefPath
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c0], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x64]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x2cc]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x2cc], 0xe
call fcn.00405d20
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2bc], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x2bc], 0x10
call sub.MFC42.DLL_CString::CString
push 0x410860
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_1
push str.Install_Process
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2c0], 0x12
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x78]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x2cc]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0x2cc], 0x13
call fcn.00405d20
lea ecx, [esp + 0x68]
mov byte [esp + 0x2bc], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x2bc], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x4c]
cmp dword [eax - 8], ebp
jne 0x401748
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], ebp
jne 0x401748
push 0x410860
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edi, dword [esp + 0x2c4]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.00409a54
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 1
mov byte [esp + 0x2bc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2bc], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x2bc], 9
call fcn.004053c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2bc], 0x17
cmp esi, ebp
je 0x401ea3
lea eax, [esi + 8]
push 1
push eax
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x401732
jmp 0x401ea3
push eax
lea ecx, [esp + 0x14]
push str._slol.launcher.exe
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0xc
push edx
call esi
cmp eax, 1
jne 0x401838
mov edi, dword [esp + 0x2c4]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00409a54
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 1
mov byte [esp + 0x2bc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2bc], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x2bc], 9
call fcn.004053c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 0x40d450
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2bc], 0x18
cmp esi, ebp
je 0x401ea3
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x401822
jmp 0x401ea3
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], ebp
je 0x401945
push 0x410860
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call esi
test eax, eax
je 0x401945
mov edi, dword [esp + 0x2c4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00409a54
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 1
mov byte [esp + 0x2bc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2bc], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x2bc], 9
call fcn.004053c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 0x40d450
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2bc], 0x19
cmp esi, ebp
je 0x401ea3
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x40192f
jmp 0x401ea3
push 0x410860
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push ebp
lea eax, [esp + 0xb4]
push 0x26
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x54]
mov byte [esp + 0x2bc], 0x1a
call sub.MFC42.DLL_CString::MakeLower
cmp dword [esp + 0x5c], ebp
jbe 0x401b71
xor ebx, ebx
mov eax, dword [esp + 0x5c]
mov edx, 1
mov ecx, ebx
shl edx, cl
test eax, edx
je 0x401b67
lea esi, [ebx + 0x61]
lea ecx, [esp + 0x44]
push esi
push str._c:_
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x50]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x401b67
push esi
lea eax, [esp + 0x3c]
push 0x410044
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x2c]
add esp, 0xc
cmp esi, ebp
je 0x401a0f
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x401a07
mov esi, dword [esi]
cmp esi, ebp
jne 0x4019ed
jmp 0x401a0f
cmp esi, ebp
jne 0x401a9a
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
cmp esi, ebp
jne 0x401a4f
mov edx, dword [esp + 0x34]
push 0xc
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esp + 0x34]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebp
lea eax, [eax + edx*4 - 8]
jl 0x401a86
mov esi, dword [esp + 0x2c]
inc ecx
mov dword [eax], esi
mov esi, eax
sub eax, 0xc
dec ecx
jne 0x401a41
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
push 1
mov dword [esp + 0x30], eax
mov dword [esi + 4], edi
mov dword [esi], ebp
mov edx, dword [esp + 0x2c]
lea edi, [esi + 8]
inc edx
push edi
mov dword [esp + 0x30], edx
call sub.MFC42.DLL_ConstructElements
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00409a42
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x401a8c
mov dword [eax], esi
jmp 0x401a90
mov esi, dword [esp + 0x2c]
jmp 0x401a4f
mov dword [esp + 0x20], esi
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x54]
cmp dword [edx - 8], ebp
jle 0x401ab2
mov al, bl
lea ecx, [esp + 0x54]
add al, 0x61
push eax
push ebp
call sub.MFC42.DLL_CString::SetAt
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x401adc
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 8]
push ecx
push eax
call edi
add esp, 8
test eax, eax
je 0x401ad4
mov esi, dword [esi]
cmp esi, ebp
jne 0x401aba
jmp 0x401adc
cmp esi, ebp
jne 0x401b67
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
cmp esi, ebp
jne 0x401b1c
mov edx, dword [esp + 0x34]
push 0xc
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esp + 0x34]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebp
lea eax, [eax + edx*4 - 8]
jl 0x401b53
mov esi, dword [esp + 0x2c]
inc ecx
mov dword [eax], esi
mov esi, eax
sub eax, 0xc
dec ecx
jne 0x401b0e
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
push 1
mov dword [esp + 0x30], eax
mov dword [esi + 4], edi
mov dword [esi], ebp
mov edx, dword [esp + 0x2c]
lea edi, [esi + 8]
inc edx
push edi
mov dword [esp + 0x30], edx
call sub.MFC42.DLL_ConstructElements
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00409a42
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x401b59
mov dword [eax], esi
jmp 0x401b5d
mov esi, dword [esp + 0x2c]
jmp 0x401b1c
mov dword [esp + 0x20], esi
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [esp + 0x24], esi
inc ebx
cmp ebx, 0x1a
jl 0x401993
push 0x410860
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::CString_1
push str.RegKey
lea ecx, [esp + 0x60]
mov byte [esp + 0x2c0], 0x1b
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x84]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x2cc]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0x2cc], 0x1c
call fcn.00405d20
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2bc], 0x1f
call sub.MFC42.DLL_CString::CString
mov bl, 0x1e
lea ecx, [esp + 0x84]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
push 0x410860
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_1
push str.RegValue
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c0], 0x20
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x80]
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x2cc]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x2cc], 0x21
call fcn.00405d20
lea ecx, [esp + 0x74]
mov byte [esp + 0x2bc], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x2bc], 0x23
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 8]
call fcn.00409a42
mov edx, dword [esp + 0x60]
cmp dword [edx - 8], ebp
je 0x401cba
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
mov ecx, edi
call fcn.00401f20
cmp al, 1
jne 0x401cba
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x401d8e
push 0x410860
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_1
push str.PathKey
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 0x25
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x2cc]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x2cc], 0x26
call fcn.00405d20
lea ecx, [esp + 0x50]
mov byte [esp + 0x2bc], 0x29
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2bc], 0x28
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x401d7d
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x38]
push eax
call fcn.00409a42
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, edi
call fcn.00402450
test al, al
jne 0x401d62
cmp esi, ebp
jne 0x401d36
jmp 0x401d7d
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2bc], 0x23
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
jne 0x401db3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edi, dword [esp + 0x2c4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00409a54
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], 1
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x2bc], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x2bc], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2bc], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x2bc], 9
call fcn.004053c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2bc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 0x40d450
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2bc], 0x2a
cmp esi, ebp
je 0x401ea3
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
cmp esi, ebp
jne 0x401e92
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], 0x40d43c
mov byte [esp + 0x2bc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2bc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x2bc], 0
call sub.MFC42.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b0
ret 0xc