Function at 0x1400eae10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140653828]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rcx
xor edi, edi
lea r8, [rcx + 0x80]
lea rdx, str.SYSTEMCurrentControlSetServicesEventLog_
lea rcx, [rbp - 0x18]
call fcn.1400aeef0
mov r10, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400eae84
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x1400eae7c
mov rax, qword [r10]
mov word [rax + rcx], 0x5c
jmp 0x1400eaea6
mov qword [rsp + 0x20], 1
lea r9, [0x14014e3d4]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r10
call fcn.140003cd0
mov r10, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [r10]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [r10 + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [r10 + 0x10], rdi
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], 0
lea rdx, [rbx + 0xa0]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400eaeeb
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.140006350
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400eaf5f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eaf5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eaf5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
movdqa xmm0, xmmword [0x14014dec0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400eafae
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eafa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eafa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
movdqa xmm0, xmmword [0x14014dec0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov qword [rsp + 0x60], rdi
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rbx, qword [rsp + 0x60]
cmp dword [rsp + 0x58], 1
jne 0x1400eb45b
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0x16
mov qword [rbp - 0x80], 0x1f
movups xmm0, xmmword [str.NTEventLogAppender.dll]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401ea0b8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1401ea0bc]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rbp - 0x78]
call fcn.1400062d0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], reloc.WS2_32.dll_recv
mov qword [rbp - 0x60], 0x1f
movups xmm0, xmmword [str.EventMessageFile]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400eb134
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb12f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb12f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400eb183
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb17e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb17e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0x16
mov qword [rbp - 0x80], 0x1f
movups xmm0, xmmword [str.NTEventLogAppender.dll]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401ea0b8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1401ea0bc]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rbp - 0x78]
call fcn.1400062d0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], reloc.WS2_32.dll_send
mov qword [rbp - 0x60], 0x1f
movups xmm0, xmmword [str.CategoryMessageFile]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401ea0e8]
mov word [rax + 0x10], cx
movzx ecx, byte [0x1401ea0ea]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400eb2b2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb2ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb2ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400eb301
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb2fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb2fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov word [rsp + 0x76], 0
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohl
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.TypesSupported]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x1401ea0f8]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1401ea0fc]
mov word [rsp + 0x74], ax
mov dword [rsp + 0x50], 7
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400eb3ad
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb3a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb3a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov word [rsp + 0x76], di
mov qword [rsp + 0x78], reloc.WS2_32.dll_listen
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.CategoryCount]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x1401ea108]
mov dword [rsp + 0x70], eax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rsp + 0x74], al
mov byte [rsp + 0x75], 0
mov dword [rsp + 0x50], 5
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400eb45b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb456
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400eb4a3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb49e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400eb49e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131388
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140131030
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret