Function at 0x14012f8ac
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 [0x140368360]
call fcn.140152f38
xor r15d, r15d
lea rsi, str.PureWeb
cmp dword [0x140366370], r15d
mov rbx, rax
jne 0x14012face
xor ecx, ecx
mov dword [0x140366370], 1
call qword [sym.imp.ole32.dll_OleInitialize]
mov edi, 0x140
lea rcx, [0x140366230]
mov r8d, edi
xor edx, edx
call fcn.1400e6121
lea rax, [0x14012ffb0]
mov dword [0x140366234], edi
mov qword [0x140366240], rax
lea rax, [0x140130948]
lea edi, [r15 + 0x50]
mov qword [0x140366250], rax
lea rax, [0x140130508]
lea rcx, [rbp - 0x70]
mov qword [0x140366258], rax
lea rax, [fcn.1401309ac]
mov r8d, edi
mov qword [0x140366260], rax
lea rax, [0x140130264]
xor edx, edx
mov qword [0x1403662a8], rax
lea rax, [0x140130814]
mov dword [0x140366230], 0x12
mov qword [0x1403662b0], rax
lea rax, [0x140130048]
mov qword [0x1403662f8], rax
lea rax, [0x1401305d8]
mov qword [0x140366300], rax
call fcn.1400e6121
mov rax, qword [0x140360a28]
mov qword [rbp - 0x58], rax
lea rax, [0x14012fc88]
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 [0x140360a28]
lea rax, [0x14012fdb0]
lea rdx, [rbp + 0x10]
mov r8d, 0x104
mov qword [0x140368aa0], 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 0x14012fa36
cmp ax, 0x2f
je 0x14012fa2b
cmp ax, 0x5c
jne 0x14012fa2f
lea rdx, [rcx + 2]
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14012fa1f
lea rcx, [rbp + 0x220]
call fcn.1400e60fd
cmp word [rbp + 0x220], r15w
je 0x14012face
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 0x14012face
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.1401382a0
mov rax, qword [0x140360a28]
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, [0x140233d88]
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 0x14012fc6d
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x140368320]
mov rdx, r14
mov rsi, rax
call fcn.140152fe4
lea r9, [0x140366230]
mov r8, rdi
mov rcx, r14
mov rdx, rax
mov rbx, rax
call fcn.140130e74
mov rcx, rbx
mov rdi, rax
call fcn.14012fe94
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8 + 0x1e0]
cmp qword [rbx + 0x20], r15
je 0x14012fc53
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
lea rcx, [0x140233d90]
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 0x14012fc49
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 0x14012fc0e
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x30], r15d
je 0x14012fc22
mov rdx, qword [rbp + 0x488]
test rdx, rdx
je 0x14012fc6d
cmp word [rdx], r15w
je 0x14012fc6d
mov rcx, rbx
call fcn.1401309ac
mov rax, rdi
mov rbx, qword [rsp + 0x560]
add rsp, 0x530
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret