Function at 0x1400109d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r12
push rbp
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov dword [rsp + 0x30], 0x808
xor ebx, ebx
call fcn.140019f64
test eax, eax
je 0x140010c3e
lea rdx, [rsp + 0x40]
mov ecx, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x140010a35
xor eax, eax
jmp 0x140010d66
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, 2
jne 0x140010bab
lea rax, [rsp + 0x38]
mov r12, 0xffffffff80000000
lea rdx, str.http_shellopencommand
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010af8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010af8
mov edx, dword [rsp + 0x30]
lea eax, [rdx - 1]
cmp byte [rsp + rax + 0x50], bl
je 0x140010acd
mov byte [rsp + rdx + 0x50], bl
lea rdx, str.chrome.exe
lea rcx, [rsp + 0x50]
call fcn.14001e0b0
test rax, rax
je 0x140010af8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x140010d66
lea rax, [rsp + 0x38]
lea rdx, str.http_shellopenddeexecApplication
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010b9b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010c34
mov edx, dword [rsp + 0x30]
lea eax, [rdx - 1]
cmp byte [rsp + rax + 0x50], bl
je 0x140010b5f
mov byte [rsp + rdx + 0x50], bl
lea rdx, str.IExplore
lea rcx, [rsp + 0x50]
call fcn.1400206d0
test eax, eax
jne 0x140010b7c
lea ebx, [rax + 1]
jmp 0x140010c29
lea rdx, str.Firefox
lea rcx, [rsp + 0x50]
call fcn.1400206d0
neg eax
sbb ecx, ecx
neg ecx
lea ebx, [rcx + 2]
jmp 0x140010c29
cmp eax, 2
jne 0x140010c34
mov ebx, eax
jmp 0x140010c34
test eax, eax
jne 0x140010c34
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.Progid
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010c34
mov edx, dword [rsp + 0x30]
lea eax, [rdx - 1]
cmp byte [rsp + rax + 0x50], bl
je 0x140010bf4
mov byte [rsp + rdx + 0x50], bl
lea rdx, str.FirefoxURL
lea rcx, [rsp + 0x50]
call fcn.1400206d0
test eax, eax
jne 0x140010c0e
lea ebx, [rax + 2]
jmp 0x140010c29
lea rdx, str.IE.HTTP
lea rcx, [rsp + 0x50]
call fcn.1400206d0
neg eax
sbb ecx, ecx
and ecx, 2
lea ebx, [rcx + 1]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
jmp 0x140010d5e
lea rax, [rsp + 0x38]
mov r12, 0xffffffff80000000
lea rdx, str.http_shellopencommand
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010cc2
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010cc2
mov edx, dword [rsp + 0x30]
lea eax, [rdx - 1]
cmp byte [rsp + rax + 0x50], bl
je 0x140010ca8
mov byte [rsp + rdx + 0x50], bl
lea rdx, str.chrome.exe
lea rcx, [rsp + 0x50]
call fcn.14001e0b0
test rax, rax
jne 0x140010ae3
lea rax, [rsp + 0x38]
lea rdx, str.http_shellopenddeexecApplication
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010d64
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010d59
mov edx, dword [rsp + 0x30]
lea eax, [rdx - 1]
cmp byte [rsp + rax + 0x50], bl
je 0x140010d25
mov byte [rsp + rdx + 0x50], bl
lea rdx, str.IExplore
lea rcx, [rsp + 0x50]
call fcn.1400206d0
test eax, eax
jne 0x140010d3f
lea ebx, [rax + 1]
jmp 0x140010d59
lea rdx, str.Firefox
lea rcx, [rsp + 0x50]
call fcn.1400206d0
neg eax
sbb ecx, ecx
neg ecx
lea ebx, [rcx + 2]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov r12, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret