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

Disassembly:
push 0xffffffffffffffff
push 0x100e88c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
mov eax, dword [edi]
cmp dword [eax + 8], 0
mov dword [esp + 0x5c], 0
je 0x10037ac8
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_void_const]
test al, al
je 0x10037ac8
add edi, 4
mov ecx, edi
call fcn.100374a0
mov esi, dword [0x100eb538]
push 0xffffffffffffffff
push str.status.plist
call esi
add esp, 8
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
mov edx, dword [esp + 0x10]
mov ebp, dword [0x100eb564]
mov bl, al
mov byte [esp + 0x5c], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100377e7
mov ecx, dword [esp + 0x10]
push ecx
call ebp
add esp, 4
test bl, bl
je 0x10037ac8
push 0xffffffffffffffff
push str.status.plist
call esi
add esp, 8
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absoluteFilePath_class_QString_const__]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x5c], 5
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10037844
mov eax, dword [esp + 0x2c]
push eax
call ebp
add esp, 4
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x5c], 6
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10037860
mov eax, dword [esp + 0x18]
push eax
call ebp
add esp, 4
push ecx
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], esp
mov dword [eax], 1
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
test al, al
je 0x10037ab9
lea ecx, [esp + 0x28]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], ebx
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov byte [esp + 0x68], 7
call sub.libplist.dll_plist_from_bin
mov eax, dword [esp + 0x30]
push str.Backups
push eax
call sub.libplist.dll_plist_dict_get_item
mov esi, eax
push esi
mov dword [esp + 0x50], esi
call sub.libplist.dll_plist_array_get_size
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebx
jle 0x10037a8c
jmp 0x100378e4
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push ecx
push esi
call sub.libplist.dll_plist_array_get_item
mov esi, eax
push str.BackupId
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.1006c370
push str.CurrentSize
push esi
mov byte [esp + 0x78], 8
call fcn.1006c420
push str.TotalSize
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
call fcn.1006c420
mov ebx, edx
add esp, 0x24
mov ebp, eax
or eax, ebx
je 0x10037a59
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.10037660
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [eax], edx
lea edx, [esp + 0x10]
mov dword [eax + 4], ecx
push edx
mov ecx, edi
call fcn.10037660
mov dword [eax + 8], ebp
push str.Types
mov dword [eax + 0xc], ebx
lea eax, [esp + 0x20]
push esi
push eax
call fcn.1006c370
add esp, 8
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x64], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [esp + 0x34]
push eax
call fcn.10036c60
add esp, 8
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov byte [esp + 0x64], 0xa
call fcn.10037660
mov ecx, eax
add ecx, 0x10
call fcn.10004de0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x5c], 9
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x100379d4
mov ecx, dword [esp + 0x30]
push fcn.1006bbf0
call dword [0x100eb548]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.10037660
mov ecx, dword [eax + 0x10]
add eax, 0x10
cmp dword [ecx + 0xc], 0
jne 0x10037a39
lea edx, [esp + 0x34]
push edx
call sym.cloudaccess.dll_public:_static_class_QSet_int____cdecl_CloudAccess::getAllDataTypes_void_
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x64], 0xb
call fcn.10037660
mov ecx, eax
add ecx, 0x10
call fcn.10004de0
mov eax, dword [esp + 0x34]
mov byte [esp + 0x5c], 9
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037a39
mov ecx, dword [esp + 0x34]
push fcn.1006bbf0
call dword [0x100eb548]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x5c], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10037a59
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x100eb564]
add esp, 4
mov edx, dword [esp + 0x10]
mov byte [esp + 0x5c], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10037a79
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x100eb564]
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jl 0x100378e0
mov edx, dword [esp + 0x24]
push edx
call sub.libplist.dll_plist_free
mov eax, dword [esp + 0x2c]
add esp, 4
mov byte [esp + 0x5c], 6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037ab9
mov edx, dword [esp + 0x28]
push edx
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5c], 0
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret