Function at 0x140004330
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x2c0
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x2b0], r13
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerTypedUrls
xor r13d, r13d
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov ebx, 1
mov qword [rsp + 0x48], r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400045ed
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x2d0], rbp
mov qword [rsp + 0x2d8], rsi
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov esi, r13d
xor edx, edx
mov qword [rsp + 0x2b8], r12
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x40], 0x40
mov byte [rsp + 0x60], sil
mov r12d, r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14000449b
nop
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
add esi, ebx
add r12d, ebx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0xa0], r13b
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000445b
lea rcx, [rsp + 0xa0]
call fcn.140004220
test eax, eax
je 0x14000445b
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
sub esi, ebx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, esi
mov qword [rsp + 0x28], r13
mov byte [rsp + 0x60], r13b
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x1400043f0
test esi, esi
mov dword [rsp + 0x50], r13d
mov ebp, r13d
mov ebx, r13d
jle 0x1400045d2
mov qword [rsp + 0x2e0], rdi
cmp ebx, r12d
jge 0x1400045ca
lea edi, [rbx + 1]
lea rdx, str.url_d
lea rcx, [rsp + 0x60]
mov r8d, edi
call fcn.1400c2cf0
mov byte [rsp + 0xa0], r13b
mov dword [rsp + 0x40], 0x200
nop
nop
nop
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140004556
mov ebx, edi
add edi, 1
lea rdx, str.url_d
lea rcx, [rsp + 0x60]
mov r8d, edi
call fcn.1400c2cf0
xor r11b, r11b
cmp ebx, r12d
mov byte [rsp + 0xa0], r11b
mov dword [rsp + 0x40], 0x200
jl 0x1400044f0
jmp 0x14000455f
movzx r11d, byte [rsp + 0xa0]
cmp ebp, ebx
je 0x1400045bc
test r11b, r11b
je 0x1400045bc
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea r8d, [rbp + 1]
lea rdx, str.url_d
lea rcx, [rsp + 0x60]
call fcn.1400c2cf0
mov r11d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], r11d
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add ebp, 1
add ebx, 1
cmp ebp, esi
jl 0x1400044b6
mov rdi, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2d8]
mov rbp, qword [rsp + 0x2d0]
mov ebx, r13d
mov rcx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x2b0]
test rcx, rcx
je 0x140004605
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0x2c0
pop rbx
ret