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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41c83d
sub esp, 0x70
xor eax, eax
lea edi, [esp + 0x58]
call fcn.0044bd0a
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x70]
test edx, edx
jne 0x41bffc
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x41bffc
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x41c825
mov ecx, dword [0x744310]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x74]
movzx ebx, byte [edx + 0x3c]
mov byte [esp + 0x1b], bl
cmp bl, 1
jne 0x41c764
mov ebp, dword [edx + 0x30]
lea esi, [edx + 0x30]
lea edi, [ecx - 1]
cmp edi, ebp
jne 0x41c764
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], edi
movzx ebx, byte [0x74a6e8]
test bl, bl
jne 0x41c57c
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
lea eax, [0x744368]
mov dword [esp], eax
call dbg.runtime/internal/atomic.Xadd64
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x74]
lea edx, [ecx + 0x58]
test byte [edx], al
movzx ebx, byte [ecx + 0x3a]
mov byte [esp + 0x16], bl
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0x24], ebp
mov eax, dword [eax + 0xb0]
mov dword [esp + 0x48], eax
mov esi, dword [ecx + 0x58]
jmp 0x41c0a5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
movzx ebx, byte [esp + 0x16]
mov edi, esi
mov esi, edx
mov edx, edi
test esi, esi
je 0x41c1af
movzx edi, word [esi + 4]
test ebp, ebp
je 0x41c75d
mov dword [esp + 0x40], edx
mov eax, edi
xor edx, edx
div ebp
mov edx, dword [ecx + 0x2c]
mov edi, eax
shr eax, 3
add edx, eax
mov eax, edi
imul edi, ebp
and eax, 7
mov ecx, eax
mov ebx, 1
shl ebx, cl
mov eax, edx
movzx edx, byte [edx]
test dl, bl
je 0x41c0eb
mov edx, dword [esi]
jmp 0x41c092
add edi, ebp
mov ecx, esi
jmp 0x41c0f7
mov esi, dword [esi]
mov ebp, dword [esp + 0x24]
test esi, esi
je 0x41c1a8
movzx ebp, word [esi + 4]
cmp ebp, edi
jae 0x41c1a1
movzx ebp, byte [esi + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x41c0f1
or edx, ebx
mov byte [eax], dl
mov eax, 1
mov dword [esp + 0x2c], edi
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x40]
jmp 0x41c133
mov ebx, ecx
mov ecx, edx
mov edx, ebx
test ecx, ecx
je 0x41c194
movzx ebx, word [ecx + 4]
cmp ebx, edi
jae 0x41c194
mov ebp, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
add ebx, esi
movzx esi, byte [ecx + 6]
xchg esi, eax
cmp al, 1
xchg esi, eax
je 0x41c15b
test al, al
je 0x41c15b
mov edx, dword [ecx]
jmp 0x41c12d
mov dword [esp + 0x50], edx
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov dword [edx], eax
mov dword [esp], ecx
mov ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
call dbg.runtime.freespecial
movzx eax, byte [esp + 0x18]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
jmp 0x41c12d
mov ebp, dword [esp + 0x24]
mov esi, edx
mov edx, ecx
jmp 0x41c092
xor eax, eax
jmp 0x41c11f
xor eax, eax
jmp 0x41c11f
mov edx, dword [0x752a80]
test edx, edx
je 0x41c2ce
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x58], edx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x60], 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x64], edx
mov byte [esp + 0x68], 1
mov dword [esp + 0x6c], 0
xor edx, edx
jmp 0x41c1f3
mov esi, dword [esp + 0x6c]
inc esi
mov dword [esp + 0x6c], esi
inc edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jae 0x41c2ce
mov esi, dword [esp + 0x58]
movzx edi, byte [esp + 0x5c]
movzx esi, byte [esi]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41c267
movzx esi, byte [esp + 0x5c]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41c25d
mov esi, dword [esp + 0x58]
inc esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x60]
inc esi
mov dword [esp + 0x60], esi
movzx esi, byte [esp + 0x68]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41c253
mov esi, dword [esp + 0x64]
inc esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x68], 1
jmp 0x41c1e9
shl esi, 1
xchg esi, eax
mov byte [esp + 0x68], al
xchg esi, eax
jmp 0x41c1e9
shl esi, 1
xchg esi, eax
mov byte [esp + 0x5c], al
xchg esi, eax
jmp 0x41c22e
mov esi, dword [esp + 0x6c]
mov edi, dword [ecx + 0x18]
cmp esi, edi
jae 0x41c2b3
mov esi, dword [ecx + 0x40]
imul esi, edx
mov edi, dword [ecx + 0xc]
add esi, edi
mov edi, dword [0x752a80]
test edi, edi
je 0x41c214
mov dword [esp + 0x28], edx
mov eax, esi
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.tracefree
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x16]
mov ebp, dword [esp + 0x24]
jmp 0x41c214
mov esi, dword [esp + 0x64]
movzx edi, byte [esp + 0x68]
movzx esi, byte [esi]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
jne 0x41c272
jmp 0x41c214
mov dword [esp], ecx
call dbg.runtime.(*mspan).countAlloc
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x16]
mov edx, ecx
shr cl, 1
test cl, cl
jne 0x41c571
test ax, ax
jne 0x41c566
mov ebx, dword [esp + 0x74]
mov byte [ebx + 0x3d], 1
mov ebp, 1
movzx esi, word [ebx + 0x38]
mov edi, esi
sub esi, eax
mov word [esp + 0x1c], si
cmp ax, di
ja 0x41c662
mov byte [esp + 0x1a], cl
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
mov word [ebx + 0x38], ax
mov dword [esp], ebx
call dbg.runtime.(*mspan).nextFreeIndex
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x34], edx
mov dword [ecx + 0x18], 0
movzx ebx, byte [0x74a6e8]
test bl, bl
je 0x41c383
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x54]
test byte [ebx], al
mov ebx, dword [ebp + 0x934]
movzx esi, word [esp + 0x1c]
movzx edi, si
mov eax, dword [ecx + 0x40]
imul eax, edi
add eax, ebx
mov dword [ebp + 0x934], eax
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call dbg.runtime.newMarkBits
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call dbg.runtime.(*mspan).refillAllocCache
movzx eax, byte [esp + 0x19]
test al, al
je 0x41c553
mov ecx, dword [esp + 0x74]
movzx edx, byte [ecx + 0x3c]
mov byte [esp + 0x1b], dl
cmp dl, 1
jne 0x41c5a1
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jne 0x41c5a1
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call dbg.runtime/internal/atomic.Store
movzx eax, word [esp + 0x1c]
test ax, ax
jbe 0x41c547
movzx ecx, byte [esp + 0x1a]
test cl, cl
je 0x41c4c2
mov edx, dword [esp + 0x48]
test byte [edx], al
movsx ecx, cl
cmp ecx, 0x43
jae 0x41c59a
mov ebx, dword [edx + ecx*4 + 0x250]
movzx eax, ax
add eax, ebx
mov dword [edx + ecx*4 + 0x250], eax
movzx eax, byte [esp + 0x16]
movzx eax, al
cmp eax, 0x86
jae 0x41c593
shl eax, 6
lea ecx, [0x743b00]
lea eax, [ecx + eax + 0xae0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x78]
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, edx
sete cl
mov byte [esp + 9], cl
call dbg.runtime.(*mcentral).freeSpan
movzx eax, byte [esp + 0xc]
test al, al
je 0x41c492
mov byte [esp + 0x7c], al
add esp, 0x70
ret
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x20]
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea ecx, [0x744334]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call dbg.runtime.(*gcSweepBuf).push
movzx eax, byte [esp + 0x17]
jmp 0x41c48a
movzx eax, byte [esp + 0x19]
test al, al
je 0x41c540
mov eax, dword [0x752a88]
test eax, eax
jle 0x41c520
mov eax, dword [esp + 0x74]
mov dword [eax + 0x50], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call dbg.runtime.sysFault
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x24c]
inc ecx
mov dword [eax + 0x24c], ecx
mov ecx, dword [eax + 0x248]
mov edx, dword [esp + 0x24]
add ecx, edx
mov dword [eax + 0x248], ecx
mov eax, 1
jmp 0x41c486
lea eax, [0x743b00]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call dbg.runtime.(*mheap).freeSpan
jmp 0x41c4f3
xor eax, eax
jmp 0x41c486
movzx eax, byte [esp + 0x19]
test al, al
jmp 0x41c4c9
movzx ecx, word [esp + 0x1c]
test cx, cx
je 0x41c3bc
jmp 0x41c3f4
mov ebx, dword [esp + 0x74]
xor ebp, ebp
jmp 0x41c301
mov ebx, dword [esp + 0x74]
xor ebp, ebp
jmp 0x41c301
mov eax, dword [edx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call dbg.runtime.traceGCSweepSpan
mov edx, dword [esp + 0x74]
jmp 0x41c047
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
call dbg.runtime.printlock
lea eax, [0x615332]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call dbg.runtime.printstring
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x6127e4]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x6141f9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call dbg.runtime.printstring
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x611448]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x61c1e7]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call dbg.runtime.throw
ud2
mov dword [esp + 0x30], eax
mov word [esp + 0x1e], di
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
call dbg.runtime.printlock
lea eax, [0x6146d9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call dbg.runtime.printstring
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x6120fc]
mov dword [esp], eax
mov dword [esp + 4], 8
call dbg.runtime.printstring
mov eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x615edd]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call dbg.runtime.printstring
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x61210c]
mov dword [esp], eax
mov dword [esp + 4], 8
call dbg.runtime.printstring
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x611448]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x61a441]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call dbg.runtime.throw
ud2
call dbg.runtime.panicdivide
ud2
mov eax, dword [edx + 0x30]
mov dword [esp + 0x3c], eax
call dbg.runtime.printlock
lea eax, [0x615332]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call dbg.runtime.printstring
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x6127e4]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x6141f9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call dbg.runtime.printstring
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x611448]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x61845b]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call dbg.runtime.throw
ud2
lea eax, [0x618a85]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call dbg.runtime.throw
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.(*mspan).sweep