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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x49a346
sub esp, 0xb8
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0044b78b
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
call edx
lea esi, [esp + 4]
lea edi, [esp + 0x64]
call fcn.0044bc6e
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x2f], cl
lea edi, [esp + 0x50]
lea esi, [esp + 0x64]
call fcn.0044bc6e
movzx ecx, byte [esp + 0x2f]
test cl, cl
jne 0x49a2d1
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044b788
lea edi, [esp + 0x98]
call fcn.0044b788
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x9c], edx
lea edi, [esp + 0x78]
lea esi, [esp + 0x98]
call fcn.0044bc50
lea ecx, [0x4db9c0]
mov dword [esp], ecx
call dbg.runtime.newobject
mov ecx, dword [0x583e20]
mov edi, dword [esp + 4]
mov dword [esp + 0x38], edi
lea edx, [edi + 0x24]
test ecx, ecx
jne 0x49a28d
lea esi, [esp + 0x78]
call fcn.0044bc50
mov edi, edx
lea esi, [esp + 0xc4]
call fcn.0044bc6e
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [0x500f30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call dbg.context.propagateCancel
mov edi, esp
lea esi, [esp + 0xc4]
call fcn.0044bc6e
call dbg.time.Until
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
sete dl
test ecx, ecx
setbe bl
and edx, ebx
test eax, eax
setl bl
or ebx, edx
test bl, bl
je 0x49a12e
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 1
mov ecx, dword [0x570054]
mov edx, dword [0x570050]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call dbg.context.(*timerCtx).cancel
lea eax, [0x4d1640]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x49a9b0]
mov dword [eax], ecx
mov ecx, dword [0x583e20]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49a110
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x5012e0]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call dbg.runtime.deferreturn
add esp, 0xb8
ret
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
jmp 0x49a0e8
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
lea ecx, [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
call dbg.sync.(*Mutex).Lock
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x4f3124]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x49a280
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x49a1ee
lea eax, [0x4d1640]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x49aa50]
mov dword [eax], ecx
mov ecx, dword [0x583e20]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49a1d0
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x5012e0]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call dbg.runtime.deferreturn
add esp, 0xb8
ret
mov dword [esp + 0x44], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
jmp 0x49a1a8
lea eax, [0x4d1640]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x49aa00]
mov dword [eax], ecx
mov ecx, dword [0x583e20]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49a266
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dbg.time.AfterFunc
mov eax, dword [0x583e20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 0x20]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x49a251
mov dword [ecx + 0x20], ebx
jmp 0x49a17a
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x38]
jmp 0x49a17a
mov dword [esp + 0x40], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
jmp 0x49a21c
nop
call dbg.runtime.deferreturn
add esp, 0xb8
ret
mov dword [esp + 0x3c], edx
lea eax, [0x4dec40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
lea eax, [0x4e8340]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0xc4]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
jmp 0x49a033
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0044bc6e
lea edi, [esp + 0x14]
lea esi, [esp + 0xc4]
call fcn.0044bc6e
call dbg.time.Time.Before
movzx eax, byte [esp + 0x28]
test al, al
je 0x499fb2
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call dbg.context.WithCancel
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
nop
call dbg.runtime.deferreturn
add esp, 0xb8
ret
call dbg.runtime.morestack_noctxt
jmp dbg.context.WithDeadline