Function at 0x4a5a00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e610
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x607070]
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, ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], 0
mov edi, dword [eax + 0x30]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004a5430
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, dword [esi + 4]
mov ecx, esp
mov dword [ebp - 0x68], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4a5a71
mov eax, dword [ecx]
jmp 0x4a5a73
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.00433900
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, dword [esi + 4]
mov ecx, esp
add edx, 0x18
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4a5aa7
mov eax, dword [ecx]
jmp 0x4a5aa9
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.00433900
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004a4b20
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x4a5ad6
mov ecx, eax
call fcn.004a5190
mov edi, eax
jmp 0x4a5cad
cmp dword [ebp - 0x64], 0
jne 0x4a5b03
lea edx, [ebp - 0x15]
mov byte [ebp - 0x15], 0
call fcn.004d6d90
lea edx, [ebp - 0x16]
mov byte [ebp - 0x16], 0
call fcn.004493f0
mov ecx, dword [0x61a940]
lea eax, [esi + 0x30]
push eax
call fcn.00448ab0
push 0
push 0x59c7e0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00433800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 0
push 0x59c7e0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00433800
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push 0x14
push str.UserPrincipalManager
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00433800
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.004d45c0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 0x10
jb 0x4a5b9e
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00433aa0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp eax, 0x10
jb 0x4a5bc5
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00433aa0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4a5bf0
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00433aa0
test bl, bl
je 0x4a5cab
push 0x59c7e0
lea ecx, [ebp - 0x48]
call fcn.004334f0
push 0x59c7e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004334f0
push str.UserPrincipalManager
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.004334f0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.004d45c0
push str.Successfully_removed_principal
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x4c]
add esp, 0xc
cmp eax, 0x10
jb 0x4a5c5d
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00433aa0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x4a5c84
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00433aa0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp eax, 0x10
jb 0x4a5cab
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00433aa0
xor edi, edi
test esi, esi
je 0x4a5cc6
mov ecx, esi
call fcn.004a4ef0
push 0x90
push esi
call fcn.004ff1fd
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.004fef09
mov esp, ebp
pop ebp
ret