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

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46b075
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x48], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x46b063
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
mov ebx, dword [eax + 0x9c]
mov ebp, dword [eax + 0xa0]
test edx, edx
xchg esi, ebx
setg bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
test ecx, ecx
seta al
and eax, edi
or eax, esi
test al, al
je 0x46ab5e
cmp edx, ebp
sete al
cmp ecx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
and eax, esi
jmp 0x46ab60
xor eax, eax
mov byte [esp + 0x2a], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x78]
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov ebx, dword [esp + 0x74]
test ebx, ebx
seta al
and edi, eax
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46abe2
call sym.runtime.nanotime1
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x74]
add edx, eax
mov eax, dword [esp + 0x78]
adc eax, ecx
test eax, eax
sete cl
setl bl
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ecx, ebp
or ebx, ecx
test bl, bl
je 0x46abd6
mov eax, 0x7fffffff
mov edx, 0xffffffff
mov ecx, dword [esp + 0x34]
mov esi, eax
mov ebx, edx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x7c]
cmp eax, 0x72
je 0x46abf2
cmp eax, 0xe9
jne 0x46abfe
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], esi
jmp 0x46ac02
mov ebp, dword [esp + 0x70]
cmp eax, 0x77
je 0x46ac0e
cmp eax, 0xe9
jne 0x46ac1a
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], esi
mov dword [esp], ebp
call sym.runtime._pollDesc_.publishInfo
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46ac65
cmp dword [eax + 0xa0], edx
sete bl
cmp dword [eax + 0x9c], ecx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
jmp 0x46ac67
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x46ac75
lea ebx, [0x71c74c]
jmp 0x46ac7b
lea ebx, [0x71c750]
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
movzx edi, byte [eax + 0x1d]
xchg edi, eax
test al, al
xchg edi, eax
je 0x46ad75
mov ebp, dword [esp + 0x38]
cmp edx, ebp
setne dl
mov ebp, dword [esp + 0x34]
cmp ecx, ebp
setne cl
or ecx, edx
test cl, cl
je 0x46acae
movzx ecx, byte [esp + 0x2a]
jmp 0x46acbd
movzx ecx, byte [esp + 0x2a]
xchg esi, eax
cmp al, cl
xchg esi, eax
je 0x46adf5
inc dword [eax + 0x24]
mov edx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x60]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
test edx, edx
seta dl
and ebp, edx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x46ad53
lea ecx, [eax + 0x28]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [0x9160e8]
lea ebp, [eax + 0xa4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [eax + 0x5c]
mov edi, dword [eax + 0x60]
mov eax, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call sym.runtime._timer_.modify
mov eax, dword [esp + 0x70]
jmp 0x46ad66
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime._timer_.stop
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1d], 0
movzx ecx, byte [esp + 0x2a]
movzx esi, byte [esp + 0x2b]
jmp 0x46adf5
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46adf0
lea ecx, [eax + 0x28]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edx, dword [0x9160e8]
lea ebp, [eax + 0xa4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov esi, dword [eax + 0x5c]
mov edi, dword [eax + 0x60]
mov eax, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call sym.runtime._timer_.modify
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1d], 1
movzx esi, byte [esp + 0x2b]
movzx ecx, byte [esp + 0x2a]
movzx edx, byte [eax + 0x1e]
test dl, dl
je 0x46aeee
mov edx, dword [esp + 0x2c]
cmp dword [eax + 0x9c], edx
setne dl
mov ebx, dword [esp + 0x30]
cmp dword [eax + 0xa0], ebx
setne bl
or edx, ebx
test dl, dl
jne 0x46ae2b
xchg esi, eax
cmp al, cl
xchg esi, eax
je 0x46af95
inc dword [eax + 0x64]
mov ecx, dword [eax + 0x9c]
mov edx, dword [eax + 0xa0]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ecx, ebx
or ecx, edx
test cl, cl
je 0x46aed6
xchg esi, eax
test al, al
xchg esi, eax
jne 0x46aed6
lea ecx, [eax + 0x68]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [0x9160e8]
lea ebx, [eax + 0xa4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [eax + 0x9c]
mov esi, dword [eax + 0xa0]
mov edi, dword [eax + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea ecx, [0x71c754]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call sym.runtime._timer_.modify
mov eax, dword [esp + 0x70]
jmp 0x46af95
lea ecx, [eax + 0x68]
mov dword [esp], ecx
call sym.runtime._timer_.stop
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1e], 0
jmp 0x46af95
mov ecx, dword [eax + 0x9c]
mov edx, dword [eax + 0xa0]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ecx, ebx
or ecx, edx
test cl, cl
je 0x46af95
xchg esi, eax
test al, al
xchg esi, eax
jne 0x46af95
lea ecx, [eax + 0x68]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov edx, dword [0x9160e8]
lea ebx, [eax + 0xa4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [eax + 0x9c]
mov esi, dword [eax + 0xa0]
mov edi, dword [eax + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea ecx, [0x71c754]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call sym.runtime._timer_.modify
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1e], 1
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + 0x60]
test ecx, ecx
jl 0x46afa8
xor ecx, ecx
jmp 0x46afcf
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ecx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xa0]
test edx, edx
jl 0x46afe1
xor eax, eax
jmp 0x46b002
mov dword [esp], eax
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
nop
nop
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call sym.runtime.unlock2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46b02c
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46b044
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46b05f
nop
lea ecx, [0x9364e8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.internal_runtime_atomic.Xadd
add esp, 0x6c
ret
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollSetDeadline