Function at 0x180099448
Capabilities:
Encode data using xor
Resume thread
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r11, qword [rbp + 0x78]
lea rax, [rbp - 0x20]
mov r14d, dword [rbp + 0x48]
mov r13d, 4
mov qword [rsp + 0x48], rax
mov r10d, r14d
mov rax, qword [rbp + 0x60]
or r10d, r13d
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov rax, qword [rbp + 0x58]
test r11, r11
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x50]
cmove r11, qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call r11
test eax, eax
je 0x18009952d
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x20]
call fcn.1800940d8
test eax, eax
jne 0x18009954d
cmp byte [0x18010a364], r12b
je 0x18009952d
lea rcx, [rbp + 0x48]
call fcn.18007fa64
mov rbx, rax
cmp byte [rax + 0x30], r12b
je 0x180099519
mov r8d, r12d
movabs rsi, 0xd993efbb19cfe32d
mov cl, r8b
mov rdx, rsi
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0x30
jb 0x1800994f9
mov byte [rax + 0x30], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, rbx
mov ecx, r13d
mov r8d, eax
call fcn.18006a848
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x180099567
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
and r14d, r13d
je 0x180099579
call fcn.18005cbb8
test al, al
je 0x180099750
cmp byte [0x18010a364], r12b
movabs rsi, 0xd993efbb19cfe32d
je 0x1800995e0
lea rcx, [rbp + 0x48]
call fcn.18007e0ac
mov rbx, rax
cmp byte [rax + 0x5c], r12b
je 0x1800995c1
mov r9, r12
mov cl, r9b
mov r8, rsi
and cl, 7
shl cl, 3
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x5c
jb 0x1800995a1
mov byte [rax + 0x5c], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, dword [rbp - 0xc]
mov rdx, rbx
mov r8d, eax
mov ecx, r13d
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x20], eax
call fcn.18006a848
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x18010a364], r12b
mov r15d, eax
je 0x18009964f
lea rcx, [rbp + 0x48]
call fcn.18007deec
mov rbx, rax
cmp byte [rax + 0x43], r12b
je 0x18009962b
mov r9, r12
mov cl, r9b
mov r8, rsi
and cl, 7
shl cl, 3
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x43
jb 0x18009960b
mov byte [rax + 0x43], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, dword [rbp - 0xc]
mov rdx, rbx
mov r8d, eax
mov dword [rsp + 0x28], r15d
mov eax, dword [rbp - 0x10]
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.18006a848
call fcn.18005cbb8
test al, al
je 0x180099750
mov ecx, dword [rbp - 0x10]
call fcn.1800815dc
mov rbx, rax
test rax, rax
je 0x180099685
mov edx, 0x7d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180099690
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14d, r14d
je 0x1800996f3
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp byte [0x18010a364], r12b
je 0x180099750
lea rcx, [rbp + 0x48]
call fcn.18007fb18
mov rbx, rax
cmp byte [rax + 0x3e], r12b
je 0x1800996e1
mov r9, r12
mov cl, r9b
mov r8, rsi
and cl, 7
shl cl, 3
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x3e
jb 0x1800996c1
mov byte [rax + 0x3e], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x20], eax
jmp 0x180099741
cmp byte [0x18010a364], r12b
je 0x180099750
lea rcx, [rbp + 0x48]
call fcn.18007fd80
mov rbx, rax
cmp byte [rax + 0x42], r12b
je 0x180099731
mov r9, r12
mov cl, r9b
mov r8, rsi
and cl, 7
shl cl, 3
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x42
jb 0x180099711
mov byte [rax + 0x42], r12b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbp - 0x10]
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp - 0xc]
mov rdx, rbx
mov ecx, r13d
call fcn.18006a848
mov eax, 1
jmp 0x18009952f