Function at 0x5b0960
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d4e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 4], 0
xor edx, edx
mov byte [ebp - 4], 1
mov ecx, 0x720b07
mov eax, dword [ebp - 0x6c]
and eax, 0xffffff04
mov dword [ebp - 0x68], 0
or eax, 0x104
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], 0
call fcn.00546380
mov dword [ebp - 0x74], eax
push 0x729f54
push str.clientId
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00548040
mov ecx, eax
lea eax, [ebp - 0x74]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.00546c70
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x98]
call fcn.00546fb0
lea ecx, [ebp - 0x98]
call fcn.00546ec0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.00546ec0
mov eax, dword [ebp - 0x6c]
xor edx, edx
and eax, 0xffffff04
mov dword [ebp - 0x68], 0
or eax, 0x104
mov dword [ebp - 0x64], 0
mov ecx, 0x720b07
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], 0
call fcn.00546380
mov dword [ebp - 0x74], eax
push 0x73e211
push str.scope
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.00548040
mov ecx, eax
lea eax, [ebp - 0x74]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.00546c70
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x98]
call fcn.00546fb0
lea ecx, [ebp - 0x98]
call fcn.00546ec0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.00546ec0
mov eax, dword [ebp - 0x6c]
mov edx, 5
and eax, 0xffffff04
mov dword [ebp - 0x68], 0
or eax, 0x104
mov dword [ebp - 0x64], 0
mov ecx, str.token
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], 0
call fcn.00546380
mov dword [ebp - 0x74], eax
push 0x73cacc
push str.responseType
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
call fcn.00548040
mov ecx, eax
lea eax, [ebp - 0x74]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.00546c70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x98]
call fcn.00546fb0
lea ecx, [ebp - 0x98]
call fcn.00546ec0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x19
call fcn.00546ec0
push 0x48
call fcn.00650ded
mov esi, eax
add esp, 4
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, esi
call fcn.004382a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [esi + 0x18]
call fcn.004382a0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [esi + 0x30]
call fcn.004382a0
mov edx, dword [ebp - 0x18]
mov dword [edi], esi
cmp edx, 0x10
jb 0x5b0bbc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5b0bb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b0c9e
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x5b0c02
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5b0bf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b0c9e
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x5b0c44
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5b0c3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b0c9e
push edx
push ecx
call fcn.0065106e
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00546ec0
mov eax, edi
jmp 0x5b0c82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
int3