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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x431b30
sub esp, 0xa4
call dbg.runtime.nanotime
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [0x583d84]
mov ebx, dword [0x583d80]
test edx, edx
sete dl
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x43109c
mov dword [0x583d80], eax
mov dword [0x583d84], ecx
lea eax, [0x573a50]
mov dword [esp], eax
call dbg.runtime.lock
mov eax, dword [0x583d80]
mov ecx, dword [esp + 0x20]
mov edx, ecx
sub ecx, eax
mov ebx, dword [0x573a60]
mov ebp, dword [0x573a70]
sub ebx, ebp
mov dword [esp + 0x88], ebx
mov ebp, dword [0x583d84]
mov dword [esp], ecx
sub edx, eax
mov eax, dword [esp + 0x24]
sbb eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call dbg.runtime.int64div
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov edx, dword [0x573a80]
mov dword [esp + 0x7c], edx
mov ebx, dword [0x573a84]
mov dword [esp + 0x78], ebx
mov ebp, dword [0x573a58]
mov dword [esp + 0x74], ebp
mov esi, dword [0x573a90]
mov dword [esp + 0x70], esi
call dbg.runtime.printlock
lea eax, [0x4ea348]
mov dword [esp], eax
mov dword [esp + 4], 6
call dbg.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ebc4e]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call dbg.runtime.printstring
mov eax, dword [0x583cb0]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eadcf]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call dbg.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4ea929]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x88]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ec0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call dbg.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4eb40b]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call dbg.runtime.printstring
mov eax, dword [esp + 0x74]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eab4a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x70]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
call dbg.runtime.printunlock
movzx eax, byte [esp + 0xa8]
test al, al
jne 0x431a2d
mov ecx, dword [0x5736f8]
mov dword [esp + 0xa0], ecx
mov edx, dword [0x5736fc]
mov dword [esp + 0x6c], edx
xor ebx, ebx
jmp 0x4312b1
mov ebp, dword [esp + 0x54]
lea ebx, [ebp + 1]
movzx eax, byte [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x6c]
cmp ebx, edx
jge 0x431552
mov dword [esp + 0x54], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x94], eax
mov edx, dword [eax + 0x30]
lea ebp, [eax + 0x308]
mov dword [esp + 0x9c], edx
mov dword [esp], ebp
call dbg.runtime/internal/atomic.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x94]
lea edx, [ecx + 0x30c]
mov dword [esp], edx
call dbg.runtime/internal/atomic.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esp + 0xa8]
test cl, cl
je 0x4314b6
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x4314a7
mov ebx, dword [edx + 0x60]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x80], ebp
mov esi, dword [eax + 0x14]
mov dword [esp + 0x7c], esi
mov eax, dword [eax + 0x718]
mov dword [esp + 0x84], eax
call dbg.runtime.printlock
lea eax, [0x4e9e11]
mov dword [esp], eax
mov dword [esp + 4], 3
call dbg.runtime.printstring
mov eax, dword [esp + 0x54]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea995]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4eae27]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call dbg.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4eb44c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call dbg.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4e9e29]
mov dword [esp], eax
mov dword [esp + 4], 3
call dbg.runtime.printstring
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eab40]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
sub eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4eab2c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x84]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
call dbg.runtime.printnl
call dbg.runtime.printunlock
jmp 0x431297
mov edx, 0xffffffff
mov ebx, 0xffffffff
jmp 0x431329
call dbg.runtime.printlock
call dbg.runtime.printsp
call dbg.runtime.printunlock
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43152d
call dbg.runtime.printlock
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
sub eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
call dbg.runtime.printunlock
mov eax, dword [0x5736fc]
dec eax
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x431297
call dbg.runtime.printlock
lea eax, [0x4e9df3]
mov dword [esp], eax
mov dword [esp + 4], 2
call dbg.runtime.printstring
call dbg.runtime.printunlock
mov ecx, dword [esp + 0x54]
jmp 0x431297
call dbg.runtime.printlock
lea eax, [0x4e9d6d]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call dbg.runtime.printunlock
jmp 0x4314cd
test al, al
je 0x431a18
mov eax, dword [0x5731d0]
jmp 0x4317e0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x88], edx
mov ebp, dword [eax + 0x64]
mov dword [esp + 0x74], ebp
mov edi, dword [eax + 0x68]
mov dword [esp + 0x70], edi
mov esi, dword [eax + 0x70]
mov dword [esp + 0x6c], esi
mov ebx, dword [eax + 0x6c]
mov dword [esp + 0x98], ebx
mov esi, dword [eax + 0x74]
mov dword [esp + 0x68], esi
mov esi, dword [eax + 0x7c]
mov dword [esp + 0x64], esi
mov esi, dword [eax + 0x84]
mov dword [esp + 0x60], esi
movzx esi, byte [eax + 0x88]
xchg esi, eax
mov byte [esp + 0x1b], al
xchg esi, eax
movzx eax, byte [eax + 0x89]
mov byte [esp + 0x1a], al
call dbg.runtime.printlock
lea eax, [0x4e9e0e]
mov dword [esp], eax
mov dword [esp + 4], 3
call dbg.runtime.printstring
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4e9f88]
mov dword [esp], eax
mov dword [esp + 4], 4
call dbg.runtime.printstring
mov eax, dword [esp + 0x48]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea270]
mov dword [esp], eax
mov dword [esp + 4], 6
call dbg.runtime.printstring
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eadf0]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call dbg.runtime.printstring
mov eax, dword [esp + 0x74]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eab90]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x70]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eb104]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call dbg.runtime.printstring
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.printstring
lea eax, [0x4ea437]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea430]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.runtime.printstring
mov eax, dword [esp + 0x64]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea61c]
mov dword [esp], eax
mov dword [esp + 4], 8
call dbg.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eab5e]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
movzx eax, byte [esp + 0x1b]
mov byte [esp], al
call dbg.runtime.printbool
lea eax, [0x4ea8c6]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
movzx eax, byte [esp + 0x1a]
mov byte [esp], al
call dbg.runtime.printbool
lea eax, [0x4ea8e1]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call dbg.runtime.printint
call dbg.runtime.printnl
call dbg.runtime.printunlock
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x43183e
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0xc4]
test ecx, ecx
je 0x431837
mov ecx, dword [ecx + 4]
test edx, edx
je 0x43182b
mov ebp, dword [edx + 0x54]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ecx
test ebx, ebx
je 0x43181c
mov esi, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x50]
jmp 0x431565
mov ebx, 0xffffffff
mov esi, 0xffffffff
jmp 0x431565
mov edx, 0xffffffff
mov ebp, 0xffffffff
jmp 0x431801
mov ecx, 0xffffffff
jmp 0x4317f7
lea eax, [0x583c44]
mov dword [esp], eax
call dbg.runtime.lock
xor eax, eax
jmp 0x431993
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x90], ecx
mov dword [esp], ecx
call dbg.runtime.readgstatus
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x80], ebx
mov ebp, dword [eax + 0x60]
mov dword [esp + 0x98], ebp
mov eax, dword [eax + 0x64]
mov dword [esp + 0x6c], eax
call dbg.runtime.printlock
lea eax, [0x4e9e0b]
mov dword [esp], eax
mov dword [esp + 4], 3
call dbg.runtime.printstring
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea995]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4e9d56]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.printstring
lea eax, [0x4e9f6c]
mov dword [esp], eax
mov dword [esp + 4], 4
call dbg.runtime.printstring
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4ea8ea]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.printint
call dbg.runtime.printnl
call dbg.runtime.printunlock
mov eax, dword [esp + 0x5c]
inc eax
mov ecx, dword [0x5736e8]
mov edx, dword [0x5736ec]
cmp eax, edx
jge 0x4319f5
jae 0x431b29
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x88]
test edx, edx
je 0x4319e9
mov ebp, dword [edx + 0x60]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x5c], eax
test ebx, ebx
je 0x4319da
mov esi, dword [ebx + 0x60]
mov ebx, dword [ebx + 0x5c]
jmp 0x431853
mov ebx, 0xffffffff
mov esi, 0xffffffff
jmp 0x431853
mov edx, 0xffffffff
mov ebp, 0xffffffff
jmp 0x4319bf
lea eax, [0x583c44]
mov dword [esp], eax
call dbg.runtime.unlock
lea eax, [0x573a50]
mov dword [esp], eax
call dbg.runtime.unlock
add esp, 0xa4
ret
lea eax, [0x573a50]
mov dword [esp], eax
call dbg.runtime.unlock
add esp, 0xa4
ret
mov eax, dword [0x573ac8]
mov dword [esp + 0x88], eax
mov ecx, dword [0x573a5c]
mov dword [esp + 0x84], ecx
mov edx, dword [0x573acc]
mov dword [esp + 0x74], edx
mov ebx, dword [0x573ad4]
mov dword [esp + 0x80], ebx
call dbg.runtime.printlock
lea eax, [0x4eadae]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call dbg.runtime.printstring
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
lea eax, [0x4eb6a3]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call dbg.runtime.printstring
mov eax, dword [esp + 0x84]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eab68]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call dbg.runtime.printstring
mov eax, dword [esp + 0x74]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call dbg.runtime.printint
lea eax, [0x4eb140]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call dbg.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.printuint
call dbg.runtime.printnl
call dbg.runtime.printunlock
movzx eax, byte [esp + 0xa8]
jmp 0x43127c
call dbg.runtime.panicindex
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.schedtrace