Function at 0x180077780
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x278]
sub rsp, 0x370
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov qword [rbp - 0x18], 7
xor esi, esi
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
xor r8d, r8d
lea rdx, [0x18019bf30]
lea rcx, [rbp - 0x30]
call fcn.180015970
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [rsi + 3]
lea rdx, [0x180180a30]
lea rcx, [rsp + 0x58]
call fcn.180015970
nop
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.180021f00
cmp byte [rax], sil
sete bl
mov byte [rsp + 0x48], sil
cmp qword [rsp + 0x70], 8
jb 0x18007783b
mov rcx, qword [rsp + 0x58]
call fcn.1801196dc
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
cmp qword [rbp - 0x18], 8
jb 0x18007785e
mov rcx, qword [rbp - 0x30]
call fcn.1801196dc
test bl, bl
jne 0x180077cef
lea rcx, [rbp - 8]
call fcn.1800368d0
nop
lea rdx, str.softwareMicrosoftInternet_ExplorerInternetRegistryREGISTRYUSER_1_SoftwareWeb_Assistant_script_storage
lea rcx, [rbp + 0x20]
call fcn.180014790
mov rbx, rax
cmp byte [rax + 0x54], 0
je 0x180077891
mov rcx, rax
call fcn.18000b740
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.1800085e0
inc dword [rbx + 0x4c]
mov edx, dword [rbx + 0x4c]
cmp qword [rbx + 0x40], 0
je 0x180077906
cmp edx, dword [rbx + 0x50]
jge 0x180077906
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x50], rsi
movsxd rcx, edx
test edx, edx
jns 0x1800778e2
mov rax, rcx
neg rax
je 0x1800778e2
or rax, 0xffffffffffffffff
sub rax, rcx
shr rax, 5
lea rax, [rax*4 + 4]
mov r8, r9
sub r8, rax
jmp 0x1800778ed
mov rax, rcx
shr rax, 5
lea r8, [r9 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [r8], eax
je 0x180077906
inc edx
mov dword [rbx + 0x4c], edx
cmp edx, dword [rbx + 0x50]
jl 0x1800778b8
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180015260
nop
lea rcx, [rbp + 0x20]
call fcn.18000f510
lea rdx, str.softwareMicrosoftInternet_ExplorerInternetRegistryREGISTRYUSER_1_SoftwareIB_Updater_script_storage
lea rcx, [rbp + 0x140]
call fcn.180014790
mov rbx, rax
cmp byte [rax + 0x54], 0
je 0x180077940
mov rcx, rax
call fcn.18000b740
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.1800085e0
inc dword [rbx + 0x4c]
mov edx, dword [rbx + 0x4c]
cmp qword [rbx + 0x40], 0
je 0x1800779b5
cmp edx, dword [rbx + 0x50]
jge 0x1800779b5
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x50], rsi
movsxd rcx, edx
test edx, edx
jns 0x180077991
mov rax, rcx
neg rax
je 0x180077991
or rax, 0xffffffffffffffff
sub rax, rcx
shr rax, 5
lea rax, [rax*4 + 4]
mov r8, r9
sub r8, rax
jmp 0x18007799c
mov rax, rcx
shr rax, 5
lea r8, [r9 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [r8], eax
je 0x1800779b5
inc edx
mov dword [rbx + 0x4c], edx
cmp edx, dword [rbx + 0x50]
jl 0x180077967
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.180015260
nop
lea rcx, [rbp + 0x140]
call fcn.18000f510
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rsi
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov rdx, 0xffffffff80000001
mov r9d, 0xf003f
lea rcx, [rsp + 0x58]
call fcn.1800157c0
lea r12, [0x180180b18]
mov rdi, qword [rsp + 0x58]
test eax, eax
jne 0x180077a40
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180180b00]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rsp + 0x48], rsi
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x180077ac2
cmp qword [rbx], 0
je 0x180077ab5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180077a6e
mov eax, 1
jmp 0x180077ae9
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180077abb
mov qword [rsp + 0x30], rsi
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.softwareWeb_Assistant_script_storage
mov rcx, 0xffffffff80000001
call rax
jmp 0x180077ae9
cmp dword [rbx + 8], 0
jne 0x180077ac2
mov eax, 1
jmp 0x180077ae9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.softwareWeb_Assistant_script_storage
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180077b3e
mov eax, esi
test rdi, rdi
je 0x180077afd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], esi
test eax, eax
jne 0x180077b3e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180180b00]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r8, qword [rbp - 0x58]
mov rdx, 0xffffffff80000001
mov r9d, 0xf003f
lea rcx, [rsp + 0x58]
call fcn.1800157c0
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x180077b9b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180180b00]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rsp + 0x48], rsi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x180077c1d
cmp qword [rdi], 0
je 0x180077c10
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180077bc9
mov eax, 1
jmp 0x180077c44
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180077c16
mov qword [rsp + 0x30], rsi
mov rdx, qword [rdi]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.softwareIB_Updater_script_storage
mov rcx, 0xffffffff80000001
call rax
jmp 0x180077c44
cmp dword [rdi + 8], 0
jne 0x180077c1d
mov eax, 1
jmp 0x180077c44
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.softwareIB_Updater_script_storage
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180077c90
mov eax, esi
test rbx, rbx
je 0x180077c58
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x180077c90
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180180b00]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x180077c9f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x40], 8
jb 0x180077caf
mov rcx, qword [rbp - 0x58]
call fcn.1801196dc
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
cmp qword [rbp - 0x68], 8
jb 0x180077ccf
mov rcx, qword [rbp - 0x80]
call fcn.1801196dc
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
cmp qword [rbp + 0x10], 8
jb 0x180077cef
mov rcx, qword [rbp - 8]
call fcn.1801196dc
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.180119820
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret