Function at 0x48e0e0
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b84a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [ebp + 4]
call sub.CLRenderNewEngine.dll_public:_void___thiscall_CxImage::Release_void_
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x84]
push edi
xor esi, esi
push str.otherexpopo__d.mif
push eax
mov dword [esp + 0x140], esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0xa0], edi
push esi
push esi
push esi
push str.data_otherex_emotion.mif
call sub.CLRenderNewEngine.dll_public:_bool___thiscall_CxImage::CreateImageFromFile_char_const___struct_IDisplay::_SELECT_PARA___unsigned_int__unsigned_long_int__
test al, al
jne 0x48e160
push str.fail_creat_emotion_tga
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4d09ac
lea ecx, [ebp + 0xac]
mov dword [ebp + 0x9c], esi
call sub.MFC42.DLL_CString::operator_1
mov edi, 3
push str._:__
mov dword [ebp + 0xa8], edi
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xb0], esi
call sub.MFC42.DLL_CString::operator_1
mov ebx, 4
push 0x4d09a0
mov dword [ebp + 0xc0], ebx
lea ecx, [ebp + 0xdc]
mov dword [ebp + 0xc8], 1
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0xd8], edi
push 0x4d099c
lea ecx, [ebp + 0xf4]
mov dword [ebp + 0xe0], 2
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0xf0], edi
push str._8__
lea ecx, [ebp + 0x10c]
mov dword [ebp + 0xf8], edi
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x108], ebx
push 0x4d0990
lea ecx, [ebp + 0x124]
mov dword [ebp + 0x110], ebx
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x120], edi
mov edi, 5
push 0x4d098c
lea ecx, [ebp + 0x13c]
mov dword [ebp + 0x128], edi
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x138], 3
push str._:_X
lea ecx, [ebp + 0x154]
mov dword [ebp + 0x140], 6
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x150], ebx
push str._:_z
lea ecx, [ebp + 0x16c]
mov dword [ebp + 0x158], 7
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x168], ebx
push str._:_
lea ecx, [ebp + 0x184]
mov dword [ebp + 0x170], 8
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x180], ebx
push 0x4d096c
lea ecx, [ebp + 0x19c]
mov dword [ebp + 0x188], 9
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x198], ebx
push 0x4d0968
lea ecx, [ebp + 0x1b4]
mov dword [ebp + 0x1a0], 0xa
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x1b0], 3
push 0x4d0964
lea ecx, [ebp + 0x1cc]
mov dword [ebp + 0x1b8], 0xb
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x1c8], 3
push 0x4d0960
lea ecx, [ebp + 0x1e4]
mov dword [ebp + 0x1d0], 0xc
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x1e0], 3
push 0x4d095c
lea ecx, [ebp + 0x1fc]
mov dword [ebp + 0x1e8], 0xd
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x1f8], 3
mov dword [ebp + 0x200], 0xe
push str.__D_
lea ecx, [ebp + 0x214]
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x210], ebx
push str.__J_
lea ecx, [ebp + 0x22c]
mov dword [ebp + 0x218], 0x4f
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x228], ebx
push str.__H_
lea ecx, [ebp + 0x244]
mov dword [ebp + 0x230], 0x50
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x240], ebx
push str.__M_
lea ecx, [ebp + 0x25c]
mov dword [ebp + 0x248], 0x51
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x258], ebx
push str.__QQ_
lea ecx, [ebp + 0x274]
mov dword [ebp + 0x260], 0x52
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x270], edi
push str.__MM_
lea ecx, [ebp + 0x28c]
mov dword [ebp + 0x278], 0x53
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x288], edi
push str.__L_
lea ecx, [ebp + 0x2a4]
mov dword [ebp + 0x290], 0x2c
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x2a0], ebx
push str.__S_
lea ecx, [ebp + 0x2bc]
mov dword [ebp + 0x2a8], 0x54
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x2b8], ebx
push str.__K_
lea ecx, [ebp + 0x2d4]
mov dword [ebp + 0x2c0], 0x2b
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x2d0], ebx
push str.__T_
lea ecx, [ebp + 0x2ec]
mov dword [ebp + 0x2d8], 0x2a
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x2e8], ebx
push str.____
lea ecx, [ebp + 0x304]
mov dword [ebp + 0x2f0], 0x27
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x300], ebx
push str.__O_
lea ecx, [ebp + 0x31c]
mov dword [ebp + 0x308], 0x28
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x318], ebx
push 0x4d08f4
lea ecx, [ebp + 0x334]
mov dword [ebp + 0x320], 0x55
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x330], ebx
push str.__B_
lea ecx, [ebp + 0x34c]
mov dword [ebp + 0x338], 0x29
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x348], ebx
push str.__F_
lea ecx, [ebp + 0x364]
mov dword [ebp + 0x350], 0x56
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x360], ebx
push str.__U_
lea ecx, [ebp + 0x37c]
mov dword [ebp + 0x368], 0x38
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x378], ebx
push str.__V_
lea ecx, [ebp + 0x394]
mov dword [ebp + 0x380], 0x57
call sub.MFC42.DLL_CString::operator_1
push 0x4d08cc
lea ecx, [ebp + 0x3ac]
mov dword [ebp + 0x390], ebx
mov dword [ebp + 0x398], 0x33
call sub.MFC42.DLL_CString::operator_1
push str.__Y1_
lea ecx, [ebp + 0x3c4]
mov dword [ebp + 0x3a8], ebx
mov dword [ebp + 0x3b0], 0x58
call sub.MFC42.DLL_CString::operator_1
push str.__Y2_
lea ecx, [ebp + 0x3dc]
mov dword [ebp + 0x3c0], edi
mov dword [ebp + 0x3c8], 0x3e
call sub.MFC42.DLL_CString::operator_1
push 0x4d08b4
lea ecx, [ebp + 0x3f4]
mov dword [ebp + 0x3d8], edi
mov dword [ebp + 0x3e0], 0x3f
call sub.MFC42.DLL_CString::operator_1
push 0x4d08ac
lea ecx, [ebp + 0x40c]
mov dword [ebp + 0x3f0], ebx
mov dword [ebp + 0x3f8], 0x40
call sub.MFC42.DLL_CString::operator_1
push str.__X_
lea ecx, [ebp + 0x424]
mov dword [ebp + 0x408], edi
mov dword [ebp + 0x410], 0x41
call sub.MFC42.DLL_CString::operator_1
push str.__I_
lea ecx, [ebp + 0x43c]
mov dword [ebp + 0x420], ebx
mov dword [ebp + 0x428], 0x42
call sub.MFC42.DLL_CString::operator_1
push str.__G_
lea ecx, [ebp + 0x454]
mov dword [ebp + 0x438], ebx
mov dword [ebp + 0x440], 0x34
call sub.MFC42.DLL_CString::operator_1
push 0x4d088c
lea ecx, [ebp + 0x46c]
mov dword [ebp + 0x450], ebx
mov dword [ebp + 0x458], 0x44
call sub.MFC42.DLL_CString::operator_1
push 0x4d0884
lea ecx, [ebp + 0x484]
mov dword [ebp + 0x468], edi
mov dword [ebp + 0x470], 0x59
call sub.MFC42.DLL_CString::operator_1
push str.__C_
lea ecx, [ebp + 0x49c]
mov dword [ebp + 0x480], edi
mov dword [ebp + 0x488], 0x5a
call sub.MFC42.DLL_CString::operator_1
push str.__Z_
lea ecx, [ebp + 0x4b4]
mov dword [ebp + 0x498], ebx
mov dword [ebp + 0x4a0], 0x49
call sub.MFC42.DLL_CString::operator_1
push 0x4d086c
lea ecx, [ebp + 0x4cc]
mov dword [ebp + 0x4b0], ebx
mov dword [ebp + 0x4b8], 0x5b
call sub.MFC42.DLL_CString::operator_1
push 0x4d0864
lea ecx, [ebp + 0x4e4]
mov dword [ebp + 0x4c8], ebx
mov dword [ebp + 0x4d0], 0x5c
call sub.MFC42.DLL_CString::operator_1
push str.__OK_
lea ecx, [ebp + 0x4fc]
mov dword [ebp + 0x4e0], ebx
mov dword [ebp + 0x4e8], 0x4a
call sub.MFC42.DLL_CString::operator_1
push str.__NO_
lea ecx, [ebp + 0x514]
mov dword [ebp + 0x4f8], edi
mov dword [ebp + 0x500], 0x4b
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x510], edi
push str.__00_
lea ecx, [ebp + 0x52c]
mov dword [ebp + 0x518], 0x4c
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x528], edi
push str.__11_
lea ecx, [ebp + 0x544]
mov dword [ebp + 0x530], 0x5d
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp + 0x540], edi
mov dword [ebp + 0x548], 0x5e
lea ecx, [esp + 0xd8]
mov dword [ebp + 0xa4], 0x32
call fcn.00488fe0
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 1
push ecx
call fcn.004ac51f
add esp, 4
push str...Reschatemotionconfig.ini
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], bl
call fcn.004ab42e
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0xdc]
call fcn.00489270
test al, al
je 0x48ee6b
mov cl, byte [esp + 0x13]
mov edi, str.count
mov byte [esp + 0x28], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], esi
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 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 0x48e897
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, ecx
mov esi, str.count
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x13]
mov edi, str.emotion
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x138], 5
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 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 0x48e8fc
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
mov esi, str.emotion
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
xor esi, esi
mov byte [eax + ebx], 0
lea ecx, [esp + 0x38]
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x144], 6
call fcn.0048a020
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x48e946
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48e93d
cmp al, 0xff
je 0x48e93d
dec al
mov byte [ecx], al
jmp 0x48e946
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x48e977
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48e96e
cmp al, 0xff
je 0x48e96e
dec al
mov byte [ecx], al
jmp 0x48e977
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov cl, byte [esp + 0x13]
mov dword [esp + 0x90], esi
mov byte [esp + 0x88], cl
xor ecx, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x38]
mov byte [esp + 0x134], 7
cmp eax, esi
mov dword [esp + 0x3c], esi
jle 0x48ee29
lea edx, [ebp + 0x568]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x98]
push eax
push str.em_d
push 0x3f
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, 0x4d8eb4
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
push 1
not ecx
dec ecx
mov byte [esp + 0x68], dl
mov ebx, ecx
lea ecx, [esp + 0x68]
push ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 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 0x48ea35
mov edi, dword [esp + 0x68]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4d8eb4
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 + 0x68]
mov dword [esp + 0x6c], ebx
xor esi, esi
mov byte [ecx + ebx], 0
mov edi, str.emotion
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 + 0x13c], 8
mov byte [esp + 0x4c], dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 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 0x48ea9a
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov eax, ecx
mov esi, str.emotion
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
xor esi, esi
mov byte [ecx + ebx], 0
lea edi, [esp + 0x98]
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 + 0x18]
push ebx
mov byte [esp + 0x13c], 9
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 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 0x48eb03
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x98]
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 + 0x18]
mov dword [esp + 0x1c], ebx
xor esi, esi
mov byte [ecx + ebx], 0
lea edx, [esp + 0x64]
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x144], 0xa
call fcn.0048a130
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x48eb53
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48eb4a
cmp al, 0xff
je 0x48eb4a
dec al
mov byte [ecx], al
jmp 0x48eb53
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], esi
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x48eb84
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48eb7b
cmp al, 0xff
je 0x48eb7b
dec al
mov byte [ecx], al
jmp 0x48eb84
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], esi
cmp eax, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x134], 7
je 0x48ebbd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ebb4
cmp al, 0xff
je 0x48ebb4
dec al
mov byte [ecx], al
jmp 0x48ebbd
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x68], esi
cmp eax, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jne 0x48ebd9
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]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
call sub.MFC42.DLL_CString::operator_1
mov cl, byte [esp + 0x13]
mov edi, 0x4d8eb4
mov byte [esp + 0x28], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], esi
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 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 0x48ec43
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4d8eb4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x13]
mov edi, str.path
mov byte [esp + 0x74], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x138], 0xb
mov ebx, ecx
lea ecx, [esp + 0x78]
push ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 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 0x48ecb1
mov edi, dword [esp + 0x78]
mov ecx, ebx
mov edx, ecx
mov esi, str.path
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x98]
mov byte [esp + 0x54], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x138], 0xc
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 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 0x48ed1a
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], ebx
xor esi, esi
mov byte [eax + ebx], 0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x144], 0xd
call fcn.0048a130
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x48ed6a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ed61
cmp al, 0xff
je 0x48ed61
dec al
mov byte [ecx], al
jmp 0x48ed6a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], esi
cmp eax, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
je 0x48ed9b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ed92
cmp al, 0xff
je 0x48ed92
dec al
mov byte [ecx], al
jmp 0x48ed9b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], esi
cmp eax, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov byte [esp + 0x134], 7
je 0x48edd7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48edce
cmp al, 0xff
je 0x48edce
dec al
mov byte [ecx], al
jmp 0x48edd7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], esi
cmp eax, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
jne 0x48edf3
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 edi, dword [esp + 0x24]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], 1
inc ecx
add edi, 0x18
cmp ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edi
jl 0x48e9bb
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp + 0xa4]
add edx, eax
cmp ecx, esi
mov dword [ebp + 0xa4], edx
je 0x48ee56
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x48ee4d
cmp al, 0xff
je 0x48ee4d
dec al
mov byte [ecx], al
jmp 0x48ee56
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 1
call fcn.004ab42e
lea ecx, [esp + 0xd8]
mov byte [esp + 0x134], 0
call fcn.00489040
lea ecx, [esp + 0x84]
mov dword [esp + 0x134], 0xffffffff
call fcn.004ab42e
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4