Function at 0x419b10
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x419ee0
sub esp, 0x50
mov ecx, dword [esp + 0x54]
test byte [ecx], al
lea edi, [ecx + 0x44]
mov dword [esp + 0x4c], edi
mov edx, dword [0x5853c0]
test edx, edx
jne 0x419b49
mov dword [ecx + 0x44], 0
jmp 0x419b50
xor eax, eax
call dbg.runtime.gcWriteBarrier
lea eax, [0x585240]
mov dword [esp], eax
call dbg.runtime/internal/atomic.Load
mov eax, dword [esp + 4]
test eax, eax
jne 0x419b82
mov eax, dword [esp + 0x54]
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
add esp, 0x50
ret
nop
call dbg.runtime.nanotime1
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], ecx
lea edx, [0x585c64]
mov dword [esp], edx
mov dword [esp + 4], 0xffffffff
call dbg.runtime/internal/atomic.Xadd
mov eax, dword [esp + 8]
mov ecx, dword [0x585c58]
cmp ecx, eax
je 0x419e5e
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call dbg.runtime.casgstatus
mov eax, dword [esp + 0x54]
mov byte [eax + 0x64], 1
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
add ecx, 0xb84
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call dbg.runtime.gcDrainN
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call dbg.runtime.casgstatus
lea eax, [0x585a70]
mov dword [esp], eax
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dbg.runtime.int64tofloat64
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0xe4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xe8]
mov dword [esp + 0x30], edx
movsd xmm0, qword [esp + 0x38]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call dbg.runtime.float64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov edx, ecx
add ecx, eax
mov ebx, ecx
add ecx, 1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
mov dword [esi + 0xe4], ecx
add edx, eax
mov eax, dword [esp + 0x30]
adc ebp, eax
add ebx, 1
adc ebp, 0
mov dword [esi + 0xe8], ebp
lea eax, [0x585c64]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime/internal/atomic.Xadd
mov eax, dword [esp + 8]
mov ecx, dword [0x585c58]
cmp ecx, eax
jb 0x419ddd
jne 0x419d40
mov dword [esp], 0
call dbg.runtime.gcMarkWorkAvailable
movzx eax, byte [esp + 4]
test al, al
jne 0x419d40
mov ecx, dword [0x5853c0]
test ecx, ecx
jne 0x419d33
mov eax, dword [esp + 0x54]
mov dword [eax + 0x44], eax
jmp 0x419d40
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
call dbg.runtime.gcWriteBarrier
call dbg.runtime.nanotime1
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp]
mov edx, dword [esp + 0x14]
mov ebx, ecx
sub ecx, edx
mov dword [esp + 0x28], ecx
mov ebp, dword [eax + 0xb68]
mov esi, ebp
add ebp, ecx
mov edi, dword [esp + 4]
mov ecx, dword [eax + 0xb6c]
mov dword [eax + 0xb68], ebp
sub ebx, edx
mov edx, dword [esp + 0x18]
sbb edi, edx
mov edx, dword [esp + 0x28]
add esi, edx
adc edi, ecx
mov dword [eax + 0xb6c], edi
cmp ebp, 0x1388
seta cl
test edi, edi
sete dl
setg bl
and edx, ecx
or ebx, edx
test bl, bl
je 0x419dd9
mov dword [esp + 0x48], eax
lea eax, [0x585a38]
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
call dbg.runtime/internal/atomic.Xaddint64
mov eax, dword [esp + 0x48]
mov dword [eax + 0xb68], 0
mov dword [eax + 0xb6c], 0
add esp, 0x50
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
call dbg.runtime.printlock
lea eax, [0x4d82c5]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call dbg.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dbg.runtime.printuint
lea eax, [0x4d5e6e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call dbg.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.004343a0
lea eax, [0x4d8eb2]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call dbg.runtime.throw
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call dbg.runtime.printlock
lea eax, [0x4d878e]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call dbg.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dbg.runtime.printuint
lea eax, [0x4d5e6e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call dbg.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.004343a0
lea eax, [0x4d77f0]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call dbg.runtime.throw
nop
call dbg.runtime.morestackc
jmp dbg.runtime.gcAssistAlloc1