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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42fada
sub esp, 0x58
mov eax, dword [0x72834c]
cmp eax, 0x400
ja 0x42fac2
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x42fac2
cmp ecx, 0x400
jg 0x42fac2
mov dword [esp + 0xc], eax
movzx edx, byte [0x7201c8]
test dl, dl
jne 0x42fa7a
call dbg.runtime.nanotime
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x10], ecx
mov edx, dword [0x716318]
mov ebx, dword [0x71631c]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42fa6f
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov ebp, ecx
sub ecx, edx
mov esi, eax
mov eax, ecx
mov edi, dword [esp + 0xc]
mul edi
mov dword [esp + 0x2c], edx
mov edx, dword [0x716320]
mov dword [esp + 0x28], edx
add edx, eax
mov ebx, dword [0x716324]
mov dword [0x716320], edx
mov edx, edi
sar edi, 0x1f
imul ecx, edi
mov edi, dword [esp + 0x34]
sub ebp, edi
mov ebp, dword [esp + 0x30]
mov edi, esi
sbb esi, ebp
imul esi, edx
mov ebp, dword [esp + 0x2c]
add ecx, ebp
add ecx, esi
mov ebp, dword [esp + 0x28]
add ebp, eax
adc ebx, ecx
mov dword [0x716324], ebx
mov eax, dword [esp + 0x10]
mov dword [0x716318], eax
mov dword [0x71631c], edi
xor eax, eax
jmp 0x42f445
inc eax
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jge 0x42f5ce
cmp eax, 0x401
jae 0x42fabb
mov dword [esp + 0x18], eax
lea ebx, [0x7185c0]
mov ebp, dword [ebx + eax*4]
lea esi, [ebx + eax*4]
test ebp, ebp
je 0x42f4cc
mov esi, dword [ebp + 0x34]
test esi, esi
jne 0x42f444
mov dword [esp + 0x38], ebp
test edx, edx
jne 0x42f4a6
test eax, eax
jne 0x42f4a6
mov esi, dword fs:[0x14]
mov esi, dword [esi]
mov esi, dword [esi + 0x18]
mov esi, dword [esi + 0xb0]
test esi, esi
je 0x42fa9c
mov dword [ebp + 0x34], esi
jmp 0x42f444
call dbg.runtime.allocmcache
mov eax, dword [esp]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
lea ebx, [0x7185c0]
jmp 0x42f444
mov dword [esp + 0x54], esi
lea eax, [0x5f00a0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
lea edx, [eax + 0x728]
test byte [edx], al
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 0x80
mov ebx, dword [0x728500]
lea ebp, [eax + 0x71c]
test ebx, ebx
jne 0x42f5b5
mov dword [eax + 0x71c], edx
xor edx, edx
jmp 0x42f531
lea edx, [edi + 1]
cmp edx, 5
jge 0x42f58a
jae 0x42fab4
lea ebx, [edx + edx*2]
mov dword [eax + ebx*4 + 0x40], 0
mov dword [eax + ebx*4 + 0x44], 0x20
lea ebp, [eax + ebx*4 + 0x3c]
mov esi, dword [0x728500]
mov edi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test esi, esi
jne 0x42f56c
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42f52e
mov dword [esp + 0x24], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x42f52e
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.atomicstorep
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
lea ebx, [0x7185c0]
mov ebp, dword [esp + 0x38]
jmp 0x42f470
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
jmp 0x42f52a
mov eax, ecx
jmp 0x42f7b5
mov esi, dword [0x7162c0]
inc esi
mov dword [0x7162c0], esi
mov esi, dword [ebp + 0x308]
mov edi, dword [ebp + 0x30c]
cmp esi, edi
je 0x42f63b
lea esi, [edi - 1]
mov dword [ebp + 0x30c], esi
and esi, 0xff
mov esi, dword [ebp + esi*4 + 0x310]
mov edi, dword [0x7162b8]
mov dword [esi + 0x68], edi
lea edi, [0x7162b8]
test byte [edi], al
mov edi, esi
mov dword [0x7162b8], edi
mov edi, dword [0x7162bc]
test edi, edi
jne 0x42f5d5
lea edi, [0x7162bc]
test byte [edi], al
mov dword [0x7162bc], esi
jmp 0x42f5d5
mov esi, dword [ebp + 0x710]
test esi, esi
je 0x42f68d
mov edi, dword [0x7162b8]
mov dword [esi + 0x68], edi
lea edi, [0x7162b8]
test byte [edi], al
mov edi, esi
mov dword [0x7162b8], edi
mov edi, dword [0x7162bc]
test edi, edi
jne 0x42f676
lea edi, [0x7162bc]
test byte [edi], al
mov dword [0x7162bc], esi
mov esi, dword [0x7162c0]
inc esi
mov dword [0x7162c0], esi
mov dword [ebp + 0x710], 0
mov esi, dword [ebp + 0x948]
lea edi, [ebp + 0x948]
test esi, esi
jne 0x42f820
lea eax, [ebp + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call dbg.runtime.memclrHasPointers
mov eax, dword [esp + 0x40]
lea ecx, [eax + 0x728]
test byte [ecx], al
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 0x80
mov edx, dword [0x728500]
lea ebx, [eax + 0x71c]
test edx, edx
jne 0x42f80b
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42f6fa
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42f771
jae 0x42fa8e
mov dword [esp + 0x1c], ecx
shl ecx, 7
mov dword [esp + 0x24], ecx
lea ebx, [eax + ecx + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], pe_nt_image_headers32
call dbg.runtime.memclrHasPointers
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x40]
mov dword [edx + ecx*4 + 0x40], 0
mov dword [edx + ecx*4 + 0x44], 0x20
mov ebx, dword [esp + 0x24]
lea ebx, [edx + ebx + 0x78]
mov ebp, dword [0x728500]
lea esi, [edx + ecx*4 + 0x3c]
test ebp, ebp
jne 0x42f75b
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42f6f5
mov dword [esp], esi
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
jmp 0x42f6f5
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call dbg.runtime.freemcache
mov eax, dword [esp + 0x40]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call dbg.runtime.gfpurge
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dbg.runtime.traceProcFree
mov eax, dword [esp + 0x40]
mov dword [eax + 8], 4
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
cmp ecx, edx
jge 0x42f8f2
cmp ecx, 0x401
jae 0x42fa95
mov dword [esp + 0x20], ecx
lea ebx, [0x7185c0]
mov ebp, dword [ebx + ecx*4]
mov dword [esp + 0x40], ebp
movzx esi, byte [0x7201c8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x42f5e2
mov esi, dword fs:[0x14]
mov esi, dword [esi]
mov esi, dword [esi + 0x18]
mov esi, dword [esi + 0x54]
cmp ebp, esi
je 0x42f8c6
jmp 0x42f5e2
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
jmp 0x42f6f1
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], 4
mov dword [esp + 8], 1
call dbg.runtime.casgstatus
movzx eax, byte [0x7201c8]
test al, al
jne 0x42f8b0
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x68], 0
mov ecx, dword [0x7162bc]
test ecx, ecx
je 0x42f89e
lea edx, [ecx + 0x68]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x68], edx
lea ecx, [0x7162bc]
test byte [ecx], al
mov dword [0x7162bc], eax
mov eax, dword [0x7162c0]
inc eax
mov dword [0x7162c0], eax
mov eax, dword [esp + 0x50]
test byte [eax], al
xor eax, eax
mov ecx, eax
mov ebp, dword [esp + 0x40]
mov dword [ebp + 0x948], ecx
jmp 0x42f6a1
lea ecx, [0x7162b8]
test byte [ecx], al
mov ecx, eax
mov dword [0x7162b8], ecx
jmp 0x42f86a
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.traceGoUnpark
jmp 0x42f84b
call dbg.runtime.traceGoSched
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dbg.runtime.traceProcStop
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
lea ebx, [0x7185c0]
mov ebp, dword [esp + 0x40]
jmp 0x42f5e2
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
mov edx, dword [ecx + 0x18]
mov edx, dword [edx + 0x54]
test edx, edx
je 0x42fa14
mov ebx, edx
mov ebp, dword [ebx + 4]
cmp ebp, eax
jge 0x42fa12
mov dword [ebx + 8], 1
lea edx, [eax - 1]
xor ebx, ebx
jmp 0x42f92d
dec edx
mov dword [esp + 0x44], ebx
test edx, edx
jl 0x42f9de
cmp edx, 0x401
jae 0x42fa87
mov ebp, dword [ecx + 0x18]
lea esi, [0x7185c0]
mov edi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, edi
je 0x42f92c
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], edi
mov dword [edi + 8], 0
mov dword [esp], edi
call dbg.runtime.runqempty
movzx eax, byte [esp + 4]
test al, al
jne 0x42f9cc
mov eax, dword [0x716294]
test eax, eax
je 0x42f99b
mov ecx, dword [eax + 0xac]
mov dword [0x716294], ecx
mov ecx, dword [0x716298]
dec ecx
mov dword [0x716298], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 0x30]
test byte [edx], al
mov dword [ecx + 0x30], eax
lea eax, [ecx + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
lea esi, [0x7185c0]
mov ebx, ecx
mov ecx, dword [esp + 0x48]
jmp 0x42f92c
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dbg.runtime.pidleput
mov ecx, dword [esp + 0x44]
jmp 0x42f9b3
lea ecx, [0x715cb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.(*randomOrder).reset
lea eax, [0x72834c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call dbg.runtime/internal/atomic.Store
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], eax
add esp, 0x58
ret
test edx, edx
je 0x42fa1d
mov dword [edx + 0x30], 0
mov eax, dword [ecx + 0x18]
mov dword [eax + 0x54], 0
mov eax, dword [ecx + 0x18]
mov dword [eax + 0xb0], 0
mov eax, dword [0x7185c0]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call dbg.runtime.acquirep
movzx eax, byte [0x7201c8]
test al, al
jne 0x42fa68
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
jmp 0x42f925
call dbg.runtime.traceGoStart
jmp 0x42fa5b
mov edx, dword [esp + 0xc]
mov edi, eax
jmp 0x42f430
mov dword [esp], ecx
call dbg.runtime.traceGomaxprocs
jmp 0x42f395
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
lea eax, [0x5f9047]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call dbg.runtime.throw
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
lea eax, [0x5fbe41]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call dbg.runtime.throw
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.procresize