Function at 0x14004251c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov r14, rcx
mov rcx, qword [0x140168ae0]
call fcn.14005198c
xor r15d, r15d
lea rsi, str.PureWeb
cmp dword [0x1401681c0], r15d
mov rbx, rax
jne 0x14004273e
xor ecx, ecx
mov dword [0x1401681c0], 1
call qword [sym.imp.ole32.dll_OleInitialize]
mov edi, 0x140
lea rcx, [0x140168080]
mov r8d, edi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [0x140042c20]
mov dword [0x140168084], edi
mov qword [0x140168090], rax
lea rax, [0x1400435b8]
lea edi, [r15 + 0x50]
mov qword [0x1401680a0], rax
lea rax, [0x140043178]
lea rcx, [rbp - 0x70]
mov qword [0x1401680a8], rax
lea rax, [fcn.14004361c]
mov r8d, edi
mov qword [0x1401680b0], rax
lea rax, [0x140042ed4]
xor edx, edx
mov qword [0x1401680f8], rax
lea rax, [0x140043484]
mov dword [0x140168080], 0x12
mov qword [0x140168100], rax
lea rax, [0x140042cb8]
mov qword [0x140168148], rax
lea rax, [0x140043248]
mov qword [0x140168150], rax
call sub.msvcrt.dll_memset
mov rax, qword [0x1401669a0]
mov qword [rbp - 0x58], rax
lea rax, [0x1400428f8]
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], edi
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x6c], 3
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rcx, qword [0x1401669a0]
lea rax, [0x140042a20]
lea rdx, [rbp + 0x10]
mov r8d, 0x104
mov qword [0x140168b60], rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, word [rbp + 0x10]
lea rcx, [rbp + 0x10]
mov word [rbp + 0x220], r15w
lea rdx, [rbp + 0x10]
jmp 0x1400426a6
cmp ax, 0x2f
je 0x14004269b
cmp ax, 0x5c
jne 0x14004269f
lea rdx, [rcx + 2]
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14004268f
lea rcx, [rbp + 0x220]
call sub.msvcrt.dll_wcscpy
cmp word [rbp + 0x220], r15w
je 0x14004273e
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14004273e
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
lea rdx, [rbp + 0x220]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 0x2af9
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [rbp + 0x480]
lea r8, [rbp + 0x478]
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x468]
call fcn.1400477e8
mov rax, qword [0x1401669a0]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rax
or qword [rsp + 0x48], 0xffffffffffffffff
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x480]
lea r8, [0x1401251a8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x478]
mov r9d, 0x50000000
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x470]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x468]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x1400428dd
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x140168b40]
mov rdx, r14
mov rsi, rax
call fcn.1400521fc
lea r9, [0x140168080]
mov r8, rdi
mov rcx, r14
mov rdx, rax
mov rbx, rax
call fcn.140043a50
mov rcx, rbx
mov rdi, rax
call fcn.140042b04
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8 + 0x1e0]
cmp qword [rbx + 0x20], r15
je 0x1400428c3
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
lea rcx, str.about:blank
mov word [rsp + 0x70], ax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [rax + 0x1a0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1400428b9
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14004287e
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x30], r15d
je 0x140042892
mov rdx, qword [rbp + 0x488]
test rdx, rdx
je 0x1400428dd
cmp word [rdx], r15w
je 0x1400428dd
mov rcx, rbx
call fcn.14004361c
mov rax, rdi
mov rbx, qword [rsp + 0x560]
add rsp, 0x530
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret