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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x40988b
sub esp, 0xbc
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sym.runtime.findfunc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.funcname
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.funcNameForPrint
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call sym.internal_bytealg.IndexByteString
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409848
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp edx, ecx
jg 0x40962b
mov dword [esp], 0
lea eax, [0x531034]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.throw
mov ebx, dword [esp + 0x68]
lea ebp, [eax + ebx - 1]
cmp word [ebp], 0x282e
jne 0x4095ed
lea ebp, [eax + ebx + 1]
cmp byte [ebp], 0x2a
jne 0x4095ed
mov dword [esp + 0x60], eax
sub edx, eax
mov dword [esp + 0x64], edx
lea ebp, [edx - 2]
mov dword [esp + 0x5c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebp + ebx]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov byte [esp + 8], 0x29
call sym.internal_bytealg.IndexByteString
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409806
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp ecx, edx
jl 0x4096d1
mov dword [esp], 0
lea eax, [0x530968]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.throw
mov ebx, dword [esp + 0x70]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x409693
mov edx, dword [esp + 0x60]
dec edx
mov ebp, dword [esp + 0x64]
sub ebp, eax
add ebp, 0xfffffffc
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebx + ebp]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x74]
mov ebp, eax
xor eax, eax
call fcn.0047547e
mov dword [esp + 0x78], 0xd
lea ecx, [0x526b71]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 1
lea ecx, [0x53a284]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], esi
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0x13
lea ecx, [0x528cae]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb8], 8
lea ecx, [0x5256f8]
mov dword [esp + 0xb4], ecx
mov dword [esp], 0
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
call sym.runtime.concatstrings
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x50bf40]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.gopanic
lea eax, [esp + 0x1c]
mov dword [esp], eax
lea eax, [0x528c9b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.throw
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [0x528c88]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.panicwrap