Function at 0x445420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x50b950]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x445723
sub esp, 0x44
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
sub edx, ebx
lea ebp, [edx - 1]
mov esi, dword [0x50b950]
mov esi, dword fs:[esi]
mov esi, dword [esi]
test edx, ebp
jne 0x44570c
mov ebp, dword [0x50bbf0]
test ebp, ebp
jne 0x445564
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], edx
movzx ebp, byte [0x4edf71]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4454e5
mov dword [esp + 0x3c], esi
movzx ebp, byte [0x4edf70]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x445491
xor ecx, ecx
xor eax, eax
jmp 0x4454a9
call sym.runtime.traceTryAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
test ecx, ecx
je 0x4454e5
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.runtime.traceLocker.GoroutineStackFree
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
cmp edx, 0x8000
jae 0x4454f6
mov eax, edx
xor ecx, ecx
jmp 0x44562a
nop
mov ecx, dword [0x4f39d4]
test byte [ecx], al
mov edx, ebx
shr ebx, 0xd
and ebx, 0x1ff
shr edx, 0x16
mov ecx, dword [ecx + edx*4]
test byte [ecx], al
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x18], ecx
test byte [ecx], al
lea edx, [ecx + 0x3f]
nop
mov dword [esp], edx
call sym.internal_runtime_atomic.Load8
cmp byte [esp + 4], 2
jne 0x4455d2
mov eax, dword [0x50b88c]
test eax, eax
je 0x445547
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x44557b
lea eax, [0x4f38a0]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call sym.runtime._mheap_.freeManual
jmp 0x445574
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.runtime.sysFault
add esp, 0x44
ret
add esp, 0x44
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x445578
mov dword [esp + 0x24], edx
nop
nop
lea eax, [0x50bd80]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [esp + 0x24]
cmp eax, 0x13
jae 0x4455c8
lea ecx, [0x50bd84]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call sym.runtime._mSpanList_.insert
nop
nop
lea eax, [0x50bd80]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x445574
mov ecx, 0x13
call sym.runtime.panicIndex
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
call sym.runtime.printsp
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.printpointer
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x47c862]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.throw
inc ecx
shr edx, 1
cmp edx, 0x1000
ja 0x445627
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + 0x58]
mov dword [esp + 0x1c], ebx
test ebp, ebp
je 0x445647
mov edx, dword [edx + 0x78]
test edx, edx
je 0x445697
movzx eax, cl
cmp eax, 3
jae 0x445702
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x50be20]
add eax, ecx
mov dword [esp + 0x38], eax
nop
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call sym.runtime.stackpoolfree
nop
nop
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.runtime.unlock2
jmp 0x445574
movzx edx, cl
cmp edx, 3
jae 0x4456f6
mov ebp, dword [ebp + 0x30]
test byte [ebp], al
lea esi, [ebp + edx*8 + 0x238]
cmp dword [esi], 0x8000
jb 0x4456e0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], esi
mov dword [esp], ebp
mov byte [esp + 4], cl
call sym.runtime.stackcacherelease
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
lea ecx, [ebp + edx*8 + 0x234]
mov edx, dword [ecx]
mov ebp, ebx
mov dword [ebx], edx
mov dword [ecx], ebp
add dword [esi], eax
jmp 0x445574
mov eax, edx
mov ecx, 3
call sym.runtime.panicIndex
mov ecx, 3
call sym.runtime.panicIndex
lea eax, [0x47dfff]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call sym.runtime.throw
nop
call sym.runtime.morestackc
jmp sym.runtime.stackfree