Function at 0x101d43f0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10216da4
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea esi, [edi + 0x30]
mov ebx, 0x10
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], edi
cmp dword [esi + 0x14], ebx
jb 0x101d4444
mov eax, dword [esi]
jmp 0x101d4446
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x101d447c
test al, 1
je 0x101d446e
cmp dword [esi + 0x14], ebx
jb 0x101d445f
mov ecx, dword [esi]
jmp 0x101d4461
mov ecx, esi
and eax, 0xfffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esi + 0x14], ebx
jb 0x101d4475
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
cmp byte [edi + 7], 1
mov dword [ebp - 4], esi
je 0x101d4490
cmp dword [edi + 0xb4], 1
jne 0x101d44a3
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
mov dword [edi + 0xb8], 2
call edx
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x110], esi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x294], 0x10224110
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x284]
mov ebx, 4
push eax
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], bl
mov dword [ebp - 0x11c], 1
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 5
mov dword [ebp + edx - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], 2
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1d4], 0x10224108
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push esi
push esi
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x11c], 3
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], 9
mov dword [ebp + edx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x190], ebx
mov ecx, dword [edi + 0x88]
sub ecx, dword [edi + 0x84]
lea ebx, [edi + 0x84]
mov eax, 0x3ee4f99d
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], eax
mov word [ebp - 0x124], 0x86
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
jmp 0x101d4600
cmp esi, eax
jae 0x101d4cc6
push 0
push 0x1021c9c8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.10003320
test byte [ebp - 0x190], 1
mov byte [ebp - 4], 0xc
je 0x101d4653
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
push edi
push edi
push edi
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], edi
mov edx, dword [ebp - 0x1ac]
mov dword [edx], edi
mov eax, dword [ebp - 0x19c]
mov dword [eax], edi
and dword [ebp - 0x190], 0xfffffffe
cmp dword [ebp - 0xa4], 0x10
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x194], edi
jae 0x101d469e
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0xa8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10021010
cmp dword [ebp - 0xa4], 0x10
mov byte [ebp - 4], 0xb
jb 0x101d46d4
mov eax, dword [ebp - 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x1d4]
imul esi, esi, 0x824
mov eax, dword [ecx + 4]
lea eax, [ebp + eax - 0x1d4]
mov dword [eax + 0x20], 8
mov dword [eax + 0x24], edi
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0x1d4]
mov byte [eax + 0x40], 0x30
mov eax, dword [ebx]
movzx ecx, word [esi + eax + 4]
push ecx
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x134], esi
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x1d4]
call fcn.10024530
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x101d4742
mov ebx, dword [eax]
jmp 0x101d4744
mov ebx, eax
cmp ebx, edi
jne 0x101d474c
xor edi, edi
jmp 0x101d479e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x101d479a
lea eax, [edi + edi]
call fcn.10204370
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x101d4794
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
mov word [esi], ax
mov eax, 3
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x134]
jmp 0x101d479c
mov esi, dword [ebp - 0x134]
xor eax, eax
mov edi, eax
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ecx + 0xac]
test ebx, ebx
jne 0x101d47b8
push 0x80004003
call fcn.10204be0
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x101d47ca
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [ebp - 0x130]
push edx
push 0
push 0
push 0x1011
mov dword [ebp - 0x130], 0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
push edi
push ebx
call eax
push eax
call fcn.101d3dc0
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov byte [ebp - 4], 0xb
jb 0x101d4812
mov ecx, dword [ebp - 0xb8]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
mov ecx, dword [esi + eax + 0x814]
sub ecx, dword [esi + eax + 0x810]
lea eax, [esi + eax + 0x810]
sar ecx, 2
xor ebx, ebx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], ebx
cmp ebx, ecx
jae 0x101d4ca3
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x134]
add eax, dword [ecx]
mov dx, word [ebp - 0x124]
mov cx, word [eax + 4]
mov word [ebp - 0x9c], cx
mov word [ebp - 0x9a], bx
mov word [ebp - 0x98], dx
mov eax, dword [eax + 0x810]
mov esi, dword [eax + ebx*4]
mov ecx, 0x20
lea edi, [ebp - 0x96]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1d4]
mov ecx, dword [ecx + 4]
xor esi, esi
push esi
push esi
lea ecx, [ebp + ecx - 0x1d4]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push esi
push 0x1021c9c8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0xb8], 0
call fcn.10003320
test byte [ebp - 0x190], 1
mov byte [ebp - 4], 0xe
je 0x101d48ec
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
push esi
push esi
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [ebp - 0x1bc]
mov dword [eax], esi
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], esi
mov edx, dword [ebp - 0x19c]
mov dword [edx], esi
and dword [ebp - 0x190], 0xfffffffe
mov eax, dword [ebp - 0xb8]
mov edi, 0x10
mov dword [ebp - 0x194], esi
cmp dword [ebp - 0xa4], edi
jae 0x101d4939
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0xa8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10021010
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa4], edi
jb 0x101d496e
mov eax, dword [ebp - 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ecx + 4]
lea eax, [ebp + eax - 0x1d4]
mov dword [eax + 0x20], 8
mov dword [eax + 0x24], esi
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0x1d4]
push ebx
lea ecx, [ebp - 0x1d4]
mov byte [eax + 0x40], 0x30
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov eax, dword [ebp - 0x130]
cmp eax, esi
jne 0x101d49bd
push 0x80004003
call fcn.10204be0
mov ebx, eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.10024530
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x101d49df
mov edi, dword [eax]
jmp 0x101d49e1
mov edi, eax
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 0x10
test esi, esi
je 0x101d4a13
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10204c80
mov dword [esi], eax
jmp 0x101d4a15
xor esi, esi
xor edi, edi
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x114], esi
cmp esi, edi
jne 0x101d4a2f
push 0x8007000e
call fcn.10204be0
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 0x11
cmp eax, edi
je 0x101d4a45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x110]
push ecx
push edi
push edi
mov dword [ebp - 0x110], edi
mov edx, dword [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push 0x1011
push edx
push ebx
call eax
push eax
call fcn.101d3dc0
add esp, 4
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x101d4aa1
mov eax, dword [esi]
cmp eax, edi
je 0x101d4a88
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x101d4a98
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 0x10
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa4], esi
jb 0x101d4ac1
mov edx, dword [ebp - 0xb8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x110]
cmp eax, edi
jne 0x101d4ad5
push 0x80004003
call fcn.10204be0
mov ecx, dword [eax]
lea edx, [ebp - 0x120]
push edx
push 0x86
lea edx, [ebp - 0x9c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
push eax
call fcn.101d3dc0
add esp, 4
cmp dword [ebp - 0x120], 0x86
je 0x101d4c8c
mov ecx, dword [ebp - 0x1d4]
mov ecx, dword [ecx + 4]
push edi
push edi
lea ecx, [ebp + ecx - 0x1d4]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push edi
push 0x1021c9c8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], edi
mov byte [ebp - 0xb8], 0
call fcn.10003320
test byte [ebp - 0x190], 1
mov byte [ebp - 4], 0x12
je 0x101d4b67
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
push edi
push edi
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [ebp - 0x1bc]
mov dword [eax], edi
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], edi
mov edx, dword [ebp - 0x19c]
mov dword [edx], edi
and dword [ebp - 0x190], 0xfffffffe
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x194], edi
cmp dword [ebp - 0xa4], esi
jae 0x101d4baf
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0xa8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10021010
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa4], esi
jb 0x101d4be4
mov eax, dword [ebp - 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x12c]
mov esi, dword [ecx]
add esi, dword [ebp - 0x134]
lea edx, [ebp - 0x1d4]
push str.QMSL_QcnFile::writeToDiskImpl_____Tried_to_write_NV_Item:_
push edx
call fcn.100210c0
movzx ecx, word [esi + 4]
add esp, 8
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push str._but_was_only_able_to_write
push eax
call fcn.100210c0
mov edx, dword [ebp - 0x120]
add esp, 8
push edx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push str._out_of_134_bytes
push eax
call fcn.100210c0
add esp, 8
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x114], esp
push eax
lea ecx, [ebp - 0x1d4]
call fcn.10024530
lea ecx, [ebp - 0x2a0]
call fcn.101d2a00
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x1043be98
lea ecx, [ebp - 0x1f0]
push ecx
mov dword [ebp - method.QMSL_QcnFile::Exception.virtual_0], vtable.QMSL_QcnFile::Exception.0
call sub.MSVCR100.dll__CxxThrowException
inc dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x13c]
jmp 0x101d4840
inc dword [ebp - 0x11c]
mov esi, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x118]
jmp 0x101d4600
cmp byte [edi + 5], 1
jne 0x101d5025
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x78]
lea eax, [eax + ecx + 0xc]
push eax
mov dword [ebp - 0x128], eax
call fcn.10203b14
mov edi, dword [ebp - 0x118]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 0x78]
mov esi, eax
mov eax, dword [edi + 0x5c]
mov dword [esi], edx
mov cx, word [edi + 8]
mov word [esi + 4], cx
mov dl, byte [edi + 0x10]
mov byte [esi + 6], dl
mov cl, byte [edi + 0x11]
mov byte [esi + 7], cl
mov word [esi + 8], ax
mov ecx, dword [edi + 0x5c]
lea eax, [edi + 0x4c]
add esp, 4
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x138], esi
jb 0x101d4d2e
mov eax, dword [eax]
push ecx
push eax
lea edx, [esi + 0xa]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [edi + 0x5c]
mov word [eax + esi + 0xa], bx
mov edx, dword [edi + 0x78]
lea ecx, [edi + 0x68]
add esp, 0xc
add eax, 0xc
cmp dword [ecx + 0x14], 0x10
jb 0x101d4d55
mov ecx, dword [ecx]
push edx
push ecx
add eax, esi
push eax
call sub.MSVCR100.dll_memcpy
mov ebx, dword [edi + 0xac]
add esp, 0xc
mov byte [ebp - 4], 0x14
test ebx, ebx
jne 0x101d4d7a
push 0x80004003
call fcn.10204be0
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [ebp - 0x114], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x101d4db0
push str.Mobile_Property_Info
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10204c80
mov dword [edi], eax
jmp 0x101d4db2
xor edi, edi
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x114], edi
test edi, edi
jne 0x101d4dca
push 0x8007000e
call fcn.10204be0
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x101d4de0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
mov dword [ebp - 0x110], 0
mov edx, dword [edi]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push 0x1011
push edx
push ebx
call eax
push eax
call fcn.101d3dc0
add esp, 4
lea ecx, [edi + 8]
push ecx
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor ebx, ebx
cmp eax, ebx
jne 0x101d4e48
mov eax, dword [edi]
cmp eax, ebx
je 0x101d4e2f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x101d4e3f
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x110]
cmp eax, ebx
jne 0x101d4e5c
push 0x80004003
call fcn.10204be0
mov edi, dword [ebp - 0x128]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x120]
push ecx
push edi
push esi
push eax
call edx
push eax
call fcn.101d3dc0
add esp, 4
push esi
mov dword [ebp - 4], 0xb
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0x120], edi
je 0x101d5025
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x1d4]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push ebx
push 0x1021c9c8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
call fcn.10003320
test byte [ebp - 0x190], 1
mov byte [ebp - 4], 0x18
je 0x101d4ef5
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ecx]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov edx, dword [ebp - 0x1bc]
mov dword [edx], ebx
mov eax, dword [ebp - 0x1ac]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], ebx
and dword [ebp - 0x190], 0xfffffffe
mov eax, dword [ebp - 0xb8]
mov esi, 0x10
mov dword [ebp - 0x194], ebx
cmp dword [ebp - 0xa4], esi
jae 0x101d4f42
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0xa8]
push edx
push ecx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10021010
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa4], esi
jb 0x101d4f77
mov edx, dword [ebp - 0xb8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp - 0x1d4]
push str.QMSL_QcnFile::writeToDiskImpl_____Tried_to_write_the_Mobile_Property_Info_but
push eax
call fcn.100210c0
add esp, 8
push str._was_only_able_to_write
push eax
call fcn.100210c0
mov ecx, dword [ebp - 0x120]
add esp, 8
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push str._out_of
push eax
call fcn.100210c0
add esp, 8
push edi
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x114], esp
push edx
lea ecx, [ebp - 0x1d4]
call fcn.10024530
lea ecx, [ebp - 0x2a0]
call fcn.101d2a00
push eax
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x19
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x1043be98
lea eax, [ebp - 0x1e4]
push eax
mov dword [ebp - method.QMSL_QcnFile::Exception.virtual_0], vtable.QMSL_QcnFile::Exception.0
call sub.MSVCR100.dll__CxxThrowException
mov ecx, dword [ebp - 0x138]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0
push 0
call sub.MSVCR100.dll__CxxThrowException
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push eax
push edx
lea edx, [ebp - 0x114]
push edx
call fcn.101d3cc0
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x184]
mov dword [ebp - 0x114], eax
mov dword [ebp + edx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea eax, [ebp - 0x1d0]
mov edi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x1d0], edi
test byte [ebp - 0x190], 1
mov byte [ebp - 4], 0x1b
je 0x101d5093
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ecx]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor esi, esi
push esi
push esi
push esi
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov edx, dword [ebp - 0x1bc]
mov dword [edx], esi
mov eax, dword [ebp - 0x1ac]
mov dword [eax], esi
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], esi
mov ebx, 0xfffffffe
and dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x194], esi
mov byte [ebp - 4], 0x1a
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0x1d4], ecx
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x114], edx
mov dword [ebp + ecx - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea edx, [ebp - 0x284]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x284], edi
test byte [ebp - 0x244], 1
mov byte [ebp - 4], 0x1d
je 0x101d5153
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
push esi
push esi
lea ecx, [ebp - 0x284]
call dword [sym.imp.MSVCP100.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov ecx, dword [ebp - 0x270]
mov dword [ecx], esi
mov edx, dword [ebp - 0x260]
mov dword [edx], esi
mov eax, dword [ebp - 0x250]
mov dword [eax], esi
and dword [ebp - 0x244], ebx
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 0x1c
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
mov dword [ebp + edx - 0x294], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x101d51d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x101d51e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0
cmp eax, esi
je 0x101d51fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esp, [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret