Function at 0x1000d890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100e4b25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x100eb530]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x30], 0
call fcn.1001b110
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x30], 1
call fcn.1001b5d0
lea eax, [esp + 0x1c]
push eax
push 0x100ec0d0
call fcn.1006c6c0
mov edi, dword [esp + 0x44]
add esp, 0x10
call fcn.1000d7c0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cmp eax, 2
jl 0x1000da46
mov ebp, 1
cmp eax, ebp
jle 0x1000da5b
mov edi, dword [0x100eb588]
lea ebx, [ebx]
push 0x2c
call fcn.100e2a0a
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 2
test eax, eax
je 0x1000d952
mov ecx, eax
call fcn.10066f80
mov esi, eax
jmp 0x1000d954
xor esi, esi
push 0x100ebcbd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x20], esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const__]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov byte [esp + 0x28], 3
cmp edx, 1
je 0x1000d985
lea ecx, [esp + 0x10]
call fcn.1000ba90
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add ecx, ebp
lea edx, [eax + ecx*4 + 0x14]
push edx
mov ecx, esi
call fcn.100677b0
test al, al
mov eax, dword [esp + 0x18]
sete bl
mov byte [esp + 0x28], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000d9c4
mov edx, dword [esp + 0x18]
push edx
call dword [0x100eb558]
add esp, 4
test bl, bl
je 0x1000d9d0
push ebp
push str.keybag_parse_fail__d
jmp 0x1000da01
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x1000d9e4
lea ecx, [esp + 0x10]
call fcn.1000ba90
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
lea eax, [eax + edx*4 + 0x14]
push eax
mov ecx, esi
call fcn.10067bb0
test al, al
jne 0x1000da23
push ebp
push str.keybag_unlock_fail__d
push 1
push str.CloudAccess
call edi
add esp, 0x10
test esi, esi
je 0x1000da31
mov ecx, esi
call fcn.10068140
push esi
call fcn.100e2a04
add esp, 4
jmp 0x1000da31
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.1000c280
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ebp
cmp ebp, edx
jl 0x1000d930
jmp 0x1000da5b
push str.keybag_invalid
push 1
push str.CloudAccess
call dword [0x100eb588]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
setne bl
mov byte [esp + 0x28], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1000da8a
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
test eax, eax
je 0x1000dad2
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1000dad2
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.1000b6b0
mov eax, dword [esi]
test eax, eax
jne 0x1000dad2
push esi
call dword [0x100eb558]
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret