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

Disassembly:
lea r12, [rsp - 0x1d8]
cmp r12, qword [r14 + 0x10]
jbe 0x6d31fb88
push rbp
mov rbp, rsp
sub rsp, 0x250
mov qword [rsp + 0x270], rcx
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
movups xmmword [rsp + 0x220], xmm15
movups xmmword [rsp + 0x228], xmm15
movups xmmword [rsp + 0x238], xmm15
lea rcx, [sym.runtime.traceback2.func1]
mov qword [rsp + 0x220], rcx
lea rcx, [rsp + 0x270]
mov qword [rsp + 0x228], rcx
lea rcx, [rsp + 0x278]
mov qword [rsp + 0x230], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x238], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x240], rcx
mov rcx, qword [rax + 0x48]
mov edx, dword [0x6d3f821c]
mov rsi, qword [r14 + 0x30]
movzx r8d, byte [rsi + 0xf1]
test r8b, r8b
jne 0x6d31f3b3
shr edx, 2
cmp dword [rsi + 0xc4], 2
mov esi, 2
cmovae edx, esi
mov r8d, edx
mov qword [rsp + 0x260], rax
mov byte [rsp + 0x268], bl
mov qword [rsp + 0x248], rcx
mov dword [rsp + 0x3c], r8d
lea rdi, [rsp + 0x88]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.6d32c694
mov rbp, qword [rbp]
jmp 0x6d31f422
mov rax, qword [rsp + 0x260]
nop dword [rax]
call sym.runtime._unwinder_.next
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x248]
movzx ebx, byte [rsp + 0x268]
mov r8d, dword [rsp + 0x3c]
cmp qword [rax + 0x10], 0
je 0x6d31f4ea
mov qword [rsp + 0x70], 0
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1b0], rcx
mov rdx, qword [rax]
mov qword [rsp + 0x1a8], rdx
call sym.runtime._unwinder_.symPC
mov rbx, qword [rsp + 0x1b0]
mov rcx, rax
mov rax, qword [rsp + 0x1a8]
call sym.runtime.newInlineUnwinder
mov rdx, qword [rsp + 0x260]
movzx r8d, byte [rsp + 0x268]
mov r9d, 1
jmp 0x6d31f521
mov rax, rdx
lea rbx, [rsp + 0x88]
mov ecx, 0x20
mov rdi, rcx
call sym.runtime._unwinder_.cgoCallers
nop
test rax, rax
jle 0x6d31f3f5
movups xmmword [rsp + 0x1e8], xmm15
movups xmmword [rsp + 0x1f0], xmm15
movups xmmword [rsp + 0x200], xmm15
movups xmmword [rsp + 0x210], xmm15
cmp rax, 0x20
ja 0x6d31fb6d
mov qword [rsp + 0x80], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6d31f9f4
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x68]
xor ebx, ebx
add rsp, 0x250
pop rbp
ret
mov r10, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
mov r9d, eax
mov rax, r10
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1d0], rcx
test r9b, r9b
je 0x6d31f542
xor eax, eax
jmp 0x6d31f574
mov byte [rsp + 0x2f], r9b
lea rax, [rsp + 0x1c0]
mov rbx, rdi
mov ecx, esi
call sym.runtime._inlineUnwinder_.next
mov rdx, qword [rsp + 0x260]
movzx r8d, byte [rsp + 0x268]
mov rdi, rax
movzx eax, byte [rsp + 0x2f]
mov esi, ebx
test rdi, rdi
je 0x6d31f486
nop dword [rax]
test esi, esi
jge 0x6d31f5b6
mov r10, qword [rsp + 0x1c0]
test r10, r10
je 0x6d31f5a8
mov r11, qword [rsp + 0x1c8]
mov r12d, dword [r10 + 4]
mov r13d, dword [r10 + 0x24]
movzx r10d, byte [r10 + 0x28]
jmp 0x6d31f5f3
xor r10d, r10d
xor r13d, r13d
xor r12d, r12d
xor r11d, r11d
jmp 0x6d31f5f3
movsxd r10, esi
nop dword [rax]
cmp r10, 0x100000
jae 0x6d31fb7a
mov r15, qword [rsp + 0x1d0]
test byte [r15], al
shl r10, 4
mov r11, qword [rsp + 0x1c8]
mov r12d, dword [r15 + r10 + 4]
mov r13d, dword [r15 + r10 + 0xc]
movzx r10d, byte [r15 + r10]
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x2f], al
movzx r9d, byte [rdx + 0x58]
mov byte [rdx + 0x58], r10b
test r8b, r8b
je 0x6d31f615
mov ecx, 1
jmp 0x6d31f670
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x40], r11
cmp qword [rsp + 0x68], 0
sete r8b
mov rax, r11
mov ebx, r12d
mov ecx, r13d
mov edi, r10d
mov rsi, qword [rsp + 0x248]
nop dword [rax]
call sym.runtime.showframe
mov rdx, qword [rsp + 0x260]
mov esi, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x58]
movzx r8d, byte [rsp + 0x268]
mov r11, qword [rsp + 0x40]
mov r12d, dword [rsp + 0x30]
mov ecx, eax
movzx eax, byte [rsp + 0x2f]
test cl, cl
je 0x6d31f503
cmp qword [rsp + 0x270], 0
jne 0x6d31f697
cmp qword [rsp + 0x278], 0
jne 0x6d31f697
mov ecx, 1
xor ebx, ebx
jmp 0x6d31f6ce
inc qword [rsp + 0x68]
inc qword [rsp + 0x70]
mov r10, qword [rsp + 0x270]
test r10, r10
jle 0x6d31f6bf
dec r10
mov qword [rsp + 0x270], r10
xor ecx, ecx
xor ebx, ebx
jmp 0x6d31f6ce
dec qword [rsp + 0x278]
xor ecx, ecx
mov ebx, 1
test cl, cl
jne 0x6d31f9de
test bl, bl
je 0x6d31f503
nop
test r11, r11
jne 0x6d31f6eb
xor ebx, ebx
xor ecx, ecx
jmp 0x6d31f6fe
mov rax, r11
mov ebx, r12d
call sym.runtime._moduledata_.funcName
mov rdi, qword [rsp + 0x58]
mov rcx, rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x1b8], rcx
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
nop
mov rbx, rdx
mov rcx, rdi
xor edi, edi
call sym.runtime.funcline1
mov qword [rsp + 0x1d8], rax
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x78], rbx
mov rax, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x48]
call sym.runtime.printFuncName
call sym.runtime.printlock
lea rax, [0x6d4a14d8]
mov ebx, 1
nop dword [rax]
call sym.runtime.printstring
call sym.runtime.printunlock
mov edx, dword [rsp + 0x34]
test edx, edx
jl 0x6d31f78f
call sym.runtime.printlock
lea rax, [0x6d46a0b7]
mov ebx, 3
call sym.runtime.printstring
call sym.runtime.printunlock
jmp 0x6d31f7c8
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 0x40]
mov qword [rsp + 0x1e0], rcx
call sym.runtime._unwinder_.symPC
mov rbx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1e0]
mov rdi, rax
mov rax, qword [rsp + 0x1a8]
call sym.runtime.printArgs
call sym.runtime.printlock
lea rax, [0x6d46a016]
mov ebx, 2
call sym.runtime.printstring
nop
call sym.runtime.printunlock
call sym.runtime.printlock
lea rax, [0x6d4a1308]
mov ebx, 1
call sym.runtime.printstring
mov rax, qword [rsp + 0x1d8]
mov rbx, qword [rsp + 0x78]
call sym.runtime.printstring
lea rax, [0x6d4a1340]
mov ebx, 1
call sym.runtime.printstring
mov eax, dword [rsp + 0x38]
movsxd rax, eax
call sym.runtime.printint
call sym.runtime.printunlock
mov eax, dword [rsp + 0x34]
test eax, eax
jge 0x6d31f9ab
mov rcx, qword [rsp + 0x1a8]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x1b0]
call sym.runtime._moduledata_.textAddr
mov rcx, qword [rsp + 0x260]
nop word [rax + rax]
cmp qword [rcx + 0x10], rax
jbe 0x6d31f8d2
mov rcx, qword [rsp + 0x1a8]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x1b0]
call sym.runtime._moduledata_.textAddr
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x260]
mov rdx, qword [rcx + 0x10]
mov qword [rsp + 0x1a0], rdx
call sym.runtime.printlock
lea rax, [0x6d46a02c]
mov ebx, 2
call sym.runtime.printstring
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
nop dword [rax]
call sym.runtime.printhex
call sym.runtime.printunlock
mov rcx, qword [rsp + 0x260]
mov rax, qword [rsp + 0x248]
mov rdx, qword [rax + 0x30]
nop
test rdx, rdx
je 0x6d31f8f7
cmp dword [rdx + 0xc4], 2
jb 0x6d31f8f7
cmp qword [rdx + 0x90], rax
je 0x6d31f909
mov edx, dword [rsp + 0x3c]
nop dword [rax + rax]
cmp edx, 2
jl 0x6d31f9ab
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x198], rdx
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x190], rbx
call sym.runtime.printlock
lea rax, [0x6d46a2bc]
mov ebx, 4
nop
call sym.runtime.printstring
mov rax, qword [rsp + 0x1a0]
call sym.runtime.printhex
lea rax, [0x6d46a2b0]
mov ebx, 4
nop
call sym.runtime.printstring
mov rax, qword [rsp + 0x198]
call sym.runtime.printhex
lea rax, [0x6d46a280]
mov ebx, 4
nop
call sym.runtime.printstring
mov rax, qword [rsp + 0x190]
call sym.runtime.printhex
call sym.runtime.printunlock
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x260]
mov edx, dword [rsp + 0x3c]
call sym.runtime.printlock
call sym.runtime.printnl
call sym.runtime.printunlock
movzx eax, byte [rsp + 0x2f]
mov rdx, qword [rsp + 0x260]
mov esi, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x58]
movzx r8d, byte [rsp + 0x268]
jmp 0x6d31f503
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
add rsp, 0x250
pop rbp
ret
inc rcx
cmp rax, rcx
jle 0x6d31fb2c
mov qword [rsp + 0x188], rcx
mov rsi, qword [rsp + rcx*8 + 0x88]
cmp qword [0x6d586288], 0
jne 0x6d31fae5
cmp qword [rsp + 0x270], 0
jne 0x6d31fa3b
cmp qword [rsp + 0x278], 0
jne 0x6d31fa3b
mov edi, 1
xor r8d, r8d
jmp 0x6d31fa74
inc qword [rsp + 0x68]
inc qword [rsp + 0x70]
mov rdi, qword [rsp + 0x270]
test rdi, rdi
jle 0x6d31fa64
dec rdi
mov qword [rsp + 0x270], rdi
xor edi, edi
xor r8d, r8d
jmp 0x6d31fa74
dec qword [rsp + 0x278]
xor edi, edi
mov r8d, 1
test dil, dil
jne 0x6d31fb2c
nop dword [rax]
test r8b, r8b
je 0x6d31f9f1
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x2d], bl
mov byte [rsp + 0x2e], dl
call sym.runtime.printlock
lea rax, [0x6d46eabc]
mov ebx, 0x16
call sym.runtime.printstring
mov rax, qword [rsp + 0x60]
call sym.runtime.printhex
call sym.runtime.printnl
nop dword [rax + rax]
call sym.runtime.printunlock
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x188]
movzx edx, byte [rsp + 0x2e]
movzx ebx, byte [rsp + 0x2d]
nop
jmp 0x6d31f9f1
mov rax, rsi
lea rbx, [rsp + 0x220]
lea rcx, [rsp + 0x1e8]
call sym.runtime.printOneCgoTraceback
nop dword [rax]
test al, al
jne 0x6d31fb25
mov rcx, qword [rsp + 0x188]
mov edx, 1
mov ebx, eax
mov rax, qword [rsp + 0x80]
nop dword [rax + rax]
jmp 0x6d31f9f1
mov edx, 1
mov ebx, eax
test dl, dl
je 0x6d31fb52
mov byte [rsp + 0x2f], bl
mov qword [rsp + 0x1e8], 0
lea rax, [rsp + 0x1e8]
call sym.runtime.callCgoSymbolizer
movzx ebx, byte [rsp + 0x2f]
test bl, bl
je 0x6d31f3f5
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
add rsp, 0x250
pop rbp
ret
mov rcx, rax
mov edx, 0x20
call sym.runtime.panicSliceAlen
mov rax, r10
mov ecx, 0x100000
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop dword [rax + rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.runtime.traceback2