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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x218]
sub rsp, 0x300
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400b9080]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
xor r14d, r14d
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140025979
mov rdi, qword [rcx]
call fcn.14008b840
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x148], rsi
lea r8, [rbp + 0x140]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000acc0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140025820
cmp rax, r11
je 0x1400259eb
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400259eb
cmp cx, 0x2f
je 0x1400259eb
mov r10, rdx
cmp rax, rdx
jne 0x1400259d0
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], r14
mov r8, r11
mov rdx, r10
lea rcx, [rbp + 0x110]
call fcn.1400088e0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x110]
call fcn.14000ae20
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 8
jb 0x140025a79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025a74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025a74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9ae0]
movdqu xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140025ad5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025ad0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025ad0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9ae0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
sub rax, rcx
cmp rax, 0x22
jb 0x1400264f9
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rax, qword [rbp + 0xa0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xe0]
call fcn.1400199f0
nop
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 4
jb 0x1400264f3
cmp qword [rbx + 0x18], 0x10
jb 0x140025b62
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x1400a9a14]
lea rcx, [rbp + 0xc0]
call fcn.1400199f0
nop
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
lea r8, [rbp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140025cc0
movabs rax, 0x9f17361253865c6b
mov qword [rbp + 0x140], rax
movabs rax, 0x444f575f53964ce4
mov qword [rbp + 0x148], rax
movabs rax, 0x2a5e95c34f10c45
mov qword [rbp + 0x150], rax
movabs rax, 0xace17a6187acc26e
mov qword [rbp + 0x158], rax
movabs rax, 0xb879575173db7130
mov qword [rbp + 0x110], rax
movabs rax, 0x213b363a21f56c90
mov qword [rbp + 0x118], rax
movabs rax, 0x67c6802a46947f65
mov qword [rbp + 0x120], rax
movabs rax, 0xace17a6bfec9a94e
mov qword [rbp + 0x128], rax
movups xmm0, xmmword [rbp + 0x110]
movups xmm1, xmmword [rbp + 0x120]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmmword [rbp + 0x150]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x40]
call fcn.140001bb0
xor bl, bl
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14002640e
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026409
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rbp + 0x70]
test eax, eax
je 0x140025e19
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x9f17361253865c6b
mov qword [rbp + 0x110], rax
movabs rax, 0x444f575f53964ce4
mov qword [rbp + 0x118], rax
movabs rax, 0x2a5e95c34f10c45
mov qword [rbp + 0x120], rax
movabs rax, 0xace17a6187acc26e
mov qword [rbp + 0x128], rax
movabs rax, 0x789d9d66a726503f
mov qword [rbp + 0x130], rax
movabs rcx, 0x7857cd536a6139d8
movabs rax, 0xb879575173db7130
mov qword [rsp + 0x40], rax
movabs rax, 0x213b363a21f56c90
mov qword [rsp + 0x48], rax
movabs rax, 0x52c08e3d59b82b65
mov qword [rsp + 0x50], rax
movabs rax, 0xcb840841a0c4b60f
mov qword [rsp + 0x58], rax
movabs rax, 0x19ebbd1fd5522356
mov qword [rsp + 0x60], rax
movabs rax, 0x7857cd5360044cb4
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x138], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x140], xmm0
xorps xmm1, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x150], xmm1
xorps xmm2, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x160], xmm2
lea rcx, [rbp + 0x140]
jmp 0x140025c6e
mov dword [rsp + 0x28], 4
lea rax, reloc.WS2_32.dll_accept
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rbp + 0x70]
test eax, eax
je 0x140025f08
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x9f17361253865c6b
mov qword [rbp + 0x110], rax
movabs rax, 0x444f575f53964ce4
mov qword [rbp + 0x118], rax
movabs rax, 0x2a5e95c34f10c45
mov qword [rbp + 0x120], rax
movabs rax, 0xace17a6187acc26e
mov qword [rbp + 0x128], rax
movabs rax, 0x789d9d66a726503f
mov qword [rbp + 0x130], rax
movabs rcx, 0x7857cd536a6139d8
movabs rax, 0xb879575173db7130
mov qword [rsp + 0x40], rax
movabs rax, 0x213b363a21f56c90
mov qword [rsp + 0x48], rax
movabs rax, 0x22828c2c4da52b65
mov qword [rsp + 0x50], rax
movabs rax, 0xd5930e12eecba71c
mov qword [rsp + 0x58], rax
movabs rax, 0x7897f813cb47261f
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
jmp 0x140025dca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x140025c73
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea r9, [rbp + 0x78]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
jns 0x140026185
movabs rax, 0x9f17361253865c6b
mov qword [rbp + 0x170], rax
movabs rax, 0x444f575f53964ce4
mov qword [rbp + 0x178], rax
movabs rax, 0x2a5e95c34f10c45
mov qword [rbp + 0x180], rax
movabs rax, 0xace17a6187acc26e
mov qword [rbp + 0x188], rax
movabs rax, 0x789d9d66a726503f
mov qword [rbp + 0x190], rax
movabs rcx, 0x7857cd536a6139d8
mov qword [rbp + 0x198], rcx
movabs rax, 0x467a61e025c597c9
mov qword [rbp + 0x1a0], rax
movabs rax, 0xc15ac79508f50c02
mov qword [rbp + 0x1a8], rax
movabs rax, 0x6d014c2a04913a73
mov qword [rbp + 0x1b0], rax
movabs rax, 0xd7e2c1d7415a980c
mov qword [rbp + 0x1b8], rax
movabs rax, 0x17902d34f8f3888d
mov qword [rbp + 0x1c0], rax
movabs rax, 0xf7ce1e199b3518d6
mov qword [rbp + 0x1c8], rax
movabs rax, 0xab91bdbe7a2f9a27
mov qword [rbp + 0x1d0], rax
movabs rcx, 0xda77d7ab3993cf00
mov qword [rbp + 0x1d8], rcx
movabs rax, 0xed72167e32f23d2d
mov qword [rbp - 0x70], rax
movabs rax, 0x2d2e317f69e42396
mov qword [rbp - 0x68], rax
movabs rax, 0x6385862814956929
mov qword [rbp - 0x60], rax
movabs rax, 0xffc11f13eed9b30d
mov qword [rbp - 0x58], rax
movabs rax, 0x3cc2d927e86a0f7a
mov qword [rbp - 0x50], rax
movabs rax, 0x2a0792012f37708a
mov qword [rbp - 0x48], rax
movabs rax, 0x683f26a5698cc180
mov qword [rbp - 0x40], rax
movabs rax, 0xb429e7f063944122
mov qword [rbp - 0x38], rax
movabs rax, 0xc2139457db15f01
mov qword [rbp - 0x30], rax
movabs rax, 0xbe8cafa2337afd7e
mov qword [rbp - 0x28], rax
movabs rax, 0x73f10d4799d3efe3
mov qword [rbp - 0x20], rax
movabs rax, 0x96bc6a6af25b71bb
mov qword [rbp - 0x18], rax
movabs rax, 0xab91bdb4545df553
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
movups xmm2, xmmword [rbp - 0x50]
movups xmm3, xmmword [rbp - 0x40]
movups xmm4, xmmword [rbp - 0x30]
movups xmm5, xmmword [rbp - 0x20]
movups xmm6, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp], xmm0
xorps xmm1, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x10], xmm1
xorps xmm2, xmmword [rbp + 0x190]
movdqa xmmword [rbp + 0x20], xmm2
xorps xmm3, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x30], xmm3
xorps xmm4, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x40], xmm4
xorps xmm5, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp + 0x50], xmm5
xorps xmm6, xmmword [rbp + 0x1d0]
movdqa xmmword [rbp + 0x60], xmm6
lea rcx, [rbp]
jmp 0x140025c6e
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r8, qword [rbp + 0xa0]
add r8, qword [rbp + 0xb0]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0x80]
call fcn.140026990
nop
lea r8, [rbp + 0x80]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x40]
call fcn.140008440
mov rbx, rax
lea rax, [rbp + 0x80]
cmp rax, rbx
je 0x14002626d
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140026230
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002622b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400262a6
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9ae0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400262b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400262ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400262ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x100]
call rdi
mov ebx, eax
movabs rax, 0x9f17361253865c6b
mov qword [rbp + 0x140], rax
movabs rax, 0x444f575f53964ce4
mov qword [rbp + 0x148], rax
movabs rax, 0x2a5e95c34f10c45
mov qword [rbp + 0x150], rax
movabs rax, 0xace17a6187acc26e
mov qword [rbp + 0x158], rax
movabs rax, 0xf05b425c73db7730
mov qword [rbp + 0x110], rax
movabs rax, 0x362a213621d22885
mov qword [rbp + 0x118], rax
movabs rax, 0x22d69c2855855f65
mov qword [rbp + 0x120], rax
movabs rax, 0xace17019eb89ba5e
mov qword [rbp + 0x128], rax
movups xmm0, xmmword [rbp + 0x110]
movups xmm1, xmmword [rbp + 0x120]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmmword [rbp + 0x150]
movdqa xmmword [rsp + 0x50], xmm1
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140001bb0
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400263ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400263e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400263e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9ae0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r14w
jmp 0x140025c75
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9af0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140026469
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9af0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400264c4
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400264bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400264bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14008bf60
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140002670
nop
call fcn.140002670
int3