Function at 0x1400fca70
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
inc rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48], 0xb
je 0x1400fcec1
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x1400fcaf6
cmp dword [rsp + 0x3c], 7
je 0x1400fcb6d
cmp dword [rsp + 0x3c], 8
je 0x1400fcbbf
cmp dword [rsp + 0x3c], 9
je 0x1400fcccf
jmp 0x1400fcde7
call fcn.140106660
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 0x4c], eax
jl 0x1400fcb20
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48], 7
jmp 0x1400fcb60
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4c]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, qword [rsp + 0x30]
add rcx, 0x28
mov r8, rax
mov rdx, rcx
mov ecx, dword [rsp + 0x58]
call fcn.140106670
nop
mov dword [rsp + 0x38], 0xffffffff
jmp 0x1400fcde7
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400fcbaa
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, [0x140313388]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14011aee0
nop
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x40], 8
jmp 0x1400fcde7
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400fccba
mov qword [rsp + 0x48], 0
lea rax, [0x14033365f]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0xffffffff
lea rdx, [0x1403133a0]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14011aee0
nop
mov rcx, qword [rsp + 0x60]
call fcn.14011bdd0
cmp eax, 0x64
jne 0x1400fcc77
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.14011c0b0
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
lea rcx, str._z_sSELECT_name_FROM___w_.sqlite_schema
call fcn.1401199e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400fcc69
mov eax, 7
jmp 0x1400fcec3
lea rax, [0x1403133e0]
mov qword [rsp + 0x70], rax
jmp 0x1400fcc0e
mov rcx, qword [rsp + 0x60]
call fcn.14011c270
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14011aee0
mov rcx, qword [rsp + 0x48]
call fcn.140119c80
nop
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 9
jmp 0x1400fcde7
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400fcdd7
mov qword [rsp + 0x50], 0
lea rax, [0x140333694]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0xffffffff
lea rdx, [0x1403133e8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14011aee0
nop
mov rcx, qword [rsp + 0x68]
call fcn.14011bdd0
cmp eax, 0x64
jne 0x1400fcd94
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14011c0b0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
lea rcx, str._z_sSELECT_pti.name_FROM___w_.sqlite_schema_AS_sm_JOIN_pragma_table_info_sm.name__Q__AS_pti_WHERE_sm.typetable
call fcn.1401199e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400fcd83
mov eax, 7
jmp 0x1400fcec3
lea rax, str._UNION
mov qword [rsp + 0x80], rax
jmp 0x1400fcd21
mov rcx, qword [rsp + 0x68]
call fcn.14011c270
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14011aee0
mov rcx, qword [rsp + 0x50]
call fcn.140119c80
nop
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], reloc.WS2_32.dll_inet_addr
cmp dword [rsp + 0x38], 0
jge 0x1400fce01
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
jne 0x1400fcdff
jmp 0x1400fcaae
jmp 0x1400fce77
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.14011bdd0
cmp eax, 0x64
jne 0x1400fce4b
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.14011c0b0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.14011c1b0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x30], eax
jmp 0x1400fce77
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.14011c270
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x48], ecx
jmp 0x1400fcaae
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1400fce84
jmp 0x1400fcec1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 0x10], ecx
jg 0x1400fcebc
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call fcn.14010b4c0
test eax, eax
jne 0x1400fcebc
jmp 0x1400fcec1
jmp 0x1400fcaae
xor eax, eax
add rsp, 0x98
ret