Function at 0x1400dac00
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 0x1400db051
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x1400dac86
cmp dword [rsp + 0x3c], 7
je 0x1400dacfd
cmp dword [rsp + 0x3c], 8
je 0x1400dad4f
cmp dword [rsp + 0x3c], 9
je 0x1400dae5f
jmp 0x1400daf77
call fcn.1400e4890
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 0x4c], eax
jl 0x1400dacb0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48], 7
jmp 0x1400dacf0
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.1400e48a0
nop
mov dword [rsp + 0x38], 0xffffffff
jmp 0x1400daf77
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400dad3a
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, [0x14029e448]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1400f8ff0
nop
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x40], 8
jmp 0x1400daf77
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400dae4a
mov qword [rsp + 0x48], 0
lea rax, [0x1402b7a7f]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0xffffffff
lea rdx, [0x14029e460]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1400f8ff0
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400f9ee0
cmp eax, 0x64
jne 0x1400dae07
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.1400fa1c0
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.1400f7af0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400dadf9
mov eax, 7
jmp 0x1400db053
lea rax, [0x14029e4a0]
mov qword [rsp + 0x70], rax
jmp 0x1400dad9e
mov rcx, qword [rsp + 0x60]
call fcn.1400fa380
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.1400f8ff0
mov rcx, qword [rsp + 0x48]
call fcn.1400f7d90
nop
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 9
jmp 0x1400daf77
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x1400daf67
mov qword [rsp + 0x50], 0
lea rax, [0x1402b7ab4]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0xffffffff
lea rdx, [0x14029e4a8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1400f8ff0
nop
mov rcx, qword [rsp + 0x68]
call fcn.1400f9ee0
cmp eax, 0x64
jne 0x1400daf24
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.1400fa1c0
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.1400f7af0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400daf13
mov eax, 7
jmp 0x1400db053
lea rax, str._UNION
mov qword [rsp + 0x80], rax
jmp 0x1400daeb1
mov rcx, qword [rsp + 0x68]
call fcn.1400fa380
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.1400f8ff0
mov rcx, qword [rsp + 0x50]
call fcn.1400f7d90
nop
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], reloc.WS2_32.dll_inet_addr
cmp dword [rsp + 0x38], 0
jge 0x1400daf91
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
jne 0x1400daf8f
jmp 0x1400dac3e
jmp 0x1400db007
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.1400f9ee0
cmp eax, 0x64
jne 0x1400dafdb
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.1400fa1c0
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.1400fa2c0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x30], eax
jmp 0x1400db007
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call fcn.1400fa380
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 0x1400dac3e
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x1400db014
jmp 0x1400db051
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 0x10], ecx
jg 0x1400db04c
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.1400e9e30
test eax, eax
jne 0x1400db04c
jmp 0x1400db051
jmp 0x1400dac3e
xor eax, eax
add rsp, 0x98
ret