Function at 0x140001120
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r14
push r15
mov eax, 0x90
call fcn.140002ea0
sub rsp, rax
mov rdi, rdx
mov r14d, ecx
lea eax, [rcx - 2]
cmp eax, 1
ja 0x140001497
mov rsi, qword [rdx + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140001160
call qword [sym.imp.sal3.dll_osl_getThreadTextEncoding]
xor r15d, r15d
mov qword [rsp + 0xc8], r15
mov dword [rsp + 0x20], 0x333
movzx r9d, ax
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0xc8]
call qword [sym.imp.sal3.dll_rtl_string2UString]
cmp qword [rsp + 0xc8], r15
je 0x1400014db
mov r8d, 7
lea rdx, str.file:__
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400011dd
mov rbx, qword [rsp + 0xc8]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.sal3.dll_rtl_uString_acquire]
jmp 0x14000128b
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call qword [sym.imp.sal3.dll_rtl_uString_new]
nop
test ebx, ebx
jle 0x140001258
cmp byte [rsi], 0x5c
je 0x140001242
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.sal3.dll_rtl_uString_new]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.sal3.dll_osl_getProcessWorkingDir]
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.sal3.dll_osl_getAbsoluteFileURL]
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.sal3.dll_rtl_uString_release]
jmp 0x140001258
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.sal3.dll_osl_getFileURLFromSystemPath]
mov rbx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call qword [sym.imp.sal3.dll_rtl_uString_new]
nop
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.sal3.dll_rtl_uString_release]
nop
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.sal3.dll_rtl_uString_release]
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_openRegistry_struct__rtl_uString____ptr64__void____ptr64____ptr64_]
test eax, eax
je 0x1400012d8
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.open_registry___s__failed_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_openRootKey_void____ptr64__void____ptr64____ptr64_]
test eax, eax
jne 0x14000142d
cmp r14d, 3
jne 0x1400013cb
mov qword [rsp + 0x48], r15
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.sal3.dll_rtl_uString_newFromAscii]
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0x60], r15
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_openKey_void____ptr64__struct__rtl_uString____ptr64__void____ptr64____ptr64_]
test eax, eax
jne 0x140001397
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_dumpRegistry_void____ptr64_]
test eax, eax
je 0x14000135e
mov rsi, qword [rdi + 8]
lea ecx, [r14 - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str.dumping_registry___s__failed_n
mov rcx, rax
call fcn.140001060
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_closeKey_void____ptr64_]
test eax, eax
je 0x1400013c0
mov rsi, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov r8, r14
lea rdx, str.closing_key___s__of_registry___s__failed_n
mov rcx, rax
call fcn.140001060
jmp 0x1400013c0
mov rsi, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov r8, r14
lea rdx, str.key___s__not_exists_in_registry___s__n
mov rcx, rax
call fcn.140001060
nop
mov rcx, r15
call qword [sym.imp.sal3.dll_rtl_uString_release]
jmp 0x1400013fb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_dumpRegistry_void____ptr64_]
test eax, eax
je 0x1400013fb
mov rsi, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str.dumping_registry___s__failed_n
mov rcx, rax
call fcn.140001060
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_closeKey_void____ptr64_]
test eax, eax
je 0x14000144e
mov rsi, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str.closing_root_key_of_registry___s__failed_n
mov rcx, rax
call fcn.140001060
jmp 0x14000144e
mov rsi, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rsi
lea rdx, str.open_root_key_of_registry___s__failed_n
mov rcx, rax
call fcn.140001060
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.reglo.dll_enum_RegError___cdecl_reg_closeRegistry_void____ptr64_]
test eax, eax
je 0x14000148a
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.closing_registry___s__failed_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, rbx
call qword [sym.imp.sal3.dll_rtl_uString_release]
xor eax, eax
jmp 0x1400014c2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.using:_regview_registryfile__keyName__n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov eax, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x70]
call fcn.140001610
lea rdx, [0x1400050e8]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3