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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x82f084]
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, edx
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [ebp - 0x60]
mov ecx, 0x762e6f
and eax, 0xffffff04
mov dword [ebp - 0x50], ebx
or eax, 0x104
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00584070
mov dword [ebp - 0x68], eax
push 0x786e98
push str.profileServerUrl
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00585da0
mov ecx, eax
lea eax, [ebp - 0x68]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.00584970
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x88]
call fcn.00584cb0
lea ecx, [ebp - 0x88]
call fcn.00584bc0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.00584bc0
mov eax, dword [ebp - 0x60]
xor edx, edx
and eax, 0xffffff04
mov dword [ebp - 0x5c], 0
or eax, 0x104
mov dword [ebp - 0x58], 0
mov ecx, 0x762e6f
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], 0
call fcn.00584070
mov dword [ebp - 0x68], eax
push 0x786eb8
push str.profileServerCertFingerprint
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00585da0
mov ecx, eax
lea eax, [ebp - 0x68]
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x88]
push eax
call fcn.00584970
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x88]
call fcn.00584cb0
lea ecx, [ebp - 0x88]
call fcn.00584bc0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x10
call fcn.00584bc0
push 0x38
call fcn.0067d662
add esp, 4
mov esi, eax
mov dword [ebp - 0x6c], esi
push 0x38
push 0
push esi
mov byte [ebp - 4], 0x11
call fcn.00690450
add esp, 0xc
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.005956c0
mov edx, edi
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x4c]
call fcn.00595390
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.00440f20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [esi + 0x18]
call fcn.00440f20
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov dword [esi + 0x34], eax
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x596273
lea ecx, [edi + 0xc]
call fcn.00482dc0
mov ecx, edi
call fcn.00482dc0
push 0x18
push edi
call fcn.0067d8e3
add esp, 8
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x59628c
mov ecx, edi
call fcn.00596020
push 0x60
push edi
call fcn.0067d8e3
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebx], esi
cmp edx, 0x10
jb 0x5962be
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5962b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x596332
push edx
push ecx
call fcn.0067d8e3
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 0x596300
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5962f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x596332
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov eax, ebx
jmp 0x596316
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.0067d651
mov esp, ebp
pop ebp
ret
call fcn.00692c65
int3