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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41bb45
sub esp, 0x6c
xor eax, eax
lea edi, [esp + 0x54]
call fcn.0044f08a
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x70]
test edx, edx
jne 0x41b2a0
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x41b2a0
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x41bb2d
mov ecx, dword [0xc85c34]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 0x3c]
mov byte [esp + 0x19], bl
cmp bl, 1
jne 0x41ba6c
mov ebp, dword [edx + 0x30]
lea esi, [ecx - 1]
mov dword [esp + 0x3c], esi
cmp ebp, esi
jne 0x41ba6c
movzx ebx, byte [0xc8b548]
test bl, bl
jne 0x41ba52
mov ebx, dword [edx + 0x10]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea ebx, [0xc85c90]
mov dword [esp], ebx
call dbg.runtime/internal/atomic.Xadd64
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x58]
test byte [edx], al
movzx ebx, byte [ecx + 0x3a]
mov byte [esp + 0x18], 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]
mov dword [esp + 0x40], edx
test esi, esi
je 0x41b390
movzx edi, word [esi + 4]
test ebp, ebp
je 0x41ba4b
mov eax, edi
xor edx, edx
div ebp
mov edx, dword [ecx + 0x2c]
mov edi, eax
shr eax, 3
add edx, eax
mov dword [esp + 0x50], edx
mov eax, ebp
imul ebp, edi
and edi, 7
mov ecx, edi
mov ebx, 1
shl ebx, cl
movzx edi, byte [edx]
xchg edi, eax
test al, bl
xchg edi, eax
je 0x41b97d
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
movzx ebx, byte [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, esi
mov esi, edx
mov edx, edi
mov dword [esp + 0x40], edx
test esi, esi
jne 0x41b331
mov edx, dword [0xc93b60]
test edx, edx
je 0x41b447
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x54], edx
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x60], edx
mov byte [esp + 0x64], 1
mov dword [esp + 0x68], 0
xor edx, edx
mov dword [esp + 0x2c], edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jae 0x41b447
mov esi, dword [esp + 0x54]
movzx esi, byte [esi]
movzx edi, byte [esp + 0x58]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41b916
movzx esi, byte [esp + 0x58]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41b909
mov esi, dword [esp + 0x54]
inc esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x58], 1
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
movzx esi, byte [esp + 0x64]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41b8fc
mov esi, dword [esp + 0x60]
inc esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x64], 1
mov esi, dword [esp + 0x68]
inc esi
mov dword [esp + 0x68], esi
inc edx
mov dword [esp + 0x2c], edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jb 0x41b3d3
mov dword [esp], ecx
call dbg.runtime.(*mspan).countFree
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
movzx ecx, byte [esp + 0x18]
test cl, cl
jne 0x41b8f1
test eax, eax
je 0x41b8e6
mov edx, dword [esp + 0x70]
mov byte [edx + 0x3d], 1
mov ebx, 1
mov byte [esp + 0x17], bl
mov ebp, dword [edx + 0x1c]
mov dword [esp + 0x38], ebp
sub ebp, eax
mov word [esp + 0x1c], bp
movzx edi, word [edx + 0x38]
mov word [esp + 0x1e], di
sub edi, ebp
mov word [esp + 0x1a], di
movzx eax, word [esp + 0x1e]
cmp bp, ax
ja 0x41b7d1
mov word [edx + 0x38], bp
mov dword [esp], edx
call dbg.runtime.(*mspan).nextFreeIndex
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x34], edx
mov dword [ecx + 0x18], 0
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [0xc93940]
lea esi, [ecx + 0x28]
test ebp, ebp
jne 0x41b7b4
mov dword [ecx + 0x28], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [esp], ebx
call dbg.runtime.newMarkBits
mov eax, dword [esp + 4]
mov ecx, dword [0xc93940]
mov edx, dword [esp + 0x70]
lea ebx, [edx + 0x2c]
test ecx, ecx
jne 0x41b79f
mov dword [edx + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], 0
call dbg.runtime.(*mspan).refillAllocCache
movzx eax, byte [esp + 0x17]
test al, al
je 0x41b78c
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x3c]
mov byte [esp + 0x19], dl
cmp dl, 1
jne 0x41b6cb
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jne 0x41b6cb
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call dbg.runtime/internal/atomic.Store
movzx eax, word [esp + 0x1a]
test ax, ax
jbe 0x41b6bf
movzx ecx, byte [esp + 0x18]
test cl, cl
je 0x41b63a
mov edx, dword [esp + 0x48]
test byte [edx], al
movzx ecx, cl
cmp ecx, 0x43
jae 0x41b633
mov ebx, dword [edx + ecx*4 + 0x144]
movzx eax, ax
add eax, ebx
mov dword [edx + ecx*4 + 0x144], eax
imul ecx, ecx, 0x58
lea eax, [0xc85420]
lea eax, [eax + ecx + 0xac0]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x74]
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]
mov byte [esp + 0x15], al
test al, al
je 0x41b607
movzx ecx, byte [0xc8b548]
test cl, cl
jne 0x41b5fb
mov byte [esp + 0x78], al
add esp, 0x6c
ret
call dbg.runtime.traceGCSweepDone
movzx eax, byte [esp + 0x15]
jmp 0x41b5f3
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*4]
lea edx, [0xc85c54]
lea ecx, [edx + ecx*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call dbg.runtime.(*gcSweepBuf).push
movzx eax, byte [esp + 0x15]
jmp 0x41b5e8
call dbg.runtime.panicindex
ud2
movzx eax, byte [esp + 0x17]
test al, al
je 0x41b6b8
mov eax, dword [0xc93b68]
test eax, eax
jle 0x41b698
mov eax, dword [esp + 0x70]
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 + 0x140]
inc ecx
mov dword [eax + 0x140], ecx
mov ecx, dword [eax + 0x13c]
mov edx, dword [esp + 0x24]
add ecx, edx
mov dword [eax + 0x13c], ecx
mov eax, 1
jmp 0x41b5e0
lea eax, [0xc85420]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call dbg.runtime.(*mheap).freeSpan
jmp 0x41b66b
xor eax, eax
jmp 0x41b5e0
movzx eax, byte [esp + 0x17]
test al, al
jmp 0x41b641
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
call dbg.runtime.printlock
lea eax, [0x992ba6]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call dbg.runtime.printstring
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x98bcba]
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, [0x990133]
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, [0x985b7d]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x9a1097]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call dbg.runtime.throw
ud2
movzx ecx, word [esp + 0x1a]
test cx, cx
jne 0x41b561
jmp 0x41b52a
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x70]
jmp 0x41b50d
mov dword [esp], esi
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
jmp 0x41b4e6
call dbg.runtime.printlock
lea eax, [0x990da3]
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, [0x988f15]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.runtime.printstring
mov eax, dword [esp + 0x28]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x98a280]
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, [0x99446e]
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, [0x98a290]
mov dword [esp], eax
mov dword [esp + 4], 8
call dbg.runtime.printstring
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x985b7d]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x99d3e0]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call dbg.runtime.throw
ud2
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41b479
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41b479
shl esi, 1
xchg esi, eax
mov byte [esp + 0x64], al
xchg esi, eax
jmp 0x41b432
shl esi, 1
xchg esi, eax
mov byte [esp + 0x58], al
xchg esi, eax
jmp 0x41b40b
mov esi, dword [ecx + 0x18]
mov edi, dword [esp + 0x68]
cmp edi, esi
jae 0x41b961
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x40]
imul edi, edx
add esi, edi
mov edi, dword [0xc93b60]
test edi, edi
jne 0x41b93b
jmp 0x41b3ed
mov dword [esp], esi
mov dword [esp + 4], ebp
call dbg.runtime.tracefree
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x18]
mov ebp, dword [esp + 0x24]
jmp 0x41b3ed
mov esi, dword [esp + 0x60]
movzx esi, byte [esi]
movzx edi, byte [esp + 0x64]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41b3ed
jmp 0x41b921
add ebp, eax
mov dword [esp + 0x30], ebp
mov ecx, esi
test esi, esi
je 0x41b9ac
movzx edx, word [esi + 4]
cmp edx, ebp
jae 0x41ba44
movzx edx, byte [esi + 6]
cmp dl, 1
je 0x41ba30
mov esi, dword [esi]
mov edx, dword [esp + 0x50]
test esi, esi
jne 0x41b989
xor edx, edx
mov byte [esp + 0x16], dl
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x41b9ee
movzx esi, word [ecx + 4]
cmp esi, ebp
jae 0x41b9ee
mov edi, dword [esp + 0x70]
mov ebx, dword [edi + 0xc]
add ebx, esi
movzx esi, byte [ecx + 6]
xchg esi, eax
cmp al, 1
xchg esi, eax
je 0x41b9f7
test dl, dl
je 0x41b9f7
mov ebx, dword [ecx]
mov esi, ecx
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ebx
test ecx, ecx
jne 0x41b9be
mov edx, ecx
mov esi, ebx
jmp 0x41b371
mov esi, dword [ecx]
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x40]
mov dword [edx], esi
mov dword [esp], ecx
mov ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dbg.runtime.freespecial
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x41b9e0
or edi, ebx
mov edx, dword [esp + 0x50]
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov edx, 1
jmp 0x41b9ae
xor edx, edx
jmp 0x41b9ae
call dbg.runtime.panicdivide
ud2
call dbg.runtime.traceGCSweepStart
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
jmp 0x41b2e0
mov eax, dword [edx + 0x30]
mov dword [esp + 0x3c], eax
call dbg.runtime.printlock
lea eax, [0x992ba6]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call dbg.runtime.printstring
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printint
lea eax, [0x98bcba]
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, [0x990133]
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, [0x985b7d]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
lea eax, [0x9990dc]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call dbg.runtime.throw
ud2
lea eax, [0x999cf3]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call dbg.runtime.throw
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.(*mspan).sweep