Function at 0x14002ebb0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], 0
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rsi, rax
lea rcx, [rsp + 0xa8]
cmp rax, 7
ja 0x14002ec38
mov qword [rcx + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rsi*2 + 0xa8], 0
jmp 0x14002ec43
mov rdx, rsi
mov r9, rbp
call fcn.14005b130
movzx eax, word [rsp + 0xa8]
mov rcx, qword [rsp + 0xaa]
mov qword [rsp + 0x98], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x9e], rcx
movups xmm0, xmmword [rsp + 0xb8]
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x9e]
mov qword [rsp + 0x7a], rax
mov qword [rsp + 0x80], rcx
movups xmmword [rsp + 0x88], xmm0
lea rbp, [rsp + 0x58]
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 7
mov word [rbp], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rbp
call fcn.14005b130
test rbx, rbx
je 0x14002ed66
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x14002f056
lea rdx, [rax + 1]
mov qword [rsp + 0x68], rdx
cmp rcx, 8
jb 0x14002ecfc
mov rbp, qword [rsp + 0x58]
mov word [rbp + rax*2], 0x5c
mov word [rbp + rax*2 + 2], 0
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rdx, rbp
sub rdx, rcx
cmp rdx, rax
jb 0x14002f07a
lea rsi, [rcx + rax]
mov qword [rsp + 0x68], rsi
cmp rbp, 8
jb 0x14002ed41
mov rbp, qword [rsp + 0x58]
jmp 0x14002ed46
lea rbp, [rsp + 0x58]
lea rcx, [rcx*2]
add rcx, rbp
add rax, rax
mov rdx, rbx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rsi*2], 0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002ee5f
mov ebp, eax
cdqe
add rax, rax
mov rsi, 0xffffffffffffffff
cmovae rsi, rax
mov rcx, rsi
call fcn.14005766c
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.VCRUNTIME140.dll_memset
cmp ebp, 0xffffffff
je 0x14002f0fd
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002ee99
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], 0
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rsi, rax
lea rcx, [rsp + 0xa8]
cmp rax, 7
ja 0x14002eed3
mov qword [rcx + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rsi*2 + 0xa8], 0
jmp 0x14002eede
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.Utf8ToUtf16
mov edx, edi
mov r9d, 0x29
call fcn.14002cd80
xor ebp, ebp
xor r12d, r12d
xor esi, esi
xor ebx, ebx
jmp 0x14002ef08
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.Utf8ToUtf16
mov edx, edi
mov r9d, 0x32
call fcn.14002cd80
xor ebp, ebp
xor r12d, r12d
xor esi, esi
xor ebx, ebx
jmp 0x14002ef00
mov rdx, rsi
mov r9, r15
call fcn.14005b130
mov rbp, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
xor edi, edi
mov rcx, r15
call fcn.140057540
test edi, edi
jne 0x14002efad
lea rax, [rsp + 0x38]
mov qword [rax], rbp
mov qword [rax + 8], r12
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov rcx, qword [rsp + 0x70]
cmp rbx, 8
cmovae rax, rbp
cmp qword [rsp + 0x90], 8
jb 0x14002ef43
mov r8, qword [rsp + 0x78]
jmp 0x14002ef48
lea r8, [rsp + 0x78]
lea ebp, [rsi + rsi]
add ebp, 2
cmp rcx, 8
jb 0x14002ef5b
mov rdx, qword [rsp + 0x58]
jmp 0x14002ef60
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14002efab
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RegistrySetValueString
mov edx, edi
mov r9d, 0x79
call fcn.14002cd80
jmp 0x14002efad
xor edi, edi
mov dword [r14], edi
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x14002efda
mov rcx, qword [rsp + 0x38]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f094
call fcn.140057540
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x14002f004
mov rcx, qword [rsp + 0x58]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f0b7
call fcn.140057540
mov rax, qword [rsp + 0x90]
cmp rax, 8
jb 0x14002f031
mov rcx, qword [rsp + 0x78]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14002f0da
call fcn.140057540
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140058660
mov rax, r14
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], 1
lea r9, [0x1400a2d90]
lea rcx, [rsp + 0x58]
mov edx, 1
call fcn.14005afe0
jmp 0x14002ed0a
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
mov rdx, rax
mov r9, rbx
call fcn.14005afe0
jmp 0x14002ed66
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f108
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002efd5
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f108
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002efff
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002f108
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14002f02c
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3