Function at 0x4e8040
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0xe8]
cmp r12, qword [r14 + 0x10]
jbe 0x4e886a
push rbp
mov rbp, rsp
sub rsp, 0x160
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x170], rax
lea rax, [0x005dda16]
mov ebx, 7
call sym.os.Getenv
nop
test rbx, rbx
je 0x4e80b7
call sym.strings.ToLower
lea rcx, [0x00635110]
mov edi, 1
xor esi, esi
mov r8, 0xffffffffffffffff
nop
call sym.strings.genSplit
mov qword [rsp + 0x48], rbx
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x4e8741
movups xmmword [rsp + 0x120], xmm15
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
movups xmmword [rsp + 0x150], xmm15
mov qword [rsp + 0x128], 4
lea rdx, [0x005dd30f]
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x138], 4
lea rdx, [0x005dd313]
mov qword [rsp + 0x130], rdx
mov qword [rsp + 0x148], 4
lea rdx, [0x005dd317]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x158], 4
lea rdx, [0x005dd31b]
mov qword [rsp + 0x150], rdx
mov eax, 4
mov ecx, 4
lea rdx, [rsp + 0x120]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xa0], rdx
mov rbx, qword [rsp + 0x178]
mov edi, 3
mov rax, qword [rsp + 0x170]
lea rcx, [0x005dd159]
call sym.strings.IndexAny
test rax, rax
jge 0x4e835a
lea rax, [0x005e85cd]
mov ebx, 0x22
call sym.syscall.Getenv
test cl, cl
je 0x4e81b7
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4e8318
movups xmmword [rsp + 0x100], xmm15
movups xmmword [rsp + 0x110], xmm15
mov qword [rsp + 0x108], 1
lea rdx, [0x00635070]
mov qword [rsp + 0x100], rdx
mov rdx, qword [rsp + 0x178]
mov qword [rsp + 0x118], rdx
mov rsi, qword [rsp + 0x170]
mov qword [rsp + 0x110], rsi
lea rax, [rsp + 0x100]
mov ebx, 2
mov rcx, rbx
call sym.path_filepath.join
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
call sym.os_exec.findExecutable
test rcx, rcx
je 0x4e8245
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
nop dword [rax]
jmp 0x4e8318
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x80], rbx
mov rax, qword [0x0075a690]
nop dword [rax]
call sym.internal_godebug._Setting_.Value
cmp rbx, 1
jne 0x4e8299
cmp byte [rax], 0x30
jne 0x4e8299
mov rax, qword [0x0075a690]
call sym.internal_godebug._Setting_.IncNonDefault
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x80]
xor ecx, ecx
xor edi, edi
add rsp, 0x160
pop rbp
ret
lea rax, [0x005b1200]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
cmp dword [0x007c4ac0], 0
jne 0x4e82c4
mov rdx, qword [rsp + 0x170]
jmp 0x4e82d4
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x170]
mov qword [r11], rdx
mov qword [rax], rdx
mov rsi, qword [0x0075b3f0]
mov rdi, qword [0x0075b3f8]
mov qword [rax + 0x10], rsi
cmp dword [0x007c4ac0], 0
je 0x4e82fa
call sym.runtime.gcWriteBarrier1
mov qword [r11], rdi
mov qword [rax + 0x18], rdi
mov rcx, rax
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
lea rax, [0x00637340]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0x80], rdx
lea rax, [0x005dd31f]
mov ebx, 4
call sym.os.Getenv
call sym.path_filepath.splitList
mov qword [rsp + 0x40], rbx
xor ecx, ecx
jmp 0x4e844a
mov rax, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
nop dword [rax]
call sym.os_exec.findExecutable
test rcx, rcx
je 0x4e8421
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x68], rcx
lea rax, [0x005b1200]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
cmp dword [0x007c4ac0], 0
jne 0x4e83c6
mov rdx, qword [rsp + 0x170]
jmp 0x4e83d6
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x170]
mov qword [r11], rdx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rax + 0x10], rdx
cmp dword [0x007c4ac0], 0
jne 0x4e83f5
mov rdx, qword [rsp + 0xa8]
jmp 0x4e8405
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0xa8]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
xor ebx, ebx
lea rcx, [0x00637340]
mov rdi, rax
xor eax, eax
add rsp, 0x160
pop rbp
nop
ret
xor ecx, ecx
xor edi, edi
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0xd8]
add rax, 0x10
mov rcx, qword [rsp + 0x90]
inc rcx
mov rbx, qword [rsp + 0x40]
cmp rbx, rcx
jle 0x4e868d
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0xd8], rax
mov rdx, qword [rax]
mov rsi, qword [rax + 8]
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xe0], rdx
mov rdx, qword [rsp + 0x178]
mov qword [rsp + 0xf8], rdx
mov rsi, qword [rsp + 0x170]
mov qword [rsp + 0xf0], rsi
mov ebx, 2
mov rcx, rbx
lea rax, [rsp + 0xe0]
nop dword [rax]
call sym.path_filepath.join
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
call sym.os_exec.findExecutable
nop dword [rax]
test rcx, rcx
jne 0x4e842e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x88]
nop
test rcx, rcx
je 0x4e858c
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x80]
call sym.os.Lstat
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xb8], rbx
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
call sym.os.Lstat
mov rdx, qword [rsp + 0x78]
test rdx, rdx
jne 0x4e8664
test rcx, rcx
jne 0x4e8664
mov rcx, rax
mov rdi, rbx
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xb8]
call sym.os.SameFile
test al, al
je 0x4e8664
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
call sym.path_filepath.IsAbs
test al, al
jne 0x4e864a
mov rax, qword [0x0075a690]
call sym.internal_godebug._Setting_.Value
cmp rbx, 1
jne 0x4e85b4
cmp byte [rax], 0x30
je 0x4e863e
lea rax, [0x005b1200]
nop dword [rax + rax]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
cmp dword [0x007c4ac0], 0
jne 0x4e85e4
mov rdx, qword [rsp + 0x170]
jmp 0x4e85f4
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x170]
mov qword [r11], rdx
mov qword [rax], rdx
mov rdx, qword [0x0075b3f0]
mov rsi, qword [0x0075b3f8]
mov qword [rax + 0x10], rdx
cmp dword [0x007c4ac0], 0
je 0x4e861a
call sym.runtime.gcWriteBarrier1
mov qword [r11], rsi
mov qword [rax + 0x18], rsi
mov rbx, qword [rsp + 0x50]
lea rcx, [0x00637340]
mov rdi, rax
mov rax, qword [rsp + 0x98]
add rsp, 0x160
pop rbp
ret
mov rax, qword [0x0075a690]
call sym.internal_godebug._Setting_.IncNonDefault
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
xor ecx, ecx
xor edi, edi
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xc8]
add rsp, 0x160
pop rbp
ret
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x4e8716
lea rax, [0x005b1200]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
cmp dword [0x007c4ac0], 0
jne 0x4e86c5
mov rdx, qword [rsp + 0x170]
jmp 0x4e86d5
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x170]
mov qword [r11], rdx
mov qword [rax], rdx
mov rdx, qword [0x0075b400]
mov rsi, qword [0x0075b408]
mov qword [rax + 0x10], rdx
cmp dword [0x007c4ac0], 0
je 0x4e86fb
call sym.runtime.gcWriteBarrier1
mov qword [r11], rsi
mov qword [rax + 0x18], rsi
xor ebx, ebx
lea rcx, [0x00637340]
mov rdi, rax
xor eax, eax
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xc8]
add rsp, 0x160
pop rbp
ret
add rax, 0x10
inc rcx
mov rdi, r10
cmp rbx, rcx
jle 0x4e885c
mov r8, qword [rax + 8]
test r8, r8
jne 0x4e8758
mov r10, rdi
jmp 0x4e8737
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0xd8], rax
mov r9, qword [rax]
cmp byte [r9], 0x2e
je 0x4e87c9
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0xa0], rsi
xor eax, eax
lea rbx, [0x00635070]
mov ecx, 1
mov rdi, r9
mov rsi, r8
call sym.runtime.concatstring2
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x58]
mov r9, rax
mov r8, rbx
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x48]
lea r10, [rdi + 1]
cmp rdx, r10
jae 0x4e8824
mov qword [rsp + 0x70], r8
mov qword [rsp + 0xb0], r9
mov rax, rsi
mov rbx, r10
mov rcx, rdx
mov edi, 1
lea rsi, [0x00592aa0]
call sym.runtime.growslice
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0xb0]
mov rsi, rax
mov r10, rbx
mov rdx, rcx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x48]
lea r11, [r10 - 1]
shl r11, 4
mov qword [rsi + r11 + 8], r8
cmp dword [0x007c4ac0], 0
je 0x4e8853
mov rdi, r11
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], r9
mov r8, qword [rsi + rdi]
mov qword [r11 + 8], r8
mov r11, rdi
mov qword [rsi + r11], r9
jmp 0x4e8737
mov rax, rdi
mov rcx, rdx
mov rdx, rsi
jmp 0x4e8159
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.os_exec.LookPath