Function at 0x140011170
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov rax, qword [0x14018d558]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x30], r13d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.1400d4e70
mov dword [rsp + 0x34], 0x3ff
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011240
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.CTFarm
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140011235
mov word [rbp - 0x80], r13w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp - 0x80], r13w
je 0x1400113ed
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rbp - 0x80]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140011270
movabs rsi, 0x7ffffffffffffffe
cmp rdi, rsi
ja 0x1400114cf
cmp rdi, 8
jae 0x1400112cd
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400d47d0
mov word [rsp + rbx + 0x40], r13w
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
jmp 0x140011320
mov rax, rdi
or rax, 7
cmp rax, rsi
ja 0x1400112e8
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.14000c040
mov r14, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400d47d0
mov word [rbx + r14], r13w
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x60]
call fcn.1400105b0
mov r11, rax
mov r15d, 3
mov rbx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140011349
mov r11, qword [rax]
lea r12, [rsp + 0x40]
cmp rsi, 8
cmovae r12, r14
cmp rbx, rdi
ja 0x1400113f7
sub rdi, rbx
test rbx, rbx
je 0x1400113e3
inc rdi
lea rdi, [r12 + rdi*2]
mov rcx, r12
movzx r10d, word [r11]
nop word [rax + rax]
mov rax, rdi
sub rax, rcx
sar rax, 1
mov rdx, r13
je 0x1400113aa
cmp word [rcx], r10w
je 0x1400113a7
cmp rax, 1
je 0x1400113aa
dec rax
add rcx, 2
cmp word [rcx], r10w
jne 0x140011394
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x1400113f7
mov r8, rbx
mov rdx, r11
test rbx, rbx
je 0x1400113d7
mov r9, rcx
sub r9, r11
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x1400113e7
add rdx, 2
sub r8, 1
jne 0x1400113c3
sub rcx, r12
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x1400113f7
mov bl, 1
jmp 0x1400113f9
add rcx, 2
jmp 0x140011380
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
xor bl, bl
test r15b, 2
je 0x140011459
and r15d, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140011445
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011440
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400114d5
call fcn.1400d26e8
movdqa xmm0, xmmword [0x140167b60]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
test r15b, 1
je 0x140011496
cmp rsi, 8
jb 0x140011496
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001148e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400114c9
mov rcx, r14
call fcn.1400d26e8
movzx eax, bl
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1400d2c70
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d95d8
int3
call fcn.14000bf30
nop
call fcn.1400d95d8
nop
int3