Function at 0x441520
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5ce0f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44184d
sub esp, 0x34
mov eax, dword [0x5ce0f0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 6
call sym.runtime.casgstatus
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
lea edx, [0x5ce840]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
xor ebx, ebx
sub ebx, ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
call sym.runtime._gcControllerState_.addScannableStack
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0
call sym.runtime.isSystemGoroutine
movzx eax, byte [esp + 8]
test al, al
je 0x4415d0
nop
lea eax, [0x5a9b40]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call sym.runtime_internal_atomic.Xaddint32
mov eax, dword [0x5ce1f0]
test eax, eax
jne 0x4415e0
mov eax, dword [esp + 0x38]
jmp 0x4415ee
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x18], 0
mov ecx, dword [eax + 0x84]
mov dword [eax + 0x84], 0
mov edx, dword [esp + 0x2c]
mov dword [edx + 0xc0], 0
mov byte [eax + 0x66], 0
mov byte [eax + 0x69], 0
mov ebx, dword [0x5ce1f0]
test ebx, ebx
je 0x441635
mov ebx, dword [eax + 0x14]
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebx, dword [eax + 0x10]
mov dword [edi + 4], ebx
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov ebx, dword [0x5ce1f0]
test ebx, ebx
je 0x44166e
mov ebx, dword [eax + 0x8c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [eax + 0x8c], 0
mov byte [eax + 0x64], 0
mov ebx, dword [0x5ce1f0]
test ebx, ebx
je 0x4416a2
mov ebx, dword [eax + 0x44]
call sym.runtime.gcWriteBarrier3
mov dword [edi], ebx
mov ebx, dword [eax + 0xcc]
mov dword [edi + 4], ebx
mov ebx, dword [eax + 0xd0]
mov dword [edi + 8], ebx
mov dword [esp + 0x18], ecx
mov dword [eax + 0x44], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov ebx, dword [0x5ce008]
test ebx, ebx
je 0x44179a
mov ebx, dword [eax + 0xf4]
mov ebp, dword [eax + 0xf8]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
test ebx, ebx
seta bl
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x44179a
nop
lea eax, [0x5ce938]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xf4]
mov edx, dword [eax + 0xf8]
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0x1c], xmm0
mov dword [esp + 4], edx
mov dword [esp], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x1c]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
nop
lea edx, [0x5ce8f8]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sym.runtime_internal_atomic.Xaddint64
mov eax, dword [esp + 0x38]
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ebx, dword [0x5ce0f0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
mov ebp, dword [ebp + 0x50]
xor esi, esi
nop
nop
mov dword [ebp + 0x18], esi
mov ebx, dword [ebx + 0x18]
xor ebp, ebp
nop
mov dword [ebx + 0x50], ebp
mov ebx, dword [edx + 0x148]
test ebx, ebx
jne 0x4417f9
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.gfput
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4417f0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test byte [eax], al
add eax, 0x1c
mov dword [esp], eax
call sym.runtime.gogo
call sym.runtime.schedule
add esp, 0x34
ret
mov dword [esp + 0x14], ebx
call sym.runtime.printlock
lea eax, [0x4ef899]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4f1319]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.goexit0