Function at 0x10056fc0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175af8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], 0
call fcn.10144440
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 3
lea eax, [edi + 0x38]
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
add eax, 0x18
mov dword [ebp - 0x10], eax
mov dword [eax + 0x24], ecx
mov byte [ebp - 4], 7
lea esi, [edi + 0x7c]
mov byte [edi + 0x78], cl
mov dword [ebp - 0x10], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.1000ca80
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea eax, [edi + 0x84]
push 2
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0xb8]
mov dword [ebp - 0x10], ecx
call fcn.10031250
mov byte [ebp - 4], 0xe
mov dword [edi + 0x288], 0
mov byte [ebp - 4], 0xf
mov edx, dword [0x10212550]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x100570cd
lock inc dword [edx + 8]
mov edx, dword [0x10212550]
mov ecx, dword [0x1021254c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x28]
mov dword [edi + 0x28], ecx
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x2c], edx
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
test ecx, ecx
je 0x10057131
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x10057131
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
mov dword [ebp - 0x18], esi
and esi, 0xfffffffe
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x11
mov edx, dword [0x10212558]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x10057165
lock inc dword [edx + 8]
mov edx, dword [0x10212558]
mov ecx, dword [0x10212554]
or esi, 2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x12
mov eax, dword [edi + 0x30]
mov dword [edi + 0x30], ecx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x34], edx
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x100571c4
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x100571c4
mov eax, dword [ecx]
call dword [eax + 4]
and esi, 0xfffffffd
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x38]
push 0xa
push str.safeInsIpt
call fcn.100094b0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x10057a50
push eax
lea ecx, [edi + 0x50]
mov dword [ebp - 0x1c], edi
call fcn.1005ad70
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret