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

Disassembly:
mov ecx, dword [0x50b950]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422e5c
sub esp, 0x2c
mov eax, dword [esp + 0x34]
test byte [eax], al
mov ecx, dword [esp + 0x30]
test byte [ecx], al
lea edx, [eax + 0x3f]
mov dword [esp + 0x28], edx
nop
mov dword [esp], edx
call sym.internal_runtime_atomic.Load8
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422b1e
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 0x41]
test cl, cl
jne 0x422e45
movzx ecx, word [eax + 0x3c]
test cx, cx
jne 0x422e3c
mov edx, dword [eax + 0x34]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0xb0], edx
jne 0x422d2e
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [ebx + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.internal_runtime_atomic.Xadduintptr
nop
nop
nop
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov edx, dword [0x4f39d4]
test byte [edx], al
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 edx, dword [edx + esi*4]
test byte [edx], al
lea edx, [edx + ebx + 0x800]
mov dword [esp], edx
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call sym.internal_runtime_atomic.And8
mov eax, dword [esp + 0x34]
jmp 0x422b38
cmp al, 2
jne 0x422d18
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x3c]
test cx, cx
jne 0x422d02
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
mov dword [esp + 0x18], ecx
lea edx, [0x50c280]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call sym.runtime._sysMemStat_.add
movzx eax, byte [esp + 0x38]
test al, al
jne 0x422b8b
lea eax, [0x50c270]
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call sym.runtime._sysMemStat_.add
lea eax, [0x50d0e0]
mov dword [esp], eax
call sym.runtime._consistentHeapStats_.acquire
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x38]
cmp cl, 1
ja 0x422bf9
test cl, cl
jne 0x422bd2
test byte [eax], al
add eax, 0x10
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call sym.internal_runtime_atomic.Xaddint64
jmp 0x422c4f
test byte [eax], al
add eax, 0x18
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call sym.internal_runtime_atomic.Xaddint64
jmp 0x422c4f
cmp cl, 2
je 0x422c2a
cmp cl, 3
jne 0x422c4f
test byte [eax], al
add eax, 0x20
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call sym.internal_runtime_atomic.Xaddint64
jmp 0x422c4f
test byte [eax], al
add eax, 0x28
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call sym.internal_runtime_atomic.Xaddint64
lea eax, [0x50d0e0]
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.internal_runtime_atomic.Store8
mov eax, dword [0x50b950]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x422cc9
mov edx, dword [eax + 0x708]
cmp edx, 0x80
jge 0x422cc9
jae 0x422cf6
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4 + 0x70c], ecx
inc dword [eax + 0x708]
jmp 0x422cf2
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x45ac]
sub ecx, dword [eax + 0x4590]
nop
mov dword [eax + 0x45ac], ecx
mov ecx, dword [eax + 0x459c]
mov edx, dword [esp + 0x34]
mov dword [edx], ecx
mov dword [eax + 0x459c], edx
add esp, 0x2c
ret
mov eax, edx
mov ecx, pe_nt_image_headers32
call sym.runtime.panicIndex
lea eax, [0x480f47]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call sym.runtime.throw
lea eax, [0x480f70]
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, [0x47f0f9]
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, [0x47b48e]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x47c1f6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
lea eax, [0x47bbf0]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
lea eax, [0x47b2cf]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x480436]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call sym.runtime.throw
mov ebx, dword [esp + 0x30]
jmp 0x422d2e
lea eax, [0x4822de]
mov dword [esp], eax
mov dword [esp + 4], 0x37
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._mheap_.freeSpanLocked