Function at 0x407820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42e64a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [esp + 0x128]
push ebx
push ebp
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.res_avtemotion.mif
mov dword [0x440a6c], eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00408640
mov ecx, esp
mov dword [esp + 0x18], esp
push str.res_avtpopol.mif
mov dword [0x440a70], eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00408640
mov ecx, esp
mov dword [esp + 0x18], esp
push str.res_avtpopor.mif
mov dword [0x440a60], eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00408640
mov ecx, esp
mov dword [esp + 0x18], esp
push str.res_avtmagicpopo.mif
mov dword [0x440a64], eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00408640
add esp, 4
mov ecx, 0x43f264
mov dword [0x440a68], eax
push 0x43c2f8
call sub.MFC42.DLL_CString::operator_1
mov edi, 3
xor ebp, ebp
push str._:__
mov ecx, 0x43f27c
mov dword [0x43f260], edi
mov dword [0x43f268], ebp
call sub.MFC42.DLL_CString::operator_1
mov ebx, 4
push 0x43c2ec
mov ecx, 0x43f294
mov dword [0x43f278], ebx
mov dword [0x43f280], 1
call sub.MFC42.DLL_CString::operator_1
push 0x43c2e8
mov ecx, 0x43f2ac
mov dword [0x43f290], edi
mov dword [0x43f298], 2
call sub.MFC42.DLL_CString::operator_1
push str._8__
mov ecx, 0x43f2c4
mov dword [0x43f2a8], edi
mov dword [0x43f2b0], edi
call sub.MFC42.DLL_CString::operator_1
push 0x43c2dc
mov ecx, 0x43f2dc
mov dword [0x43f2c0], ebx
mov dword [0x43f2c8], ebx
call sub.MFC42.DLL_CString::operator_1
mov esi, 5
push 0x43c2d8
mov ecx, 0x43f2f4
mov dword [0x43f2d8], edi
mov dword [0x43f2e0], esi
call sub.MFC42.DLL_CString::operator_1
push str._:_X
mov ecx, 0x43f30c
mov dword [0x43f2f0], edi
mov dword [0x43f2f8], 6
call sub.MFC42.DLL_CString::operator_1
push str._:_z
mov ecx, 0x43f324
mov dword [0x43f308], ebx
mov dword [0x43f310], 7
call sub.MFC42.DLL_CString::operator_1
mov dword [0x43f320], ebx
mov dword [0x43f328], 8
push str._:_
mov ecx, 0x43f33c
call sub.MFC42.DLL_CString::operator_1
push 0x43c2b8
mov ecx, 0x43f354
mov dword [0x43f338], ebx
mov dword [0x43f340], 9
call sub.MFC42.DLL_CString::operator_1
push 0x43c2b4
mov ecx, 0x43f36c
mov dword [0x43f350], ebx
mov dword [0x43f358], 0xa
call sub.MFC42.DLL_CString::operator_1
push 0x43c2b0
mov ecx, 0x43f384
mov dword [0x43f368], edi
mov dword [0x43f370], 0xb
call sub.MFC42.DLL_CString::operator_1
push 0x43c2ac
mov ecx, 0x43f39c
mov dword [0x43f380], edi
mov dword [0x43f388], 0xc
call sub.MFC42.DLL_CString::operator_1
push 0x43c2a8
mov ecx, 0x43f3b4
mov dword [0x43f398], edi
mov dword [0x43f3a0], 0xd
call sub.MFC42.DLL_CString::operator_1
push str.__D_
mov ecx, 0x43f3cc
mov dword [0x43f3b0], edi
mov dword [0x43f3b8], 0xe
call sub.MFC42.DLL_CString::operator_1
push str.__J_
mov ecx, 0x43f3e4
mov dword [0x43f3c8], ebx
mov dword [0x43f3d0], 0x4f
call sub.MFC42.DLL_CString::operator_1
push str.__H_
mov ecx, 0x43f3fc
mov dword [0x43f3e0], ebx
mov dword [0x43f3e8], 0x50
call sub.MFC42.DLL_CString::operator_1
push str.__M_
mov ecx, 0x43f414
mov dword [0x43f3f8], ebx
mov dword [0x43f400], 0x51
call sub.MFC42.DLL_CString::operator_1
push str.__QQ_
mov ecx, 0x43f42c
mov dword [0x43f410], ebx
mov dword [0x43f418], 0x52
call sub.MFC42.DLL_CString::operator_1
push str.__MM_
mov ecx, 0x43f444
mov dword [0x43f428], esi
mov dword [0x43f430], 0x53
call sub.MFC42.DLL_CString::operator_1
push str.__L_
mov ecx, 0x43f45c
mov dword [0x43f440], esi
mov dword [0x43f448], 0x2c
call sub.MFC42.DLL_CString::operator_1
push str.__S_
mov ecx, 0x43f474
mov dword [0x43f458], ebx
mov dword [0x43f460], 0x54
call sub.MFC42.DLL_CString::operator_1
push str.__K_
mov ecx, 0x43f48c
mov dword [0x43f470], ebx
mov dword [0x43f478], 0x2b
call sub.MFC42.DLL_CString::operator_1
push str.__T_
mov ecx, 0x43f4a4
mov dword [0x43f488], ebx
mov dword [0x43f490], 0x2a
call sub.MFC42.DLL_CString::operator_1
mov dword [0x43f4a0], ebx
mov dword [0x43f4a8], 0x27
push str.____
mov ecx, 0x43f4bc
call sub.MFC42.DLL_CString::operator_1
push str.__O_
mov ecx, 0x43f4d4
mov dword [0x43f4b8], ebx
mov dword [0x43f4c0], 0x28
call sub.MFC42.DLL_CString::operator_1
push str.___
mov ecx, 0x43f4ec
mov dword [0x43f4d0], ebx
mov dword [0x43f4d8], 0x55
call sub.MFC42.DLL_CString::operator_1
push str.__B_
mov ecx, 0x43f504
mov dword [0x43f4e8], ebx
mov dword [0x43f4f0], 0x29
call sub.MFC42.DLL_CString::operator_1
push str.__F_
mov ecx, 0x43f51c
mov dword [0x43f500], ebx
mov dword [0x43f508], 0x56
call sub.MFC42.DLL_CString::operator_1
push str.__U_
mov ecx, 0x43f534
mov dword [0x43f518], ebx
mov dword [0x43f520], 0x38
call sub.MFC42.DLL_CString::operator_1
push str.__V_
mov ecx, 0x43f54c
mov dword [0x43f530], ebx
mov dword [0x43f538], 0x57
call sub.MFC42.DLL_CString::operator_1
push str.__W_
mov ecx, 0x43f564
mov dword [0x43f548], ebx
mov dword [0x43f550], 0x33
call sub.MFC42.DLL_CString::operator_1
push str.__Y1_
mov ecx, 0x43f57c
mov dword [0x43f560], ebx
mov dword [0x43f568], 0x58
call sub.MFC42.DLL_CString::operator_1
push str.__Y2_
mov ecx, 0x43f594
mov dword [0x43f578], esi
mov dword [0x43f580], 0x3e
call sub.MFC42.DLL_CString::operator_1
push 0x43c200
mov ecx, 0x43f5ac
mov dword [0x43f590], esi
mov dword [0x43f598], 0x3f
call sub.MFC42.DLL_CString::operator_1
push 0x43c1f8
mov ecx, 0x43f5c4
mov dword [0x43f5a8], ebx
mov dword [0x43f5b0], 0x40
call sub.MFC42.DLL_CString::operator_1
push str.__X_
mov ecx, 0x43f5dc
mov dword [0x43f5c0], esi
mov dword [0x43f5c8], 0x41
call sub.MFC42.DLL_CString::operator_1
push str.__I_
mov ecx, 0x43f5f4
mov dword [0x43f5d8], ebx
mov dword [0x43f5e0], 0x42
call sub.MFC42.DLL_CString::operator_1
push str.__G_
mov ecx, 0x43f60c
mov dword [0x43f5f0], ebx
mov dword [0x43f5f8], 0x34
call sub.MFC42.DLL_CString::operator_1
push 0x43c1d8
mov ecx, 0x43f624
mov dword [0x43f608], ebx
mov dword [0x43f610], 0x44
call sub.MFC42.DLL_CString::operator_1
mov dword [0x43f620], esi
mov dword [0x43f628], 0x59
push 0x43c1d0
mov ecx, 0x43f63c
call sub.MFC42.DLL_CString::operator_1
push str.__C_
mov ecx, 0x43f654
mov dword [0x43f638], esi
mov dword [0x43f640], 0x5a
call sub.MFC42.DLL_CString::operator_1
push str.__Z_
mov ecx, 0x43f66c
mov dword [0x43f650], ebx
mov dword [0x43f658], 0x49
call sub.MFC42.DLL_CString::operator_1
push 0x43c1b8
mov ecx, 0x43f684
mov dword [0x43f668], ebx
mov dword [0x43f670], 0x5b
call sub.MFC42.DLL_CString::operator_1
push 0x43c1b0
mov ecx, 0x43f69c
mov dword [0x43f680], ebx
mov dword [0x43f688], 0x5c
call sub.MFC42.DLL_CString::operator_1
push str.__OK_
mov ecx, 0x43f6b4
mov dword [0x43f698], ebx
mov dword [0x43f6a0], 0x4a
call sub.MFC42.DLL_CString::operator_1
push str.__NO_
mov ecx, 0x43f6cc
mov dword [0x43f6b0], esi
mov dword [0x43f6b8], 0x4b
call sub.MFC42.DLL_CString::operator_1
push str.__00_
mov ecx, 0x43f6e4
mov dword [0x43f6c8], esi
mov dword [0x43f6d0], 0x4c
call sub.MFC42.DLL_CString::operator_1
push str.__11_
mov ecx, 0x43f6fc
mov dword [0x43f6e0], esi
mov dword [0x43f6e8], 0x5d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xd4]
mov dword [0x43f6f8], esi
mov dword [0x43f700], 0x5e
mov dword [0x440a74], 0x32
call fcn.0040c550
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], ebp
push ecx
call fcn.004085c0
add esp, 4
push str...Reschatemotionconfig.ini
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x13c], 1
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::CString
push ebp
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0xd8]
call fcn.0040c7e0
test al, al
je 0x408572
mov al, byte [esp + 0x13]
mov edi, str.count
mov byte [esp + 0x2c], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x44], ebp
mov esi, ecx
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x407f9c
mov edi, dword [esp + 0x30]
mov ecx, esi
mov edx, ecx
mov esi, str.count
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov cl, byte [esp + 0x13]
mov edi, str.emotion
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x130], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x407ffd
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, str.emotion
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x140], 5
call fcn.0040d620
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x408047
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40803e
cmp al, 0xff
je 0x40803e
dec al
mov byte [ecx], al
jmp 0x408047
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x408078
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40806f
cmp al, 0xff
je 0x40806f
dec al
mov byte [ecx], al
jmp 0x408078
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0x13]
xor ecx, ecx
mov byte [esp + 0x64], al
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x40]
mov byte [esp + 0x130], 6
cmp eax, ebp
mov dword [esp + 0x28], ebp
jle 0x408539
mov dword [esp + 0x14], 0x43f720
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x94]
push ecx
push str.em_d
push 0x3f
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov al, byte [esp + 0x23]
mov edi, 0x440a78
mov byte [esp + 0x84], al
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x78]
push ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40814c
mov edi, dword [esp + 0x78]
mov ecx, ebx
mov edx, ecx
mov esi, 0x440a78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov al, byte [esp + 0x13]
mov edi, str.emotion
mov byte [esp + 0x54], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x134], 7
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4081ae
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
mov esi, str.emotion
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov al, byte [esp + 0x13]
lea edi, [esp + 0x94]
mov byte [esp + 0x84], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x134], 8
mov ebx, ecx
lea ecx, [esp + 0x88]
push ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x408229
mov edi, dword [esp + 0x88]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x140], 9
call fcn.0040d730
mov ecx, dword [esp + 0x88]
cmp ecx, ebp
je 0x40827a
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x408271
cmp al, 0xff
je 0x408271
dec al
mov byte [ecx], al
jmp 0x40827a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x88], ebp
cmp ecx, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
je 0x4082b2
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4082a9
cmp al, 0xff
je 0x4082a9
dec al
mov byte [ecx], al
jmp 0x4082b2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], ebp
cmp ecx, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0x130], 6
je 0x4082e9
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4082e0
cmp al, 0xff
je 0x4082e0
dec al
mov byte [ecx], al
jmp 0x4082e9
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], ebp
cmp eax, ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
jne 0x408305
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x14]
push eax
add ecx, 0xfffffff4
call sub.MFC42.DLL_CString::operator_1
mov edi, 0x440a78
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
mov byte [esp + 0x20], dl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40836d
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
mov esi, 0x440a78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov edi, str.path
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x48]
push ebx
mov byte [esp + 0x138], 0xa
mov byte [esp + 0x4c], dl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4083d0
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov eax, ecx
mov esi, str.path
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ebx
mov byte [ecx + ebx], 0
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
mov byte [esp + 0x138], 0xb
mov byte [esp + 0x34], dl
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x408436
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x140], 0xc
call fcn.0040d730
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x408483
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40847a
cmp al, 0xff
je 0x40847a
dec al
mov byte [ecx], al
jmp 0x408483
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ebp
cmp eax, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
je 0x4084b4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4084ab
cmp al, 0xff
je 0x4084ab
dec al
mov byte [ecx], al
jmp 0x4084b4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], ebp
cmp eax, ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x130], 6
je 0x4084ed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4084e4
cmp al, 0xff
je 0x4084e4
dec al
mov byte [ecx], al
jmp 0x4084ed
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
jne 0x408506
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esi + 4], 1
inc ecx
add esi, 0x18
cmp ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
jl 0x4080c9
mov ecx, dword [esp + 0x68]
mov edx, dword [0x440a74]
add edx, eax
cmp ecx, ebp
mov dword [0x440a74], edx
je 0x408566
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x40855d
cmp al, 0xff
je 0x40855d
dec al
mov byte [ecx], al
jmp 0x408566
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd4]
mov dword [esp + 0x130], 0xffffffff
call fcn.0040c5b0
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret