Function at 0x140001b60
Capabilities:
Delete file
Set 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 - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
cmp byte [0x14005c0b8], 1
jne 0x1400025a4
mov rcx, qword [0x14005c9a0]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x14005c0c0]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x40f8], 2
or eax, 0x40
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4150], 0x3f800000
mov r8d, 2
lea rdx, [0x14005c0b8]
lea rcx, str.LION_Injector
call fcn.140010cf0
lea r15, [0x14005ca50]
cmp dword [0x14005c990], 0
jne 0x140001ce8
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x140052f10]
movdqu xmmword [rbp - 9], xmm1
mov eax, dword [0x14004d950]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14004d952]
mov byte [rbp - 0x17], al
mov byte [rbp - 0x16], 0
lea r8, [rbp - 0x19]
lea rcx, [rbp + 0xf]
call fcn.140001740
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140001c87
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov r8d, 0xff
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
inc dword [0x14005c990]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001ce8
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ce3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ce3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
mov qword [rbp + 7], 0
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
mov r8, r15
xor edx, edx
lea rcx, [0x14004d954]
call fcn.140043d40
mov qword [rbp + 7], r14
lea rdx, [rbp + 7]
lea rcx, str.Inject_Panel
call fcn.14003f960
mov rsi, 0xffffffffffffffff
movabs rbx, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
lea r12, [0x14005c0c8]
test al, al
je 0x1400020ea
lea r13, [0x14005c9d0]
mov rcx, r13
cmp qword [0x14005c9e8], 0xf
cmova rcx, qword [0x14005c9d0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov rdi, rsi
inc rdi
cmp byte [r15 + rdi], r14b
jne 0x140001d92
cmp rdi, rbx
ja 0x1400025ef
cmp rdi, 0xf
ja 0x140001dcf
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 0xf
mov r8, rdi
mov rdx, r15
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi + 0xf], r14b
jmp 0x140001e70
mov r15, rdi
or r15, 0xf
cmp r15, rbx
jbe 0x140001e0c
mov r15, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004b2b0
test rax, rax
je 0x140001fae
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x140001e47
cmp r15, 0x16
mov eax, 0x16
cmovb r15, rax
lea rcx, [r15 + 1]
test rcx, rcx
jne 0x140001e27
mov r12, r14
jmp 0x140001e47
cmp rcx, 0x1000
jb 0x140001e3f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025d7
jmp 0x140001dec
call fcn.14004b2b0
mov r12, rax
mov qword [rbp + 0xf], r12
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], r15
mov r8, rdi
lea rdx, [0x14005ca50]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + rdi], r14b
lea r12, [0x14005c0c8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x140052f10]
movdqu xmmword [rbp - 9], xmm1
mov eax, dword [0x14004d950]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14004d952]
mov byte [rbp - 0x17], al
mov byte [rbp - 0x16], 0
mov rdx, r12
cmp qword [0x14005c0e0], 0xf
cmova rdx, qword [0x14005c0c8]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140001f2d
mov eax, dword [rbp + 0x1f]
inc eax
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140001f6b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
movdqa xmm0, xmmword [0x140052f00]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001fba
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov r15, qword [0x14005c9e0]
mov r12, r13
cmp qword [0x14005c9e8], 0xf
cmova r12, qword [0x14005c9d0]
cmp r15, rbx
ja 0x1400025f5
cmp r15, 0xf
ja 0x14000200c
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x19], xmm0
jmp 0x1400020a1
mov rdi, r15
or rdi, 0xf
cmp rdi, rbx
jbe 0x140002047
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004b2b0
mov rcx, rax
test rax, rax
je 0x14000207a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002086
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140002062
mov rax, r14
jmp 0x140002086
cmp rcx, 0x1000
jb 0x140002081
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025dd
jmp 0x140002029
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b2b0
mov qword [rbp - 0x19], rax
mov qword [rbp - 9], r15
mov qword [rbp - 1], rdi
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x68
lea rcx, [rbp - 0x19]
call fcn.140001940
call fcn.140001530
test eax, eax
je 0x1400020d2
cmp qword [0x14005c9e8], 0xf
cmova r13, qword [0x14005c9d0]
mov rdx, r13
mov ecx, eax
call fcn.1400015f0
movabs r13, 0x8000000000000000
lea r15, [0x14005ca50]
lea r12, [0x14005c0c8]
movss xmm1, dword [0x140052eb4]
xorps xmm0, xmm0
call fcn.140015180
mov qword [rbp + 7], 0
lea rdx, [rbp + 7]
lea rcx, str.Inject_ESP
call fcn.14003f960
test al, al
je 0x14000259f
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
nop dword [rax]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x140002130
cmp rsi, rbx
ja 0x1400025fb
cmp rsi, 0xf
ja 0x14000216e
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], 0xf
mov r8, rsi
mov rdx, r15
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi + 0xf], 0
jmp 0x1400021fe
mov rdi, rsi
or rdi, 0xf
cmp rdi, rbx
jbe 0x1400021a0
mov rdi, rbx
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.14004b2b0
test rax, rax
je 0x14000233c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400021db
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400021bb
mov r15, r14
jmp 0x1400021db
cmp rcx, 0x1000
jb 0x1400021d3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025e3
jmp 0x140002181
call fcn.14004b2b0
mov r15, rax
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], rdi
mov r8, rsi
lea rdx, [0x14005ca50]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rsi], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x140052f10]
movdqu xmmword [rbp - 9], xmm1
mov eax, dword [0x14004d950]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14004d952]
mov byte [rbp - 0x17], al
mov byte [rbp - 0x16], 0
cmp qword [0x14005c0e0], 0xf
cmova r12, qword [0x14005c0c8]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400022bb
mov eax, dword [rbp + 0x1f]
inc eax
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400022f9
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
movdqa xmm0, xmmword [0x140052f00]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140002348
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002343
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002343
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b52c
lea r13, [0x14005ca10]
mov rcx, r13
cmp qword [0x14005ca28], 0xf
cmova rcx, qword [0x14005ca10]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r12, [0x14005c9f0]
mov rcx, r12
cmp qword [0x14005ca08], 0xf
cmova rcx, qword [0x14005c9f0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x14005ca30]
cmp qword [0x14005ca48], 0xf
cmova rcx, qword [0x14005ca30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov rsi, qword [0x14005ca20]
mov r15, r13
cmp qword [0x14005ca28], 0xf
cmova r15, qword [0x14005ca10]
cmp rsi, rbx
ja 0x1400025d1
cmp rsi, 0xf
ja 0x1400023f6
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 0xf
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x19], xmm0
jmp 0x140002486
mov rdi, rsi
or rdi, 0xf
cmp rdi, rbx
jbe 0x14000242e
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004b2b0
test rax, rax
je 0x14000245c
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000246b
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
je 0x14000246b
cmp rcx, 0x1000
jb 0x140002463
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400025e9
jmp 0x140002413
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b2b0
mov r14, rax
mov qword [rbp - 0x19], r14
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rdi
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x65
lea rcx, [rbp - 0x19]
call fcn.140001940
mov rdx, r12
lea rcx, [rbp - 0x19]
call fcn.1400032d0
mov edx, 0x66
mov rcx, rax
call fcn.140001940
lea rdx, [0x14005ca30]
lea rcx, [rbp - 0x19]
call fcn.1400032d0
mov edx, 0x67
mov rcx, rax
call fcn.140001940
lea rcx, [rbp + 7]
call fcn.140001370
movabs rcx, 0x7fffffffc46535ff
mov rax, qword [rbp + 7]
cmp rax, rcx
jge 0x1400024ed
lea rbx, [rax + 0x3b9aca00]
lea rcx, [rbp + 7]
call fcn.140001370
mov rax, qword [rbp + 7]
cmp rax, rbx
jge 0x140002560
movabs rdi, 0x4e94914f0000
movabs rsi, 0x431bde82d7b634db
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jle 0x140002525
mov edx, 0x5265c00
jmp 0x140002547
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x140002547
inc edx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
lea rcx, [rbp + 7]
call fcn.140001370
mov rax, qword [rbp + 7]
cmp rax, rbx
jl 0x140002513
call fcn.140001530
mov ebx, eax
test eax, eax
je 0x14000259f
cmp qword [0x14005ca28], 0xf
cmova r13, qword [0x14005ca10]
mov rdx, r13
mov ecx, eax
call fcn.1400015f0
cmp qword [0x14005ca08], 0xf
cmova r12, qword [0x14005c9f0]
mov rdx, r12
mov ecx, ebx
call fcn.1400015f0
call fcn.140013af0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14004b290
lea r11, [rsp + 0xa0]
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.140001450
int3
call fcn.1400012d0
int3
call fcn.1400012d0
int3
call fcn.1400012d0
int3
call fcn.1400012d0
int3
call fcn.140001450
int3
call fcn.140001450
int3
call fcn.140001450
int3