Function at 0x10098330
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8657
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
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 - 0x7c], edi
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
push 4
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x60], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1009839b
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_void_]
mov dword [ebp - 0xac], eax
jmp 0x100983a5
mov dword [ebp - 0xac], 0
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
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 0x100988f5
mov ecx, dword [ebp - 0x7c]
add edi, 0x20
push edi
push dword [ebp - 0x70]
lea ecx, [ecx + 0x1c]
call fcn.10067f70
push 0xb
push str.downloadUrl
call ebx
add esp, 8
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.10002560
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QVariant::toByteArray_void_]
mov ecx, eax
call esi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 4
push str.auth
call ebx
add esp, 8
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.10002560
mov ecx, eax
call esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 6
push str.decode
call ebx
add esp, 8
mov dword [ebp - 0x68], eax
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.10002560
mov esi, dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov ecx, eax
call esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 6
push str.method
call ebx
add esp, 8
mov dword [ebp - 0x68], eax
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.10002560
mov ecx, eax
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
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 - 0x68], eax
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.10002560
mov ecx, eax
call esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
mov esi, eax
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 - 0x70], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.10002560
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0x100bbc91
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x100985b2
lea eax, [ebp - 0x78]
cmp esi, 1
push eax
push ecx
mov dword [ebp - 0x5c], esp
mov esi, esp
jne 0x100985a1
push 0xd
push str.Excel__.xls_
call ebx
mov dword [esi], eax
mov byte [ebp - 4], 0xe
add esp, 4
mov esi, esp
push 3
push 0x100c1d5c
call ebx
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xd
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.10068c60
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
jmp 0x10098622
push 1
push 0x100c1ff0
call ebx
mov dword [esi], eax
mov byte [ebp - 4], 0xf
jmp 0x1009856a
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push 0x100c1d5c
push eax
call fcn.1000fb70
add esp, 0xc
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x10
push eax
push ecx
cmp esi, 1
mov esi, esp
jne 0x100985e0
push 0xd
push str.Excel__.xls_
jmp 0x100985e7
push 1
push 0x100c1ff0
call ebx
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.10068c60
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x74]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov ecx, eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::operator_char_const__void_const]
mov edx, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x10098661
xor ecx, ecx
jmp 0x1009866f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10098666
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100040e0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 1
cmovae edi, dword [ebp - 0x28]
push 0x100be7a4
call ebx
add esp, 8
mov dword [ebp - 0x68], eax
push 1
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.Qt5Core.dll_public:_class_QStringList___thiscall_QString::split_class_QString_const___enum_QString::SplitBehavior__enum_Qt::CaseSensitivity_]
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0x15
mov eax, dword [ecx]
cmp eax, 1
je 0x100986d6
test eax, eax
je 0x100986d6
push dword [ecx + 4]
mov ecx, esi
call fcn.100a09a0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
add ecx, 0x10
lea eax, [ecx + eax*4]
push eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
call fcn.100673d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x18
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x100bbc91
lea ecx, [ebp - 0x64]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x10098724
xor esi, esi
mov dword [ebp - 0x60], 1
jmp 0x10098888
push 0x100bbc91
lea ecx, [ebp - 0x80]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x10098885
lea ecx, [ebp - 0x80]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isNull_void_const]
test al, al
jne 0x10098885
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x80]
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 - 0x48], 0
mov byte [ebp - 4], 0x19
jne 0x10098772
lea ecx, [ebp - 0x58]
or esi, 0xffffffff
call fcn.1000ac70
jmp 0x10098888
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
lea ecx, [ebp - 0xc8]
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push esi
mov ecx, eax
mov byte [ebp - 4], 0x1a
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___void_const__]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10098876
cmp dword [ebp - 0x68], 0
ja 0x100987ef
jb 0x10098876
cmp dword [ebp - 0x6c], 0x1000000
jb 0x10098876
push edi
lea ecx, [ebp - 0x90]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
call sub.NetStream.dll_NS_ExportDeviceConfig
mov esi, eax
test esi, esi
js 0x1009887b
lea ecx, [ebp - 0x58]
call fcn.1000ac70
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x28]
call fcn.10002330
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
xor eax, eax
jmp 0x10098c17
mov esi, 0xfffffffe
lea ecx, [ebp - 0x58]
call fcn.1000ac70
jmp 0x10098888
or esi, 0xffffffff
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [ebp - 0x14], 0x10
jb 0x100988a6
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x88]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::constructor_void_]
push str.ExportDeviceConfig
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_char_const__]
push 0xb
push str.errorModule
mov byte [ebp - 4], 0x1c
call ebx
add esp, 8
mov dword [ebp - 0x70], eax
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject::iterator___thiscall_QJsonObject::insert_class_QString_const___class_QJsonValue_const__]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
push esi
lea ecx, [ebp - 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_int_]
push 9
push str.errorCode
mov byte [ebp - 4], 0x1e
call ebx
add esp, 8
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
push dword [ebp - 0x60]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_int_]
push 3
push 0x100c20ac
mov byte [ebp - 4], 0x20
call ebx
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call edi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x20
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
cmp esi, 0xffffffff
jne 0x10098a8a
call sub.NetStream.dll_NS_GetLastError
push eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_int_]
push 0xc
push str.subErrorCode
mov byte [ebp - 4], 0x22
call ebx
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call edi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x22
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
push 0
push 0x100bbc91
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.100040e0
push 0x19000
mov byte [ebp - 4], 0x24
call fcn.100a3a0c
push 0x19000
mov edi, eax
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0x10
push 0x19000
push edi
call sub.NetStream.dll_NS_GetHTTPErrorInfo
test eax, eax
jne 0x10098afa
cmp byte [edi], al
jne 0x10098ae2
xor ecx, ecx
jmp 0x10098af0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10098ae7
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.100040e0
test edi, edi
je 0x10098b07
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
call sub.NetStream.dll_NS_GetLastError
cmp eax, 0x28
je 0x10098b16
cmp esi, 0xfffffffe
jne 0x10098b25
push 0
push 0x100bbc91
lea ecx, [ebp - 0x40]
call fcn.100040e0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x25
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::constructor_class_QString_const__]
push 9
push str.errorInfo
mov byte [ebp - 4], 0x26
call ebx
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject::iterator___thiscall_QJsonObject::insert_class_QString_const___class_QJsonValue_const__]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x26
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x25
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_class_QJsonObject_const__]
mov esi, dword [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0x28
lea ecx, [esi + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonDocument____thiscall_QJsonDocument::operator_class_QJsonDocument_const__]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0xac]
mov dword [esi], eax
cmp dword [ebp - 0x2c], 0x10
jb 0x10098bf0
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
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