Function at 0x450650
Capabilities:
Hide shutdown actions via policy
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5c4da0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x4512cf
sub esp, 0xd4
mov eax, dword [0x5c4da0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, edx
cmp dword [edx + 8], 0xfffffb2e
je 0x4512b8
mov dword [esp + 0x64], eax
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0xd0], ebp
cmp edx, ebp
jne 0x45116a
movzx edx, byte [ebp + 0x6b]
test dl, dl
jne 0x450dfa
lea esi, [ecx + 4]
lea edi, [esp + 0x6c]
call fcn.004693ba
mov ecx, dword [eax + 0x18]
mov dword [ecx + 8], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x18], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 4], 0
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xc], 0
lea ecx, [ebp + 8]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Loaduintptr
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
cmp eax, 0xfffffade
jne 0x45074a
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x18]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
jne 0x450723
mov ebx, dword [edx + 0x6c]
test ebx, ebx
jne 0x450723
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x450723
mov edx, dword [edx + 0x58]
cmp dword [edx + 4], 1
je 0x45074e
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
add ecx, 0xba0
mov dword [eax + 8], ecx
lea ecx, [eax + 0x1c]
mov dword [esp], ecx
call sym.runtime.gogo
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
jmp 0x45074e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx]
test ebx, ebx
je 0x450de4
mov ebp, dword [edx + 0x1c]
lea esi, [ebp - 4]
mov dword [esp + 0x1c], esi
cmp ebx, esi
jbe 0x450985
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebp
mov eax, dword [edx + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x4c], ebp
mov esi, dword [edx + 0x20]
mov dword [esp + 0x48], esi
mov edi, dword [edx + 0x30]
mov dword [esp + 0x44], edi
mov edx, dword [edx + 0x28]
mov dword [esp + 0xcc], edx
call sym.runtime.printlock
lea eax, [0x4d8ddd]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5a27]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5155]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d71d5]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53cc]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53d0]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d6ab5]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53cc]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53d0]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d568a]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d517d]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0x1c]
cmp dword [edx], esi
ja 0x450c9c
cmp eax, 0xfffffade
jne 0x450a00
mov ecx, dword [ecx + 0x18]
cmp dword [ecx], edx
je 0x450c86
mov ebx, dword [ecx + 0x58]
test ebx, ebx
jne 0x4509b1
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x450c70
movzx ecx, byte [edx + 0x67]
test cl, cl
je 0x4509d4
mov byte [edx + 0x67], 0
mov dword [esp], edx
call sym.runtime.shrinkstack
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [edx + 0x66]
test cl, cl
je 0x4509eb
mov dword [esp], edx
call sym.runtime.preemptPark
mov edx, dword [esp + 0xd0]
nop
mov dword [esp], edx
mov byte [esp + 4], 1
call sym.runtime.goschedImpl
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0x20]
mov dword [esp], ecx
call sym.runtime.findfunc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, ecx
shl ecx, 1
test eax, eax
je 0x450a57
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.funcMaxSPDelta
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + 4]
add eax, 0xba0
sub edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x2c]
jmp 0x450c5d
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffeed
je 0x450a64
mov edx, ecx
mov eax, dword [0x57a1dc]
cmp edx, eax
ja 0x450ae8
cmp dword [0x57a1e0], edx
jb 0x450ae8
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 8
call sym.runtime.casgstatus
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call sym.runtime.copystack
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 2
call sym.runtime.casgstatus
mov eax, dword [esp + 0xd0]
add eax, 0x1c
mov dword [esp], eax
call sym.runtime.gogo
add esp, 0xd4
ret
cmp dword [0x57a1e0], eax
jbe 0x450c08
call sym.runtime.printlock
lea eax, [0x4dc404]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.printstring
mov eax, dword [0x57a1dc]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
lea eax, [0x4d6797]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
call sym.runtime.printlock
lea eax, [0x4d67a3]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5a27]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5155]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d517f]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
lea eax, [0x4d6eb5]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.throw
call sym.runtime.printlock
lea eax, [0x4dc404]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.printstring
mov eax, dword [0x57a1e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printuint
lea eax, [0x4d6797]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
call sym.runtime.printunlock
jmp 0x450b40
shl ebp, 1
mov ebx, ebp
mov ebp, ebx
sub ebx, edx
cmp ebx, eax
jb 0x450c59
mov edx, dword [esp + 0x28]
mov ecx, ebp
jmp 0x450a57
lea eax, [0x4dc74e]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.runtime.throw
lea eax, [0x4d83d5]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call sym.runtime.throw
lea eax, [edx + 0x48]
nop
mov dword [esp], eax
call sym.runtime_internal_atomic.Load
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x14], ebx
call sym.runtime.printlock
lea eax, [0x4d6677]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d57b3]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.printuint
lea eax, [0x4d6ac2]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5183]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0xd0]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
call sym.runtime.printlock
lea eax, [0x4dbba9]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5297]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4db3a0]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.throw
lea eax, [0x4da25a]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call sym.runtime.throw
lea esi, [ecx + 4]
lea edi, [esp + 0x88]
call fcn.004693ba
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call sym.runtime.findfunc
mov eax, dword [esp + 4]
test eax, eax
jne 0x45110d
mov eax, 9
lea ecx, [0x4d5cd8]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xd0]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x60], ebp
mov esi, dword [ebx]
mov dword [esp + 0x5c], esi
mov edi, dword [ebx + 4]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x4c], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x48], edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x44], edi
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0xcc], ebx
call sym.runtime.printlock
lea eax, [0x4d8dc8]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4d5136]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53c8]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5a27]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d5155]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d71d5]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53cc]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53d0]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d6ab5]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53cc]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53d0]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d568a]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d517d]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x95], 2
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
call sym.runtime.traceback1
lea eax, [0x4dbf66]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call sym.runtime.throw
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.runtime._moduledata_.textAddr
mov eax, dword [esp + 0xd0]
mov edx, dword [eax + 0x20]
sub edx, dword [esp + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
jmp 0x450e41
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov dword [esp + 0xc4], eax
mov edx, dword [ecx + 0x30]
mov dword [esp + 0xc0], edx
call sym.runtime.printlock
lea eax, [0x4dbf46]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call sym.runtime.printstring
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4d53c4]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d5ccf]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d581c]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4d678b]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.runtime.printpointer
call sym.runtime.printnl
call sym.runtime.printunlock
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea esi, [eax + 4]
lea edi, [esp + 0xa4]
call fcn.004693ba
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call sym.runtime.traceback1
lea eax, [0x4dcdad]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
lea eax, [0x4d9903]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.newstack