Function at 0x561e50
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cc090
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7e500c]
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 esi, edx
mov eax, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x74], eax
xor edx, edx
mov eax, dword [ebp - 0x68]
mov ecx, 0x720b07
and eax, 0xffffff04
mov dword [ebp - 0x64], 0
or eax, 0x104
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
call fcn.00546380
mov dword [ebp - 0x70], eax
push 0x73ef01
push str.creatorId
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00548040
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00546c70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00546fb0
lea ecx, [ebp - 0x40]
call fcn.00546ec0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00546ec0
mov eax, dword [ebp - 0x68]
xor edx, edx
and eax, 0xffffff04
mov dword [ebp - 0x64], 0
or eax, 0x104
mov dword [ebp - 0x60], 0
mov ecx, 0x720b07
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
call fcn.00546380
mov dword [ebp - 0x70], eax
push 0x73d1a7
push str.deviceToken
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00548040
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00546c70
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00546fb0
lea ecx, [ebp - 0x28]
call fcn.00546ec0
lea ecx, [ebp - 0x70]
call fcn.00546ec0
mov eax, dword [ebp - 0x68]
and eax, 0xfffffe01
mov dword [ebp - 0x64], 0
or eax, 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
push 0x73c869
push str.creationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00548040
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00546c70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.005476f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
call fcn.00546ec0
lea ecx, [ebp - 0x70]
call fcn.00546ec0
mov ecx, dword [ebp - 0x68]
xorps xmm0, xmm0
and ecx, 0xfffffe01
mov dword [ebp - 0x64], 0
or ecx, 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x70], xmm0
push 0x73ef19
push str.modificationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00548040
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00546c70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.005476f0
lea ecx, [ebp - 0x28]
mov edi, eax
mov ebx, edx
call fcn.00546ec0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00546ec0
mov ecx, dword [ebp - 0x68]
xor edx, edx
and ecx, 0xffffff04
mov dword [ebp - 0x64], 0
or ecx, 0x104
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], ecx
mov ecx, 0x720b07
mov dword [ebp - 0x5c], 0
call fcn.00546380
mov dword [ebp - 0x70], eax
push 0x73f257
push str.identifierForIMSInteraction
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.00548040
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00546c70
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
call fcn.00546fb0
lea ecx, [ebp - 0x98]
call fcn.00546ec0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.00546ec0
push 0x60
call fcn.00650ded
mov esi, eax
mov dword [ebp - 0x80], esi
push 0x60
push 0
push esi
mov byte [ebp - 4], 0x1c
call fcn.00663090
add esp, 0x10
mov dword [esi], str.UserPrincipalStoredEntity
lea eax, [ebp - 0x58]
lea ecx, [esi + 4]
push eax
call fcn.004382a0
mov eax, dword [ebp - 0x78]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x1d
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
call fcn.004382a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [esi + 0x48]
call fcn.004382a0
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
cmp edx, 0x10
jb 0x562192
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x562188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x562210
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5621c2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5621b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x562210
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x5621f2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5621e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x562210
push edx
push ecx
call fcn.0065106e
add esp, 8
mov eax, edi
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.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
int3