Function at 0x389780
Capabilities:
Access peb ldr_data
Hash data using murmur3

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x389b9c
sub esp, 0x2c
mov eax, dword [esp + 0x30]
test byte [eax], al
mov ecx, dword [esp + 0x34]
test byte [ecx], al
lea edx, [ecx + 0x3f]
mov dword [esp + 0x28], edx
nop
mov dword [esp], edx
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x38985e
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 0x41]
test cl, cl
jne 0x389b85
movzx ecx, word [eax + 0x3c]
test cx, cx
jne 0x389b7c
mov edx, dword [eax + 0x34]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0xb0], edx
jne 0x389a6e
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [ebx + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime_internal_atomic.Xadduintptr
mov eax, dword [0x5bbef4]
test byte [eax], al
nop
nop
nop
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0xc]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0x3f
mov ebp, ecx
shr ebp, 0xd
and ebp, 7
mov esi, ecx
mov ecx, ebp
mov edi, 1
shl edi, cl
xchg edi, ebx
not ebx
xchg edi, ebx
shr esi, 0x16
mov eax, dword [eax + esi*4]
test byte [eax], al
lea eax, [eax + ebx + 0x21800]
mov dword [esp], eax
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call sym.runtime_internal_atomic.And8
mov eax, dword [esp + 0x34]
jmp 0x389878
cmp al, 2
jne 0x389a58
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x3c]
test cx, cx
jne 0x389a42
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
mov dword [esp + 0x18], ecx
lea edx, [0x5dc880]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
call sym.runtime._sysMemStat_.add
movzx eax, byte [esp + 0x38]
test al, al
jne 0x3898cb
lea eax, [0x5dc870]
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov edx, 0
sbb edx, 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym.runtime._sysMemStat_.add
lea eax, [0x5df900]
mov dword [esp], eax
call sym.runtime._consistentHeapStats_.acquire
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x38]
cmp cl, 1
ja 0x389939
test cl, cl
jne 0x389912
test byte [eax], al
add eax, 0x10
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xaddint64
jmp 0x38998f
test byte [eax], al
add eax, 0x18
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xaddint64
jmp 0x38998f
cmp cl, 2
je 0x38996a
cmp cl, 3
jne 0x38998f
test byte [eax], al
add eax, 0x20
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xaddint64
jmp 0x38998f
test byte [eax], al
add eax, 0x28
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xaddint64
lea eax, [0x5df900]
mov dword [esp], eax
call sym.runtime._consistentHeapStats_.release
mov eax, dword [esp + 0x30]
lea ecx, [eax + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call sym.runtime._pageAlloc_.free
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov byte [esp + 4], 0
call sym.runtime_internal_atomic.Store8
mov eax, dword [0x5dbf38]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x389a09
mov edx, dword [eax + 0x708]
cmp edx, 0x80
jge 0x389a09
jae 0x389a36
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4 + 0x70c], ecx
inc dword [eax + 0x708]
jmp 0x389a32
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x456c]
sub ecx, dword [eax + 0x4550]
nop
mov dword [eax + 0x456c], ecx
mov ecx, dword [eax + 0x455c]
mov edx, dword [esp + 0x34]
mov dword [edx], ecx
mov dword [eax + 0x455c], edx
add esp, 0x2c
ret
mov eax, edx
mov ecx, pe_nt_image_headers32
call sym.runtime.panicIndex
lea eax, [0x4bc9ce]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call sym.runtime.throw
lea eax, [0x4bc9f7]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call sym.runtime.throw
movzx ecx, cx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x20], edx
mov ebx, dword [ebx + 0xb0]
mov dword [esp + 0x1c], ebx
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x14], ebp
call sym.runtime.printlock
lea eax, [0x4b960b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call sym.runtime.printstring
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.printuintptr
lea eax, [0x4b2a42]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b4232]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b38d3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b2557]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4bb496]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call sym.runtime.throw
mov ebx, dword [esp + 0x30]
jmp 0x389a6e
lea eax, [0x4be693]
mov dword [esp], eax
mov dword [esp + 4], 0x37
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._mheap_.freeSpanLocked