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

Disassembly:
push 0xffffffffffffffff
push 0x4be9fe
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0xc18374]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xc18374]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
call fcn.0047cea0
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x188], ebx
mov dword [esp + 0x198], 1
mov dword [esp + 0x1a0], 2
cmp eax, ebx
jne 0x47e7dd
mov ecx, esi
call fcn.0047cf50
test al, al
je 0x47e7dd
lea edx, [esp + 0x68]
push str.Process_Special_case:_first_time_fw_upgrade_fail__but_PMT_update_and_backup_folder_exists___
mov edi, 1
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], str.CDLProxyImpl::DoRestore
mov dword [esp + 0x78], 0x4f1a48
mov dword [esp + 0x7c], 0x9d
call fcn.0040b750
add esp, 8
mov eax, esi
mov ecx, dword [eax + 0x54]
push 0x10
call fcn.00401090
add eax, 0x108
push eax
lea ecx, [esp + 0x100]
push ecx
call fcn.00481310
push 4
mov byte [esp + 0x1e4], 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
mov byte [esp + 0x1d4], 2
test esi, esi
je 0x47e292
cmp dword [esp + 0x110], 0x10
mov eax, dword [esp + 0xfc]
jae 0x47e266
lea eax, [esp + 0xfc]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
mov ebx, edi
push eax
mov ecx, esi
mov byte [esp + 0x1d8], 3
mov dword [esp + 0x20], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
mov esi, eax
jmp 0x47e294
xor esi, esi
test bl, 1
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov dword [esp + 0x1d4], edi
je 0x47e2bd
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47e2bd
mov edx, dword [esp + 0x38]
push edx
call ebx
add esp, 4
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push 0x4f1ecc
call edi
add esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d8], 5
call fcn.00438a30
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x1d4], 7
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47e308
mov eax, dword [esp + 0x2c]
push eax
call ebx
add esp, 4
push 0xffffffffffffffff
push 0x4f1ec4
call edi
add esp, 8
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d8], 8
call fcn.00438a30
mov edx, dword [esp + 0x30]
mov byte [esp + 0x1d4], 0xa
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47e34d
mov ecx, dword [esp + 0x30]
push ecx
call ebx
add esp, 4
mov ebp, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::setNameFilters_class_QStringList_const__]
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call ebp
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QList_class_QFileInfo____thiscall_QDir::entryInfoList_class_QStringList_const___class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
mov byte [esp + 0x1d4], 0xb
test eax, eax
je 0x47e3a8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [ecx], 0xffffffff
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [esp + 0x1c], esp
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, esi
call ebx
mov edi, eax
mov dword [esp + 0x40], eax
jmp 0x47e3ae
xor edi, edi
mov dword [esp + 0x40], edi
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x1d8], 0xa
call ebp
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1d4], 0xc
test eax, eax
je 0x47e405
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [ecx], 0xffffffff
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [esp + 0x1c], esp
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x47e40b
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, dword [edi]
mov esi, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
sub eax, dword [edx + 8]
sub ecx, dword [esi + 8]
mov byte [esp + 0x1d4], 0xa
cmp eax, ecx
je 0x47e47f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 7
call fcn.00402fc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 1
call fcn.00402fc0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x130]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.0046b8d0
mov eax, 0x213d
jmp 0x47ebd9
mov edx, dword [edx]
cmp edx, 1
je 0x47e493
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00466c10
mov eax, dword [edi]
mov edx, dword [eax + 8]
lea edi, [eax + edx*4 + 0x14]
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x47e4b2
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebx
call fcn.00466c10
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx]
mov eax, dword [ebp + 8]
lea ebp, [ebp + eax*4 + 0x14]
nop
mov eax, dword [ebx]
mov ecx, dword [eax]
cmp ecx, 1
je 0x47e4d6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.00466c10
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp ebp, eax
je 0x47e5fd
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
je 0x47e501
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00466c10
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x14]
cmp edi, eax
je 0x47e5a5
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::baseName_void_]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call ebx
mov esi, eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x1d8], 0xd
call ebx
push esi
mov ecx, eax
mov byte [esp + 0x1d8], 0xe
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
mov edx, dword [esp + 0x34]
mov bl, al
mov byte [esp + 0x1d4], 0xd
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47e56a
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x1d4], 0xa
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47e58d
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
test bl, bl
jne 0x47e599
add edi, 4
jmp 0x47e4e7
mov ebx, dword [esp + 0x18]
add ebp, 4
jmp 0x47e4c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 7
call fcn.00402fc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 1
call fcn.00402fc0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x130]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.0046b8d0
mov eax, 0x213e
jmp 0x47ebd9
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
call fcn.0047e100
mov edi, dword [eax]
mov ebp, dword [esp + 0x28]
nop
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x47e626
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebx
call fcn.00466c10
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp edi, eax
je 0x47e7a6
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::baseName_void_]
lea ecx, [esp + 0x114]
push ecx
mov ecx, eax
mov byte [esp + 0x1d8], 0xf
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_QString::toStdString_void_]
mov edx, dword [esp + 0x44]
mov byte [esp + 0x1d4], 0x11
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47e67f
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
cmp dword [esp + 0x12c], 0x10
mov eax, dword [esp + 0x118]
jae 0x47e697
lea eax, [esp + 0x118]
push eax
mov ecx, ebp
call fcn.0047d1b0
mov esi, eax
mov edx, dword [esi + 0x40]
mov dword [esp + 0x190], edx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x194], eax
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x180], ecx
mov edx, dword [esi + 0x4c]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x188], edx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::filePath_void_]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
mov byte [esp + 0x1d8], 0x12
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_QString::toStdString_void_]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x1d4], 0x13
jb 0x47e701
mov eax, dword [eax + 4]
jmp 0x47e704
add eax, 4
push eax
lea ecx, [esp + 0x1a8]
call dword [0x4dc240]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1d4], 0x12
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x1d4], 0x11
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x47e74a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
sub esp, 0x1c
lea edx, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, ebp
call fcn.0047df10
mov dword [esp + 0x19c], eax
movzx eax, word [esi + 0x50]
lea ecx, [esp + 0x130]
push ecx
mov ecx, ebp
mov dword [esp + 0x1c4], eax
call fcn.0047d200
lea ecx, [esp + 0x114]
add edi, 4
mov byte [esp + 0x1d4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x47e610
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d4], 7
call fcn.00402fc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 1
call fcn.00402fc0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x14]
mov eax, dword [edi]
test ebp, ebp
je 0x47e7fd
cmp ebp, eax
je 0x47e803
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x47ebb6
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x47e8d6
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47e824
call esi
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edi + 0x70]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x47ea8f
test ebp, ebp
jne 0x47e8de
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47e84d
call esi
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xdc]
push eax
call fcn.0047cc80
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d4], 0x15
test ebp, ebp
jne 0x47e8e6
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47e878
call esi
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
test ebp, ebp
jne 0x47e8eb
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47e898
call esi
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x30]
add esi, dword [eax + 0x28]
mov edi, dword [eax + 0x34]
adc edi, dword [eax + 0x2c]
test ebp, ebp
jne 0x47e8f0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47e8be
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x47e8f5
mov eax, dword [eax + 4]
jmp 0x47e8f8
mov eax, dword [ebp]
jmp 0x47e81d
mov eax, dword [ebp]
jmp 0x47e846
mov eax, dword [ebp]
jmp 0x47e871
mov eax, dword [ebp]
jmp 0x47e891
mov eax, dword [ebp]
jmp 0x47e8b3
add eax, 4
mov ebx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
push edi
push esi
push edx
push ecx
push eax
lea ecx, [esp + 0x74]
push str.restoring:__s___08llx__08llx______08llx
push ecx
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], str.CDLProxyImpl::DoRestore
mov dword [esp + 0x84], 0x4f1a48
mov dword [esp + 0x88], 0xe1
call fcn.0040b750
add esp, 0x24
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x47e9df
call ebx
xor eax, eax
mov esi, dword [esp + 0x4c]
cmp esi, dword [eax + 0x14]
jne 0x47e970
call ebx
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x190], edx
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x194], eax
test ebp, ebp
jne 0x47e9e4
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x47e996
call ebx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x180], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x184], edx
test ebp, ebp
jne 0x47e9e9
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x47e9bc
call ebx
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc0]
push eax
call fcn.00481340
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x1d4], 0x16
jb 0x47e9ee
mov eax, dword [eax + 4]
jmp 0x47e9f1
mov eax, dword [ebp]
jmp 0x47e965
mov eax, dword [ebp]
jmp 0x47e98f
mov eax, dword [ebp]
jmp 0x47e9b5
add eax, 4
push eax
lea ecx, [esp + 0x1a8]
call dword [0x4dc240]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test ebp, ebp
jne 0x47ea80
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x47ea23
call ebx
mov ecx, dword [esi + 8]
xor edx, edx
cmp dword [ecx + 0x40], 4
sete dl
mov dword [esp + 0x19c], edx
test ebp, ebp
jne 0x47ea85
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x47ea45
call ebx
mov eax, dword [esi + 8]
movzx ecx, word [eax + 0x44]
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x130]
mov dword [esp + 0x1c0], ecx
push edx
mov ecx, edi
call fcn.0047d200
test ebp, ebp
jne 0x47ea8a
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x47ea75
call ebx
mov ebx, dword [esi]
mov dword [esp + 0x4c], ebx
jmp 0x47e7f0
mov eax, dword [ebp]
jmp 0x47ea1c
mov eax, dword [ebp]
jmp 0x47ea3e
mov eax, dword [ebp]
jmp 0x47ea6e
test ebp, ebp
jne 0x47eb07
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47ea9e
call esi
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x88]
push eax
call fcn.0047cc80
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1d4], 0x14
test ebp, ebp
jne 0x47eb0c
call esi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47eac9
call esi
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x30]
add esi, dword [eax + 0x28]
mov edi, dword [eax + 0x34]
adc edi, dword [eax + 0x2c]
test ebp, ebp
jne 0x47eb11
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47eaef
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x18], 0x10
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
jb 0x47eb16
mov ecx, dword [ecx + 4]
jmp 0x47eb19
mov eax, dword [ebp]
jmp 0x47ea97
mov eax, dword [ebp]
jmp 0x47eac2
mov eax, dword [ebp]
jmp 0x47eae4
add ecx, 4
push edi
push esi
push eax
push edx
push ecx
lea ecx, [esp + 0x8c]
push str.check_sum_failed_before_restore:__s___08llx__08llx______08llx
push ecx
mov dword [esp + 0x94], 3
mov dword [esp + 0x98], str.CDLProxyImpl::DoRestore
mov dword [esp + 0x9c], 0x4f1a48
mov dword [esp + 0xa0], 0xd9
call fcn.0040b750
add esp, 0x1c
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test ebp, ebp
jne 0x47ebb1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp + 0x14]
jne 0x47eb89
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.0046b8d0
mov eax, 0x213b
jmp 0x47ebd9
mov ebp, dword [ebp]
jmp 0x47eb7e
mov ecx, edi
call fcn.0047cfe0
lea ecx, [esp + 0x130]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.0046b8d0
mov eax, 0x2134
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004ac9a4
add esp, 0x1c4
ret 4