Function at 0x1400fad90
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, r9
mov rsi, r8
mov r15, rcx
cmp qword [r9 + 0x18], 0x10
jb 0x1400fadca
mov r9, qword [r9]
cmp qword [r8 + 0x18], 0x10
jb 0x1400fadd4
mov r8, qword [r8]
cmp qword [rdx + 0x18], 0x10
jb 0x1400fadde
mov rdx, qword [rdx]
lea rcx, str.catalog_s_schema_s_table_s
call fcn.1400d9db0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
mov ecx, Ordinal_50
call fcn.1401dc044
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], 9
movsd xmm0, qword [str.TABLE_CAT]
movsd qword [rbp - 0x39], xmm0
movzx ecx, byte [0x1401fb520]
mov byte [rbp - 0x31], cl
mov byte [rbp - 0x30], 0
movabs r13, 0x555555555555555
cmp qword [rbp - 0x61], r13
je 0x1400fb3ee
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
xor r12d, r12d
mov qword [rbp - 0x51], r12
lea ecx, [r12 + 0x30]
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400faec8
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400faec3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb261
call fcn.1401dbfcc
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], ntohs
movsd xmm0, qword [str.TABLE_SCHEM]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1401fb530]
mov word [rbp - 0x31], ax
movzx eax, byte [0x1401fb532]
mov byte [rbp - 0x2f], al
mov byte [rbp - 0x2e], 0
mov rdi, qword [rbp - 0x69]
cmp qword [rbp - 0x61], r13
je 0x1400fb3fb
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r12
mov ecx, Ordinal_50
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400faf88
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400faf83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb261
call fcn.1401dbfcc
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], 0xa
movsd xmm0, qword [str.TABLE_NAME]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1401faf08]
mov word [rbp - 0x31], ax
mov byte [rbp - 0x2f], 0
mov rdi, qword [rbp - 0x69]
cmp qword [rbp - 0x61], r13
je 0x1400fb408
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r12
mov ecx, Ordinal_50
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400fb03e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb039
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb261
call fcn.1401dbfcc
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], ntohs
movsd xmm0, qword [str.COLUMN_NAME]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1401fb4e0]
mov word [rbp - 0x31], ax
movzx eax, byte [0x1401fb4e2]
mov byte [rbp - 0x2f], al
mov byte [rbp - 0x2e], 0
mov rdi, qword [rbp - 0x69]
cmp qword [rbp - 0x61], r13
je 0x1400fb415
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r12
mov ecx, Ordinal_50
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400fb0fe
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb0f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb261
call fcn.1401dbfcc
mov qword [rbp - 0x39], r12
movdqa xmm0, xmmword [0x1404e8a00]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov r8d, 7
lea rdx, str.KEY_SEQ
lea rcx, [rbp - 0x39]
call fcn.14005fbd0
nop
mov rdi, qword [rbp - 0x69]
cmp qword [rbp - 0x61], r13
je 0x1400fb422
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r12
mov ecx, Ordinal_50
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400fb1b4
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb1af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb261
call fcn.1401dbfcc
mov qword [rbp - 0x39], r12
movdqa xmm0, xmmword [0x1404e8a00]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov r8d, 7
lea rdx, str.PK_NAME
lea rcx, [rbp - 0x39]
call fcn.14005fbd0
nop
mov rdi, qword [rbp - 0x69]
cmp qword [rbp - 0x61], r13
je 0x1400fb3e1
lea rax, [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r12
mov ecx, Ordinal_50
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x51], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x39]
call fcn.14005e170
nop
inc qword [rbp - 0x61]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400fb26d
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fb268
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dbfcc
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401dc044
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400fb2a0
mov qword [rax], r12
mov qword [rax + 8], r12
mov ecx, Ordinal_41
call fcn.1401dc044
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
jmp 0x1400fb2a3
mov rbx, r12
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400e23c0
nop
mov qword [rbp - 0x19], r12
movdqa xmm0, xmmword [0x1404e8a00]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov r8d, 0x15c
lea rdx, str.SELECT_TABLE_CATALOG_AS_TABLE_CAT__TABLE_SCHEMA_AS_TABLE_SCHEM__TABLE_NAME___COLUMN_NAME__SEQ_IN_INDEX_AS_KEY_SEQ__INDEX_NAME_AS_PK_NAME_FROM_INFORMATION_SCHEMA.STATISTICS_WHERE_TABLE_SCHEMA_LIKE___AND_TABLE_NAME_LIKE___AND_INDEX_NAME____PRIMARY__AND_NON_UNIQUE__0_AND_NULLABLE____YESORDER_BY_TABLE_SCHEMA__TABLE_NAME__INDEX_NAME__SEQ_IN_INDEX
lea rcx, [rbp - 0x19]
call fcn.14005fbd0
nop
mov rcx, qword [r15 + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax + reloc.WLDAP32.dll_Ordinal_200]
mov rbx, rax
mov qword [rbp - 0x59], rax
mov rcx, qword [rax]
mov r9, qword [rcx + 0x198]
mov r8, rsi
mov edx, 1
mov rcx, rax
call r9
mov rcx, qword [rbx]
mov r9, qword [rcx + 0x198]
mov r8, r14
mov edx, 2
mov rcx, rbx
call r9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + Ordinal_301]
mov rdi, rax
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rbx
call r8
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1400fb383
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb37e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fb37e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dbfcc
movdqa xmm0, xmmword [0x1404e8a00]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400fb3a3
call fcn.14004df60
nop
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.1400e2650
mov edx, Ordinal_50
mov rcx, qword [rbp - 0x69]
call fcn.1401dbfcc
mov rax, rdi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401db8e0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3