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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f8ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x82f084]
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, 0x762e6f
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.00584070
mov dword [ebp - 0x70], eax
push 0x787315
push str.creatorId
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00585da0
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00584970
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00584cb0
lea ecx, [ebp - 0x40]
call fcn.00584bc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00584bc0
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, 0x762e6f
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
call fcn.00584070
mov dword [ebp - 0x70], eax
push 0x78456b
push str.deviceToken
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00585da0
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00584970
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00584cb0
lea ecx, [ebp - 0x28]
call fcn.00584bc0
lea ecx, [ebp - 0x70]
call fcn.00584bc0
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 0x78382d
push str.creationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00585da0
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00584970
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.00585430
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
call fcn.00584bc0
lea ecx, [ebp - 0x70]
call fcn.00584bc0
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 0x78732d
push str.modificationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00585da0
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00584970
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00585430
lea ecx, [ebp - 0x28]
mov edi, eax
mov ebx, edx
call fcn.00584bc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00584bc0
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, 0x762e6f
mov dword [ebp - 0x5c], 0
call fcn.00584070
mov dword [ebp - 0x70], eax
push 0x78766b
push str.identifierForIMSInteraction
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.00585da0
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00584970
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
call fcn.00584cb0
lea ecx, [ebp - 0x98]
call fcn.00584bc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.00584bc0
push 0x60
call fcn.0067d692
mov esi, eax
mov dword [ebp - 0x80], esi
push 0x60
push 0
push esi
mov byte [ebp - 4], 0x1c
call fcn.00690480
add esp, 0x10
mov dword [esi], str.UserPrincipalStoredEntity
lea eax, [ebp - 0x58]
lea ecx, [esi + 4]
push eax
call fcn.00440f20
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.00440f20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [esi + 0x48]
call fcn.00440f20
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
cmp edx, 0x10
jb 0x59f7a2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59f798
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59f820
push edx
push ecx
call fcn.0067d913
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x59f7d2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59f7c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59f820
push edx
push ecx
call fcn.0067d913
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x59f802
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59f7f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59f820
push edx
push ecx
call fcn.0067d913
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.0067d681
mov esp, ebp
pop ebp
ret
call fcn.00692c95
int3