Function at 0x140005e30
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea rcx, [0x140002d18]
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x140005ea9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x80070000
lea rdx, [0x140002d40]
movzx ebx, ax
lea rcx, [0x140002da0]
or ebx, edi
test eax, eax
cmovle ebx, eax
mov r8d, ebx
call fcn.14000aad4
jmp 0x140005f06
lea rdx, [0x140002dc8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, 0x80070000
test rax, rax
jne 0x140005edf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140002d40]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov r8d, ebx
jmp 0x140005ef1
call rax
mov ebx, eax
test eax, eax
jns 0x140005efd
mov r8d, eax
lea rdx, [0x140002de0]
lea rcx, [0x140002da0]
call fcn.14000aad4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
js 0x140006240
lea rdx, [rsp + 0x60]
lea rcx, [0x140002770]
mov r8d, 0x27
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x140005f42
lea rdx, [0x140002e50]
lea rcx, [0x140002ea0]
call fcn.14000aad4
mov ebx, 0x80004005
test ebx, ebx
js 0x140006240
mov esi, 0x104
lea r8, [0x140003588]
lea rcx, [rbp - 0x50]
mov edx, esi
call fcn.140004ab8
mov ebx, eax
test eax, eax
js 0x140006225
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400049f0
mov ebx, eax
test eax, eax
js 0x140006225
lea rax, [rsp + 0x58]
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006060
mov rcx, qword [rsp + 0x50]
lea rax, str.Internet_Explorer_ETW_Collector_Service
lea rdx, [0x140003580]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0x50
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140006036
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
lea rdx, [0x140002700]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0x4e
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140006053
lea rcx, [0x140002ec0]
jmp 0x14000603d
lea rcx, [0x140002f40]
movzx ebx, ax
lea rdx, [rbp - 0x50]
or ebx, edi
test eax, eax
cmovle ebx, eax
mov r8d, ebx
call fcn.14000aad4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000607d
movzx ebx, ax
lea rdx, [rbp - 0x50]
lea rcx, [0x140002fc0]
or ebx, edi
test eax, eax
cmovle ebx, eax
mov r8d, ebx
call fcn.14000aad4
test ebx, ebx
js 0x140006225
lea r8, [0x140003030]
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.140004ab8
mov ebx, eax
test eax, eax
js 0x140006225
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400049f0
mov ebx, eax
test eax, eax
js 0x140006225
lea rax, [rsp + 0x58]
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006204
mov rcx, qword [rsp + 0x50]
lea rax, str.IEEtwCollectorService
lea rdx, [0x140003040]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0x2c
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400061fb
mov rcx, qword [rsp + 0x50]
lea rax, [0x140018490]
mov esi, 0x90
lea rdx, [0x140003060]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400061f2
mov rcx, qword [rsp + 0x50]
lea rax, [0x140018400]
lea rdx, [0x140003088]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400061e9
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 4]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x28], r9d
lea rdx, [0x1400030b0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x5c], 2
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400061db
lea rcx, [0x1400030e0]
jmp 0x14000620b
lea rcx, [0x140003180]
call fcn.14000aad4
jmp 0x140006221
lea rcx, [0x1400031f0]
jmp 0x14000620b
lea rcx, [0x140003290]
jmp 0x14000620b
lea rcx, [0x140003330]
jmp 0x14000620b
lea rcx, [0x140002fc0]
movzx ebx, ax
lea rdx, [rbp - 0x50]
or ebx, edi
test eax, eax
cmovle ebx, eax
mov r8d, ebx
call fcn.14000aad4
test ebx, ebx
jns 0x140006240
lea rdx, [0x1400033c0]
lea rcx, [0x140002da0]
mov r8d, ebx
call fcn.14000aad4
call fcn.140006270
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14000a5c0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret