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

Disassembly:
push 0xffffffffffffffff
push 0x100e8926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
mov eax, dword [esi]
cmp dword [eax + 8], 0
mov dword [esp + 0x78], 0
je 0x10037fac
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_void_const]
test al, al
je 0x10037fac
call sub.libplist.dll_plist_new_dict
mov edi, eax
mov dword [esp + 0x48], edi
call sub.libplist.dll_plist_new_array
push eax
push str.Backups
push edi
mov dword [esp + 0x58], eax
call sub.libplist.dll_plist_dict_set_item
add esp, 0xc
lea ecx, [esp + 0x18]
add esi, 4
push ecx
mov ecx, esi
mov dword [esp + 0x28], esi
call fcn.10036360
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x80], 1
call fcn.100088e0
add esp, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x78], 3
test eax, eax
je 0x10037bd8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037bd8
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov edi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.10005300
mov ecx, dword [edi]
test ecx, ecx
jne 0x10037bd8
push edi
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, eax
inc eax
mov dword [esp + 0x64], eax
test edx, edx
jne 0x10037bf5
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
je 0x10037bf5
mov bl, 1
jmp 0x10037bf7
xor bl, bl
test byte [esp + 0x10], 2
je 0x10037c43
mov eax, dword [esp + 0x30]
and dword [esp + 0x10], 0xfffffffd
test eax, eax
je 0x10037c43
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037c43
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov edi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.10005300
mov ecx, dword [edi]
test ecx, ecx
jne 0x10037c43
push edi
call dword [0x100eb558]
add esp, 4
test bl, bl
je 0x10037e5e
test byte [esp + 0x10], 4
mov edx, dword [esp + 0x68]
mov dword [esp + 0x1c], edx
je 0x10037ca0
mov eax, dword [esp + 0x34]
and dword [esp + 0x10], 0xfffffffb
test eax, eax
je 0x10037ca0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037ca0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax + 8]
mov edi, eax
lea eax, [eax + edx*4 + 0x14]
push eax
call fcn.10005300
mov ecx, dword [edi]
test ecx, ecx
jne 0x10037ca0
push edi
call dword [0x100eb558]
add esp, 4
nop
test byte [esp + 0x10], 0x10
mov ebx, dword [esp + 0x64]
je 0x10037cf0
mov eax, dword [esp + 0x38]
and dword [esp + 0x10], 0xffffffef
test eax, eax
je 0x10037cf0
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10037cf0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.10005300
mov eax, dword [edi]
test eax, eax
jne 0x10037cf0
push edi
call dword [0x100eb558]
add esp, 4
test ebx, ebx
je 0x10037e08
mov edi, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.10037660
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x5c], ecx
push edi
mov ecx, esi
call fcn.10037660
mov edi, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov edx, edi
or edx, ebp
je 0x10037dc3
call sub.libplist.dll_plist_new_dict
mov esi, eax
mov eax, dword [esp + 0x4c]
push esi
push eax
call sub.libplist.dll_plist_array_append_item
mov ecx, dword [esp + 0x24]
push ecx
push str.BackupId
push esi
call fcn.1006c570
mov edx, dword [esp + 0x70]
push edx
push ebx
push str.CurrentSize
push esi
call fcn.1006c5c0
push ebp
push edi
push str.TotalSize
push esi
call fcn.1006c5c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
add esp, 0x34
push eax
call fcn.10037660
add eax, 0x10
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.100371e0
lea edx, [esp + 0x28]
push edx
push str.Types
push esi
mov byte [esp + 0x8c], 4
call fcn.1006c570
mov eax, dword [esp + 0x34]
add esp, 0x14
mov byte [esp + 0x78], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037dbf
mov edx, dword [esp + 0x20]
push edx
call dword [0x100eb564]
add esp, 4
mov esi, dword [esp + 0x24]
dec dword [esp + 0x64]
test byte [esp + 0x10], 8
je 0x10037ca0
and dword [esp + 0x10], 0xfffffff7
cmp dword [esp + 0x28], 0
je 0x10037ca0
mov eax, dword [esp + 0x28]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037ca0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
push ecx
lea ecx, [esp + 0x2c]
jmp 0x10037c80
add dword [esp + 0x68], 4
test byte [esp + 0x10], 1
je 0x10037bd8
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xfffffffe
test eax, eax
je 0x10037bd8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10037bd8
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.10005300
mov eax, dword [edi]
test eax, eax
jmp 0x10037bcc
mov eax, dword [esp + 0x60]
mov byte [esp + 0x78], 0
test eax, eax
je 0x10037ea3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037ea3
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov edi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x68]
call fcn.10005300
mov ecx, dword [edi]
test ecx, ecx
jne 0x10037ea3
push edi
call dword [0x100eb558]
add esp, 4
push 0xffffffffffffffff
push str.status.plist
call dword [0x100eb538]
add esp, 8
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absoluteFilePath_class_QString_const__]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x78], 8
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10037f03
mov eax, dword [esp + 0x40]
push eax
call dword [0x100eb564]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov bl, 9
mov byte [esp + 0x78], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10037f24
mov eax, dword [esp + 0x2c]
push eax
call dword [0x100eb564]
add esp, 4
push ecx
mov eax, esp
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], esp
mov dword [eax], 2
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
test al, al
je 0x10037f90
mov ecx, dword [esp + 0x48]
push 0
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.1006c1a0
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cdq
push edx
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0xa
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::write_char_const___long_long___int64__]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x78], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10037f90
mov edx, dword [esp + 0x44]
push edx
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x48]
push eax
call sub.libplist.dll_plist_free
add esp, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret