Function at 0x456a60
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5c4da0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456f36
sub esp, 0x2c
mov eax, dword [esp + 0x38]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 0x34]
test ebx, ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x456f1f
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x456f09
mov eax, dword [esp + 0x30]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x456b63
cmp eax, 1
jbe 0x456b5a
cmp eax, 2
je 0x456c00
mov eax, dword [0x5c4da0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 6
call sym.runtime_internal_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456ca8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5c4da0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x456aaa
movzx eax, byte [ebx + 0x65]
test al, al
je 0x456aaa
mov dword [ebx + 8], 0xfffffade
jmp 0x456aaa
test eax, eax
je 0x456b75
jmp 0x456c1d
cmp eax, 5
ja 0x456bed
cmp eax, 4
je 0x456c00
mov ecx, dword [0x5c4da0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call sym.runtime_internal_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456cd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5c4da0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x456aaa
movzx eax, byte [ebx + 0x65]
test al, al
je 0x456aaa
mov dword [ebx + 8], 0xfffffade
jmp 0x456aaa
cmp eax, 6
je 0x456c95
cmp eax, 8
jbe 0x456c1d
cmp eax, 9
jne 0x456c13
lea eax, [0x4e0260]
mov dword [esp], eax
call sym.runtime.systemstack
jmp 0x456aaa
call sym.runtime.badTimer
jmp 0x456aaa
mov ecx, dword [0x5c4da0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call sym.runtime_internal_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456cdd
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5c4da0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x456aaa
movzx eax, byte [ebx + 0x65]
test al, al
je 0x456aaa
mov dword [ebx + 8], 0xfffffade
jmp 0x456aaa
lea eax, [0x4e0264]
mov dword [esp], eax
call sym.runtime.systemstack
jmp 0x456aaa
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
test byte [ecx], al
add ecx, 0x11bc
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call sym.runtime_internal_atomic.Xadd
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x456ce8
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x456ce8
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, 1
mov byte [esp + 0x13], dl
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0x5c4e58]
test ebx, ebx
jne 0x456d12
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
jmp 0x456d30
call sym.runtime.gcWriteBarrier4
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [edi + 8], esi
mov edx, dword [ebp + 0x1c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x14], ebx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], esi
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x20], edx
test al, al
jne 0x456e37
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x24], eax
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x28], edx
mov ebx, dword [ebp + 8]
cmp edx, ebx
sete bl
xchg esi, ebx
setl bl
xchg esi, ebx
cmp dword [ebp + 4], eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x456d88
mov ebx, 7
jmp 0x456d8d
mov ebx, 8
mov dword [esp + 0x14], ebx
cmp ebx, 7
jne 0x456dad
mov ecx, dword [ebp]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.updateTimerModifiedEarliest
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], ebx
call sym.runtime_internal_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456dd3
call sym.runtime.badTimer
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
mov ebx, dword [0x5c4da0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x456e11
movzx eax, byte [ebx + 0x65]
test al, al
je 0x456e08
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x456e18
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x456e18
mov eax, dword [esp + 0x14]
cmp eax, 7
jne 0x456efc
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.wakeNetPoller
jmp 0x456efc
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [ebp + 8], ecx
mov edx, dword [0x5c4da0]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp + 0x24], edx
test byte [edx], al
lea ebx, [edx + 0x11a8]
mov dword [esp + 0x20], ebx
nop
mov dword [esp], ebx
call sym.runtime.lock2
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sym.runtime.doaddtimer
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call sym.runtime_internal_atomic.Cas
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456ebb
call sym.runtime.badTimer
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5c4da0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x456ee8
movzx eax, byte [ebx + 0x65]
test al, al
je 0x456ee8
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.wakeNetPoller
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x54], al
add esp, 0x2c
ret
lea eax, [0x4dc446]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.throw
lea eax, [0x4dab6a]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.modtimer