Function at 0x140001ef0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x4060
call fcn.140062340
sub rsp, rax
mov rax, qword [0x14037ac60]
xor rax, rsp
mov qword [rsp + 0x4050], rax
mov rsi, r9
mov r14, r8
mov r9, rdx
lea r8, str.CREATE_SCHEMA___s_
mov rdi, rdx
mov rbp, rcx
mov edx, 0x2004
lea rcx, [rsp + 0x30]
call fcn.140001010
cmp dword [0x14037ad6c], 2
movsxd rbx, eax
jl 0x140001f53
lea rcx, str.Loading_Pre_data_n
call fcn.1400040a0
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140004100
test eax, eax
je 0x140001fa7
mov rcx, rbp
call fcn.1400059a0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1403835b8]
lea rdx, str._s:_Cannot_create_schema__s_:__s_n
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
call fcn.1400023b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [0x14037acc5], 0
je 0x1400020cb
mov rdx, rdi
lea rcx, str.use__s__n
call fcn.1400040a0
xor ebx, ebx
mov rdi, r14
nop dword [rax + rax]
test rdi, rdi
je 0x140002206
nop dword [rax]
mov r8, qword [rdi + 8]
test r8, r8
je 0x140002206
cmp byte [0x14037ad6a], 0
je 0x140002003
cmp qword [0x14037ada0], rbx
je 0x140002206
test rsi, rsi
je 0x1400021e7
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140002138
cmp byte [rdi + 0x10], 4
jne 0x140002138
mov r9, qword [rdi]
lea r8, str._s_Engine___s__s
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x2040]
mov rax, qword [rsi]
mov edx, 0x2004
mov qword [rsp + 0x20], rax
call fcn.140001010
lea rax, [rsp + 0x2040]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002060
lea rdx, [rsp + 0x2040]
mov rcx, rbp
call fcn.140004100
test eax, eax
je 0x1400021f6
mov rcx, rbp
call fcn.1400059a0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rdi + 8]
lea rdx, str._s:_Cannot_run_query__.s_ERROR_:__s_n
mov r8, qword [0x1403835b8]
mov rcx, rax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400023b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [0x14037ad6c], 3
jl 0x1400020e5
lea rdx, [rsp + 0x30]
lea rcx, str._s__n
call fcn.1400040a0
mov rdx, rdi
mov rcx, rbp
call fcn.140006880
test eax, eax
je 0x140001fc3
mov rcx, rbp
call fcn.1400059a0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1403835b8]
lea rdx, str._s:_Cannot_select_schema__s:__s_n
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
call fcn.1400023b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rsi]
test rax, rax
je 0x1400021e7
cmp byte [rdi + 0x10], 4
jne 0x1400021e7
mov r9, qword [rdi]
lea r8, str._s_Engine___s
mov edx, 0x2004
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x2040]
call fcn.140001010
lea rax, [rsp + 0x2040]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140002180
lea rdx, [rsp + 0x2040]
mov rcx, rbp
call fcn.140004100
test eax, eax
je 0x1400021f6
mov rcx, rbp
call fcn.1400059a0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rdi + 8]
lea rdx, str._s:_Cannot_run_query__.s_ERROR_:__s_n
mov r8, qword [0x1403835b8]
mov rcx, rax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400023b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.140004100
test eax, eax
jne 0x140002221
mov rdi, qword [rdi + 0x28]
inc rbx
test rdi, rdi
jne 0x140001fe0
cmp byte [0x14037ad6a], 0
je 0x14000226a
cmp qword [0x14037ada0], rbx
jbe 0x14000226a
mov rdi, qword [r14 + 0x28]
jmp 0x140001fd0
mov rcx, rbp
call fcn.1400059a0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rdi + 8]
lea rdx, str._s:_Cannot_run_query__.s_ERROR_:__s_n
mov r8, qword [0x1403835b8]
mov rcx, rax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400023b0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.1400623a0
add rsp, 0x4060
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret