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

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x3a7068
sub esp, 0x84
nop
call sym.runtime.nanotime1
mov eax, dword [0x5dbfa0]
mov ecx, dword [0x5dbfa4]
mov edx, dword [esp]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x30], ebx
test eax, eax
sete al
test ecx, ecx
sete cl
and ecx, eax
test cl, cl
je 0x3a664f
mov eax, dword [esp + 4]
mov dword [0x5dbfa4], eax
mov dword [0x5dbfa0], edx
nop
nop
lea eax, [0x5b7958]
mov dword [esp], eax
call sym.runtime.lock2
lea eax, [0x5b7988]
mov dword [esp], eax
call sym.runtime_internal_atomic.Loadint32
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x68], eax
mov edx, dword [0x5b7968]
mov dword [esp + 0x64], edx
mov ebx, dword [0x5b7978]
mov dword [esp + 0x60], ebx
lea ebp, [0x5b798c]
mov dword [esp], ebp
call sym.runtime_internal_atomic.Loadint32
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
sar eax, 0x1f
mov dword [esp + 0x5c], eax
lea edx, [0x5b7990]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load
mov eax, dword [0x5dbfa0]
mov ecx, dword [0x5dbfa4]
mov edx, dword [esp + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov eax, dword [esp + 0x30]
sbb eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call sym.runtime.int64div
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [0x5b7960]
mov dword [esp + 0x50], edx
sar edx, 0x1f
mov dword [esp + 0x4c], edx
mov ebp, dword [0x5b799c]
mov dword [esp + 0x48], ebp
call sym.runtime.printlock
lea eax, [0x4b2c64]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b4e4a]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [0x5dbef0]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x4b3d7b]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b3584]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
sar eax, 0x1f
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
sub edx, ebx
mov ebx, edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.runtime.printint
lea eax, [0x4b57b1]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b4a3f]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b464f]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b3923]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.runtime.printint
call sym.runtime.printunlock
movzx eax, byte [esp + 0x88]
test al, al
je 0x3a69ae
lea eax, [0x5b79d4]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
mov byte [esp + 0x19], al
lea ecx, [0x5b79e0]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load8
mov eax, dword [0x5b7964]
mov dword [esp + 0x68], eax
sar eax, 0x1f
mov dword [esp + 0x5c], eax
mov edx, dword [0x5b79d8]
mov dword [esp + 0x58], edx
sar edx, 0x1f
mov dword [esp + 0x50], edx
movzx ebp, byte [esp + 4]
xchg ebp, eax
mov byte [esp + 0x18], al
xchg ebp, eax
call sym.runtime.printlock
lea eax, [0x4b3d86]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
movzx eax, byte [esp + 0x19]
test al, al
setne al
mov byte [esp], al
call sym.runtime.printbool
lea eax, [0x4b4a31]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b392d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b42b6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
movzx eax, byte [esp + 0x18]
test al, al
setne al
mov byte [esp], al
call sym.runtime.printbool
call sym.runtime.printnl
call sym.runtime.printunlock
movzx eax, byte [esp + 0x88]
mov ecx, dword [0x5b6f68]
mov dword [esp + 0x7c], ecx
mov edx, dword [0x5b6f6c]
mov dword [esp + 0x44], edx
xor ebx, ebx
jmp 0x3a69d9
lea ebx, [ecx + 1]
movzx eax, byte [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x44]
cmp ebx, edx
jge 0x3a6cd4
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x6c], eax
mov edx, dword [eax + 0x2c]
lea ebp, [eax + 0xe8]
lea esi, [eax + 0xec]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edx
mov dword [esp], ebp
call sym.runtime_internal_atomic.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
movzx ecx, byte [esp + 0x88]
test cl, cl
je 0x3a6c3d
mov eax, dword [esp + 0x34]
sar eax, 0x1f
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 4]
mov dword [esp + 0x64], ebx
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x60], ebp
mov esi, dword [edx + 0x10]
mov dword [esp + 0x54], esi
call sym.runtime.printlock
lea eax, [0x4b2739]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b358d]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b3d91]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b465c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b2643]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x74]
test eax, eax
je 0x3a6b59
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 0x68]
mov dword [esp + 0x68], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printint
call sym.runtime.printunlock
jmp 0x3a6b79
call sym.runtime.printlock
lea eax, [0x4b26ee]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x4f8]
mov dword [esp + 0x68], edx
sar edx, 0x1f
mov dword [esp + 0x5c], edx
mov ecx, dword [ecx + 0x1190]
mov dword [esp + 0x40], ecx
call sym.runtime.printlock
lea eax, [0x4b3937]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b3941]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b3d9c]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov eax, dword [esp + 0x40]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
call sym.runtime.printnl
call sym.runtime.printunlock
mov ecx, dword [esp + 0x34]
jmp 0x3a69c6
call sym.runtime.printlock
call sym.runtime.printsp
call sym.runtime.printunlock
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x3a6c74
call sym.runtime.printlock
lea eax, [0x4b2556]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
call sym.runtime.printlock
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printunlock
mov eax, dword [0x5b6f6c]
dec eax
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jne 0x3a69c6
call sym.runtime.printlock
lea eax, [0x4b25a5]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov ecx, dword [esp + 0x34]
jmp 0x3a69c6
test al, al
je 0x3a6ce0
mov eax, dword [0x5b6c80]
jmp 0x3a6d10
nop
nop
lea eax, [0x5b7958]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x84
ret
call sym.runtime.printlock
call sym.runtime.printnl
call sym.runtime.printunlock
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x3a7043
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ecx
call sym.runtime.printlock
lea eax, [0x4b273c]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b288b]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x74]
test eax, eax
je 0x3a6daa
mov eax, dword [eax]
mov dword [esp + 0x68], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x68]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
call sym.runtime.printunlock
jmp 0x3a6dca
call sym.runtime.printlock
lea eax, [0x4b26ee]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
call sym.runtime.printunlock
call sym.runtime.printlock
lea eax, [0x4b2c6a]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x3a6e23
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x60], ecx
call sym.runtime.printlock
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printunlock
jmp 0x3a6e43
call sym.runtime.printlock
lea eax, [0x4b26ee]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [esp + 0x68], ecx
sar ecx, 0x1f
mov dword [esp + 0x5c], ecx
mov ebx, dword [eax + 0x70]
mov dword [esp + 0x3c], ebx
mov ebp, dword [eax + 0x74]
mov dword [esp + 0x80], ebp
mov esi, dword [eax + 0x78]
mov dword [esp + 0x44], esi
mov edi, dword [eax + 0x7c]
mov dword [esp + 0x58], edi
sar edi, 0x1f
mov dword [esp + 0x50], edi
mov edi, dword [eax + 0x80]
mov dword [esp + 0x4c], edi
sar edi, 0x1f
mov dword [esp + 0x48], edi
movzx edi, byte [eax + 0x88]
xchg edi, eax
mov byte [esp + 0x1b], al
xchg edi, eax
movzx eax, byte [eax + 0x89]
mov byte [esp + 0x1a], al
call sym.runtime.printlock
lea eax, [0x4b3da7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b394b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b42c2]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4b2ea3]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b2eaa]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4b3955]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call sym.runtime.printstring
movzx eax, byte [esp + 0x1b]
mov byte [esp], al
call sym.runtime.printbool
lea eax, [0x4b3596]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
movzx eax, byte [esp + 0x1a]
mov byte [esp], al
call sym.runtime.printbool
lea eax, [0x4b359f]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x3a701e
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x60], ecx
call sym.runtime.printlock
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printunlock
jmp 0x3a6cf7
call sym.runtime.printlock
lea eax, [0x4b26ee]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
call sym.runtime.printunlock
jmp 0x3a6cf7
lea eax, [0x4bfcd0]
mov dword [esp], eax
call sym.runtime.forEachG
nop
nop
lea eax, [0x5b7958]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x84
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.schedtrace