Function at 0x3bc1cb5a4
Capabilities:
Delete registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rbx, rdx
mov rdi, r8
test rcx, rcx
je 0x3bc1cb632
test rdx, rdx
je 0x3bc1cb662
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001b
mov r8d, 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
test eax, eax
je 0x3bc1cb6d6
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8, rsi
lea rdx, str.registry_del_value
lea rcx, str._E____s_____RegOpenKeyA_failed_root0x_p_key_s_res_lu__n
call fcn.3bc1c1292
cmp ebp, 0x20
jg 0x3bc1cb882
test ebp, ebp
js 0x3bc1cb870
cmp ebp, 0x20
ja case.0x3bc1cb630.1
mov ebp, ebp
lea rdx, [0x3bc1d8ff0]
movsxd rax, dword [rdx + rbp*4]
add rax, rdx
jmp rax
mov dword [rsp + 0x20], 0x14d
lea r9, str.H:_Projects_rdp_bot_codebase_registry.c
lea r8, str._root___NULL_
lea rdx, str.registry_del_value
lea rcx, [0x3bc1d88b8]
call fcn.3bc1c1292
mov ebp, 0x40000004
jmp 0x3bc1cb690
mov dword [rsp + 0x20], 0x14e
lea r9, str.H:_Projects_rdp_bot_codebase_registry.c
lea r8, str._key___NULL_
lea rdx, str.registry_del_value
lea rcx, [0x3bc1d88b8]
call fcn.3bc1c1292
mov ebp, 0x40000004
mov eax, ebp
and eax, 0x3fffffff
test rdi, rdi
je 0x3bc1cb8f1
test rbx, rbx
je 0x3bc1cb8fd
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rsi
lea rdx, str.registry_del_value
lea rcx, str._E____s_____Failed_root0x_p_key_s_param_s_err_08x__n
call fcn.3bc1c1292
mov eax, ebp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, eax
test eax, eax
je 0x3bc1cb7fd
test rdi, rdi
je 0x3bc1cb738
mov rax, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
lea rdx, str.registry_del_value
lea rcx, str._E____s_____RegDeleteValueA_failed_root0x_p_key_s_param_s_res_lu__n
call fcn.3bc1c1292
cmp ebp, 0x20
jg 0x3bc1cb775
test ebp, ebp
js 0x3bc1cb741
cmp ebp, 0x20
ja case.0x3bc1cb736.1
mov ebp, ebp
lea rdx, [0x3bc1d9074]
movsxd rax, dword [rdx + rbp*4]
add rax, rdx
jmp rax
lea rax, [0x3bc1d8860]
jmp 0x3bc1cb6f6
cmp ebp, 0x80070005
je 0x3bc1cb7ef
mov ebp, 0x40000001
jmp 0x3bc1cb802
mov ebp, 0x40000009
jmp 0x3bc1cb802
mov ebp, 0
jmp 0x3bc1cb802
mov ebp, 0x40000001
jmp 0x3bc1cb802
cmp ebp, 0x91
je 0x3bc1cb83f
cmp ebp, 0x91
jg 0x3bc1cb7b1
cmp ebp, 0x50
je 0x3bc1cb846
cmp ebp, 0x50
jl 0x3bc1cb84d
sub ebp, 0x7e
cmp ebp, 1
ja 0x3bc1cb7aa
mov ebp, 0x40000003
jmp 0x3bc1cb802
mov ebp, 0x40000001
jmp 0x3bc1cb802
cmp ebp, 0xb7
je 0x3bc1cb854
cmp ebp, 0xb7
jg 0x3bc1cb85b
cmp ebp, 0x94
je 0x3bc1cb862
cmp ebp, 0xaa
jne 0x3bc1cb869
mov ebp, 0x4000000d
jmp 0x3bc1cb802
mov ebp, 0x40000003
jmp 0x3bc1cb802
mov ebp, 0x40000009
jmp 0x3bc1cb802
mov ebp, 0x4000000d
jmp 0x3bc1cb802
mov ebp, 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x3bc1cb690
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rsi
lea rdx, str.registry_del_value
lea rcx, str._I____s_____Done_root0x_p_key_s_param_s__n
call fcn.3bc1c1292
jmp 0x3bc1cb6cb
mov ebp, 0x40000008
jmp 0x3bc1cb802
mov ebp, 0x4000000d
jmp 0x3bc1cb802
mov ebp, 0x40000007
jmp 0x3bc1cb802
mov ebp, 0x40000001
jmp 0x3bc1cb802
mov ebp, 0x40000007
jmp 0x3bc1cb802
mov ebp, 0x40000001
jmp 0x3bc1cb802
mov ebp, 0x4000000d
jmp 0x3bc1cb802
mov ebp, 0x40000001
jmp 0x3bc1cb802
cmp ebp, 0x80070005
je case.0x3bc1cb630.5
mov ebp, 0x40000001
jmp 0x3bc1cb690
cmp ebp, 0x91
je case.0x3bc1cb630.32
jg 0x3bc1cb8a5
cmp ebp, 0x50
je 0x3bc1cb8c9
jl case.0x3bc1cb630.1
sub ebp, 0x7e
cmp ebp, 1
ja case.0x3bc1cb630.1
mov ebp, 0x40000003
jmp 0x3bc1cb690
cmp ebp, 0xb7
je 0x3bc1cb8c9
jg case.0x3bc1cb630.1
cmp ebp, 0x94
je case.0x3bc1cb630.32
cmp ebp, 0xaa
jne case.0x3bc1cb630.1
mov ebp, 0x4000000d
jmp 0x3bc1cb690
mov ebp, 0x40000007
jmp 0x3bc1cb690
mov ebp, 0x40000009
jmp 0x3bc1cb690
mov ebp, 0x40000008
jmp 0x3bc1cb690
mov ebp, 0
jmp 0x3bc1cb815
lea rdi, [0x3bc1d8860]
jmp 0x3bc1cb6a0
lea rbx, [0x3bc1d8860]
jmp 0x3bc1cb6a9