Function at 0x10046960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e9232
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov dword [esp + 4], 0
push edi
mov dword [esp + 0x30], ecx
mov dword [ecx], vtable.IcloudBackupInfoHelper.0
lea eax, [esp + 0x10]
add ecx, 0xc
push eax
mov dword [esp + 0x60], 2
mov dword [esp + 0x20], ecx
call fcn.1002d990
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x64], 3
call fcn.100088e0
add esp, 8
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5c], 5
test eax, eax
je 0x100469fd
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x100469fd
mov eax, dword [esp + 0x10]
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 + 0x18]
mov esi, eax
call fcn.10005300
mov eax, dword [esi]
test eax, eax
jne 0x100469fd
push esi
call dword [0x100eb558]
add esp, 4
push ebx
push ebp
nop
mov eax, dword [esp + 0x40]
mov ecx, eax
inc eax
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x10046a1d
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x48]
je 0x10046a1d
mov bl, 1
jmp 0x10046a1f
xor bl, bl
test byte [esp + 0x10], 2
je 0x10046a6b
mov eax, dword [esp + 0x1c]
and dword [esp + 0x10], 0xfffffffd
test eax, eax
je 0x10046a6b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046a6b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jne 0x10046a6b
push esi
call dword [0x100eb558]
add esp, 4
test bl, bl
je 0x10046d35
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
test byte [esp + 0x10], 4
mov dword [esp + 0x64], 8
je 0x10046ae0
mov eax, dword [esp + 0x20]
and dword [esp + 0x10], 0xfffffffb
test eax, eax
je 0x10046ae0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046ae0
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jne 0x10046ae0
push esi
call dword [0x100eb558]
add esp, 4
jmp 0x10046ae0
test byte [esp + 0x10], 0x10
mov ebx, dword [esp + 0x40]
je 0x10046b50
mov eax, dword [esp + 0x28]
and dword [esp + 0x10], 0xffffffef
test eax, eax
je 0x10046b50
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10046b50
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebp, eax
cmp edi, esi
je 0x10046b3f
lea esp, [esp]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046b3b
mov edx, dword [esi]
push edx
call dword [0x100eb564]
add esp, 4
cmp esi, edi
jne 0x10046b20
mov eax, dword [ebp]
test eax, eax
jne 0x10046b50
push ebp
call dword [0x100eb558]
add esp, 4
test ebx, ebx
je 0x10046c93
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.10046730
push eax
lea edx, [esp + 0x50]
push edx
call fcn.1002e530
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x64], 9
mov edx, eax
inc eax
mov dword [esp + 0x50], eax
test edx, edx
jne 0x10046be2
cmp ecx, dword [esp + 0x58]
je 0x10046be2
mov esi, dword [ecx]
mov dword [esp + 0x2c], esi
lea ebx, [ebx]
test eax, eax
je 0x10046bd5
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.10046730
mov ecx, eax
call fcn.10045ce0
test esi, esi
je 0x10046bca
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x50], eax
jmp 0x10046ba0
mov ecx, dword [esp + 0x54]
add ecx, 4
mov dword [esp + 0x54], ecx
jmp 0x10046b83
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x64], 8
test eax, eax
je 0x10046c10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046c10
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
test eax, eax
jne 0x10046c10
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x100eb558]
add esp, 4
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.10046620
dec dword [esp + 0x40]
test byte [esp + 0x10], 8
je 0x10046ae0
mov eax, dword [esp + 0x30]
and dword [esp + 0x10], 0xfffffff7
test eax, eax
je 0x10046ae0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046ae0
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebp, eax
cmp edi, esi
je 0x10046c82
mov ebx, dword [0x100eb564]
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10046c7e
mov ecx, dword [esi]
push ecx
call ebx
add esp, 4
cmp esi, edi
jne 0x10046c67
mov edx, dword [ebp]
test edx, edx
jne 0x10046ae0
push ebp
jmp 0x10046acd
mov eax, dword [esp + 0x14]
mov byte [esp + 0x64], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046cb3
mov edx, dword [esp + 0x14]
push edx
call dword [0x100eb564]
add esp, 4
add dword [esp + 0x44], 4
test byte [esp + 0x10], 1
je 0x10046a00
mov eax, dword [esp + 0x34]
and dword [esp + 0x10], 0xfffffffe
test eax, eax
je 0x10046a00
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046a00
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebp, eax
cmp edi, esi
je 0x10046d1b
mov ebx, dword [0x100eb564]
nop
mov edx, dword [esi - 4]
sub esi, 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10046d17
mov ecx, dword [esi]
push ecx
call ebx
add esp, 4
cmp esi, edi
jne 0x10046d00
mov edx, dword [ebp]
test edx, edx
jne 0x10046a00
push ebp
call dword [0x100eb558]
add esp, 4
jmp 0x10046a00
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x64], 2
test eax, eax
je 0x10046d7a
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046d7a
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jne 0x10046d7a
push esi
call dword [0x100eb558]
add esp, 4
mov edi, dword [esp + 0x38]
lea esi, [edi + 8]
mov ecx, esi
call fcn.100461f0
add edi, 4
mov ecx, edi
call fcn.100179f0
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.10046570
mov eax, dword [ebx]
mov byte [esp + 0x64], 1
test eax, eax
je 0x10046dbe
add eax, 0x34
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10046dbe
mov eax, dword [ebx]
push eax
mov ecx, ebx
call fcn.10045c70
mov eax, dword [esi]
pop ebp
mov byte [esp + 0x60], 0
pop ebx
test eax, eax
je 0x10046de1
add eax, 0x34
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046de1
mov edx, dword [esi]
push edx
mov ecx, esi
call fcn.10038210
mov eax, dword [edi]
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
je 0x10046e05
add eax, 0x34
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046e05
mov edx, dword [edi]
push edx
mov ecx, edi
call fcn.10005360
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret