Function at 0x140005634
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x14004d4e8]
lea r10, str.tochar
xor r8d, r8d
mov qword [rsp + 0xb8], rax
mov rdx, qword [0x14004be00]
mov qword [rsp + 0x20], r10
xor r9d, r9d
mov dword [rsp + 0x28], 0
lea r11, [rsp + 0xa8]
mov qword [rsp + 0x30], r11
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdx + 0xdd0]
xor edx, edx
call sub.oracore11.dll_lrmgsp
test eax, eax
je 0x1400057f5
mov r8, qword [0x14004be00]
add r8, 0x6ff
mov ecx, 0x270f
lea rdx, str._nCurrent_database_character_set_is__s._n
call fcn.14000ba0a
mov rax, qword [0x14004be00]
movsx rdx, byte [rax + 0x6fe]
test edx, edx
jne 0x1400057dd
lea rbx, [rsp + 0x40]
mov ecx, 0x270f
lea rdx, str._nEnter_new_database_character_set_name:__
call fcn.14000ba0a
mov rcx, rbx
mov edx, 0x64
call fcn.140010a84
movzx eax, byte [rbx]
cmp eax, 0x2e
je 0x1400058a5
test eax, eax
je 0x1400057dd
mov r8, qword [0x14004be00]
mov rax, qword [r8 + 0x528]
mov edx, dword [rax + 0x38]
test edx, 0x4000000
jne 0x140005742
mov rcx, rbx
xor eax, eax
movzx edx, byte [rcx + rax]
test edx, edx
je 0x140005740
movzx edx, byte [rcx + rax + 1]
add rax, 2
test edx, edx
jne 0x140005727
add rax, 0xffffffffffffffff
jmp 0x140005751
mov rcx, rbx
call sub.oranls11.dll_lxsulen
mov r8, qword [0x14004be00]
mov qword [rsp + 0xb0], rax
mov r10, qword [r8 + 0x528]
mov r11, qword [r8 + 0x2e8]
cmp rax, 0x1e
mov edx, 0x1e
cmovb rdx, rax
mov qword [rsp + 0x28], r10
lea rcx, [r8 + 0x73d]
mov dword [rsp + 0x20], 0x10000000
mov qword [rsp + 0x30], r11
mov r8, rbx
mov r9, rax
call sub.oranls11.dll_lxsCpStr
mov rdx, qword [0x14004be00]
mov byte [rax + rdx + 0x73d], 0
mov rcx, qword [0x14004be00]
add rcx, 0x73d
call fcn.14000b272
test eax, eax
jne 0x140005872
mov rax, qword [0x14004be00]
mov byte [rax + 0x6fe], 1
mov edx, 1
test edx, edx
je 0x1400056d7
mov rcx, qword [rsp + 0xb8]
call fcn.140030f70
xor eax, eax
add rsp, 0xc0
pop rbx
ret
mov r10, qword [0x14004be00]
mov rbx, qword [r10 + 0x528]
mov r11, qword [r10 + 0x2e8]
mov qword [rsp + 0x28], rbx
lea rcx, [r10 + 0x73d]
mov byte [r10 + 0x6fe], 1
mov r8, qword [rsp + 0xa8]
mov r9, qword [rsp + 0xb0]
mov dword [rsp + 0x20], 0x10000000
mov qword [rsp + 0x30], r11
mov edx, 0x1e
call sub.oranls11.dll_lxsCpStr
mov rcx, qword [0x14004be00]
add rcx, 0x73d
call fcn.14000b272
mov ebx, eax
mov rcx, qword [rsp + 0xb8]
call fcn.140030f70
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
mov r8, qword [0x14004be00]
add r8, 0x73d
mov ecx, 0x73
lea rdx, str.CSS_00115:_invalid_character_set_name__s_n
call fcn.14000bad2
mov rax, qword [0x14004be00]
movsx rdx, byte [rax + 0x6fe]
jmp 0x1400057d5
mov rdx, qword [0x14004be00]
mov rcx, qword [rdx + 0x38]
movsx rax, byte [rcx + 0x1a0]
test eax, eax
je 0x1400058c8
call fcn.14000be68
mov rdx, qword [0x14004be00]
mov rcx, qword [rdx + 0x40]
test rcx, rcx
je 0x1400058dd
call fcn.14000b43c
mov rdx, qword [0x14004be00]
mov rcx, qword [rdx + 0x620]
test rcx, rcx
je 0x1400058f5
call fcn.14000b43c
mov rdx, qword [0x14004be00]
mov rcx, qword [rdx + 0x30]
test rcx, rcx
je 0x14000590a
call fcn.14000b43c
mov rdx, qword [0x14004be00]
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140005918
call fcn.14000b43c
mov ecx, 0x270f
lea rdx, str._nScanner_terminated_successfully._n
call fcn.14000ba0a
call fcn.14000b7c0
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0xdd0]
call sub.oracore11.dll_lrmtrm
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0xdc0]
mov rdx, qword [rax + 0xdc8]
xor r8d, r8d
call sub.oracore11.dll_lmmhpfree
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0xdb8]
call sub.oracore11.dll_lpmterm
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0x1490]
call sub.oranls11.dll_lmsatrm
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0x2e8]
call sub.oranls11.dll_lxlterm
mov rax, qword [0x14004be00]
mov rcx, qword [rax + 0x48]
call sub.oracore11.dll_sltster
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll_exit]
movzx eax, byte [rbx]
jmp 0x140005701