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

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x3afb17
sub esp, 0xd4
mov eax, dword [0x5dbf38]
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 0x3afb00
mov dword [esp + 0x64], eax
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x7c], ebp
cmp edx, ebp
jne 0x3af9c7
movzx edx, byte [ebp + 0x6b]
test dl, dl
jne 0x3af667
lea esi, [ecx + 4]
lea edi, [esp + 0x80]
call fcn.003c770a
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 0x3aefe7
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x18]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
jne 0x3aefc3
mov ebx, dword [edx + 0x6c]
test ebx, ebx
jne 0x3aefc3
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x3aefc3
mov edx, dword [edx + 0x58]
cmp dword [edx + 4], 1
je 0x3aefeb
mov eax, dword [esp + 0x7c]
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 0x3aefeb
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx]
test ebx, ebx
je 0x3af651
mov ebp, dword [edx + 0x1c]
lea esi, [ebp - 4]
mov dword [esp + 0x1c], esi
cmp ebx, esi
jbe 0x3af21c
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebp
mov eax, dword [edx + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x94]
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 + 0x78], edx
call sym.runtime.printlock
lea eax, [0x4b6e7e]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b3206]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2571]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b4e59]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b3]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b7]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b469d]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b3]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b7]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2c70]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b25a3]
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 + 0x7c]
mov esi, dword [esp + 0x1c]
cmp dword [edx], esi
ja 0x3af512
cmp eax, 0xfffffade
jne 0x3af288
mov ecx, dword [ecx + 0x18]
cmp dword [ecx], edx
je 0x3af4fc
mov ebx, dword [ecx + 0x58]
test ebx, ebx
jne 0x3af248
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x3af4e6
movzx ecx, byte [edx + 0x67]
test cl, cl
je 0x3af268
mov byte [edx + 0x67], 0
mov dword [esp], edx
call sym.runtime.shrinkstack
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [edx + 0x66]
test cl, cl
je 0x3af27c
mov dword [esp], edx
call sym.runtime.preemptPark
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call sym.runtime.gopreempt_m
mov edx, dword [esp + 0x7c]
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 0x3af2dc
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 + 0x7c]
mov edx, dword [ecx + 4]
add eax, 0xba0
sub edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x2c]
jmp 0x3af4d3
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffeed
je 0x3af2e9
mov edx, ecx
mov eax, dword [0x59e2ec]
cmp edx, eax
ja 0x3af361
cmp dword [0x59e2f0], edx
jb 0x3af361
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 8
call sym.runtime.casgstatus
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call sym.runtime.copystack
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 2
call sym.runtime.casgstatus
mov eax, dword [esp + 0x7c]
add eax, 0x1c
mov dword [esp], eax
call sym.runtime.gogo
add esp, 0xd4
ret
cmp dword [0x59e2f0], eax
jbe 0x3af47e
call sym.runtime.printlock
lea eax, [0x4bae3e]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.printstring
mov eax, dword [0x59e2ec]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b42e6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x7c]
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, [0x4b42f2]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b3206]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2571]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b25a5]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
lea eax, [0x4b4a93]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.throw
call sym.runtime.printlock
lea eax, [0x4bae3e]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call sym.runtime.printstring
mov eax, dword [0x59e2f0]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b42e6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
call sym.runtime.printunlock
jmp 0x3af3b9
shl ebp, 1
mov ebx, ebp
mov ebp, ebx
sub ebx, edx
cmp ebx, eax
jb 0x3af4cf
mov edx, dword [esp + 0x28]
mov ecx, ebp
jmp 0x3af2dc
lea eax, [0x4bb26e]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.runtime.throw
lea eax, [0x4b6302]
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 + 0x7c]
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, [0x4b41d2]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b2e56]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4b46aa]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b25a9]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
call sym.runtime.printlock
lea eax, [0x4ba48b]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2742]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4b9bbc]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.throw
lea eax, [0x4b8773]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call sym.runtime.throw
lea esi, [ecx + 4]
lea edi, [esp + 0x9c]
call fcn.003c770a
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0xa0]
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 0x3af96e
mov eax, 9
lea ecx, [0x4b35c3]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x7c]
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 + 0xa0]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xb0]
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 + 0x78], ebx
call sym.runtime.printlock
lea eax, [0x4b6e69]
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, [0x4b255b]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28af]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b3206]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2571]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b4e59]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b3]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b7]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b469d]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b3]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28b7]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b2c70]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b25a3]
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 + 0x9d], 2
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
call sym.runtime.traceback1
lea eax, [0x4ba8e1]
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]
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 + 0x7c]
mov edx, dword [eax + 0x20]
sub edx, dword [esp + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
jmp 0x3af6ae
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x6c], edx
call sym.runtime.printlock
lea eax, [0x4ba8c1]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x4b28ab]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b35ba]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b2ebf]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x4b42da]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x6c]
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 + 0xb8]
call fcn.003c770a
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc0]
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, [0x4bb9b9]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
lea eax, [0x4b7c1f]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.newstack