Function at 0x10098c40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8772
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e4618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 8]
or esi, 0xffffffff
mov ecx, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], 0
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QJsonDocument::isEmpty_void_const]
mov ebx, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
test al, al
jne 0x1009910d
mov ecx, dword [ebp - 0x64]
add edi, 0x20
push edi
push dword [ebp - 0x44]
add ecx, 0x1c
call fcn.10067f70
push 6
push str.logXml
call ebx
add esp, 8
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.10002560
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov ecx, eax
call esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 6
push str.logXml
call ebx
add esp, 8
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.10002560
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QVariant::toByteArray_void_]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.fileType
call ebx
add esp, 8
mov dword [ebp - 0x4c], eax
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.10002560
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.filename
call ebx
add esp, 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.10002560
mov ecx, eax
call esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov eax, esp
mov ecx, 1
mov word [eax], cx
lea ecx, [ebp - 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QChar_]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 0xa
cmp esi, 1
jne 0x10098e19
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x48], esp
mov esi, esp
push 0xd
push str.Excel__.xls_
call ebx
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0xb
mov esi, esp
push 3
push 0x100c1d5c
call ebx
mov ecx, dword [ebp - 0x64]
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.10068c60
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, 1
jmp 0x10098ee8
test esi, esi
jne 0x10098e75
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x6c], esp
mov esi, esp
push 0xb
push str.TXT__.txt_
call ebx
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0xc
mov esi, esp
push 3
push 0x100c1d5c
call ebx
mov ecx, dword [ebp - 0x64]
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.10068c60
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor esi, esi
jmp 0x10098ee8
cmp esi, 2
jne 0x10098ee8
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x6c], esp
mov esi, esp
push 0x1a
push str.Excel__.xls___TXT__.txt_
call ebx
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0xd
mov esi, esp
push 3
push 0x100c1d5c
call ebx
mov ecx, dword [ebp - 0x64]
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.10068c60
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push str.TXT__.txt_
lea ecx, [ebp - 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
xor ecx, ecx
test al, al
sete cl
mov dword [ebp - 0x54], ecx
mov esi, ecx
push 1
push 0x100be7a4
call ebx
add esp, 8
mov dword [ebp - 0x54], eax
push 1
push 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_class_QStringList___thiscall_QString::split_class_QString_const___enum_QString::SplitBehavior__enum_Qt::CaseSensitivity_]
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
cmp eax, 1
je 0x10098f2d
test eax, eax
je 0x10098f2d
push dword [ecx + 4]
mov ecx, edi
call fcn.100a09a0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
add ecx, 0x10
lea eax, [ecx + eax*4]
push eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.100673d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x100bbc91
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x10098f7b
xor esi, esi
mov dword [ebp - 0x60], 1
jmp 0x100990c9
push 0x100bbc91
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x100990c6
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isNull_void_const]
test al, al
jne 0x100990c6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x13
jne 0x10098fc9
lea ecx, [ebp - 0x28]
or esi, 0xffffffff
call fcn.1000ac70
jmp 0x100990c9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x100990b7
cmp dword [ebp - 0x6c], 0
ja 0x1009900b
jb 0x100990b7
cmp dword [ebp - 0x70], 0x1000000
jb 0x100990b7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov ecx, eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::operator_char_const__void_const]
push eax
lea ecx, [ebp - 0x40]
call fcn.100020b0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
call sub.NetStream.dll_NS_ExportDeviceLog
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10002330
test esi, esi
js 0x100990bc
lea ecx, [ebp - 0x28]
call fcn.1000ac70
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor eax, eax
jmp 0x100992a0
mov esi, 0x25a
lea ecx, [ebp - 0x28]
call fcn.1000ac70
jmp 0x100990c9
or esi, 0xffffffff
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 4
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x10099132
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_void_]
mov dword [ebp - 0x4c], eax
jmp 0x10099139
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::constructor_void_]
push str.ExportDeviceLog
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0x18
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_char_const__]
push 0xb
push str.errorModule
mov byte [ebp - 4], 0x19
call ebx
add esp, 8
mov dword [ebp - 0x44], eax
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject::iterator___thiscall_QJsonObject::insert_class_QString_const___class_QJsonValue_const__]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
call ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x19
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x18
call edi
push esi
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_int_]
lea ecx, [ebp - 0x78]
call esi
push 9
push str.errorCode
mov byte [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
call ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x18
call edi
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call esi
push 3
push 0x100c20ac
mov byte [ebp - 4], 0x1d
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
call ebx
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x60]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x18
call edi
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_class_QJsonObject_const__]
mov esi, dword [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x1f
lea ecx, [esi + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonDocument____thiscall_QJsonDocument::operator_class_QJsonDocument_const__]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x18
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x84]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a3b70
mov esp, ebp
pop ebp
ret 4