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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7150
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x82d084]
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, 0x761dc7
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.00582820
mov dword [ebp - 0x70], eax
push 0x785761
push str.creatorId
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00584550
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00583120
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00583460
lea ecx, [ebp - 0x40]
call fcn.00583370
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00583370
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, 0x761dc7
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
call fcn.00582820
mov dword [ebp - 0x70], eax
push 0x782993
push str.deviceToken
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00584550
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00583120
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00583460
lea ecx, [ebp - 0x28]
call fcn.00583370
lea ecx, [ebp - 0x70]
call fcn.00583370
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 0x781c61
push str.creationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00584550
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00583120
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.00583be0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
call fcn.00583370
lea ecx, [ebp - 0x70]
call fcn.00583370
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 0x785779
push str.modificationTimestamp
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00584550
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00583120
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00583be0
lea ecx, [ebp - 0x28]
mov edi, eax
mov ebx, edx
call fcn.00583370
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00583370
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, 0x761dc7
mov dword [ebp - 0x5c], 0
call fcn.00582820
mov dword [ebp - 0x70], eax
push 0x785ab3
push str.identifierForIMSInteraction
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.00584550
test eax, eax
lea ecx, [ebp - 0x70]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00583120
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
call fcn.00583460
lea ecx, [ebp - 0x98]
call fcn.00583370
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.00583370
push 0x60
call fcn.0067ba12
mov esi, eax
mov dword [ebp - 0x80], esi
push 0x60
push 0
push esi
mov byte [ebp - 4], 0x1c
call fcn.0068e800
add esp, 0x10
mov dword [esi], str.UserPrincipalStoredEntity
lea eax, [ebp - 0x58]
lea ecx, [esi + 4]
push eax
call fcn.00440c40
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.00440c40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [esi + 0x48]
call fcn.00440c40
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
cmp edx, 0x10
jb 0x59df82
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59df78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59e000
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x59dfb2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59dfa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59e000
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x59dfe2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59dfd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59e000
push edx
push ecx
call fcn.0067bc93
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.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3