Function at 0x180144aa0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b28]
mov eax, 0x2c28
call fcn.180109e40
sub rsp, rax
movdqa xmm0, xmmword [0x180161ca0]
mov r13, rdx
movdqa xmm1, xmmword [0x1801625a0]
lea rdx, [rsp + 0x48]
movdqu xmmword [rsp + 0x48], xmm0
mov rsi, rcx
movabs rdi, 0x8488351c950cfdf5
movdqa xmm0, xmmword [0x180160510]
lea rcx, [rbp - 0x28]
movabs r14, 0xeced37cf6988e47e
mov qword [rsp + 0x78], rdi
movabs r15, 0x8f1b0e8e0dd24189
mov qword [rbp - 0x80], r14
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x78], r15
movdqu xmmword [rsp + 0x58], xmm1
call fcn.18000a020
lea r8, [rbp - 0x70]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x70], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rax + 0x20]
movsd qword [rbp - 0x50], xmm1
mov ecx, dword [rax + 0x28]
mov dword [rbp - 0x48], ecx
lea rcx, [0x18017bd90]
movzx eax, word [rax + 0x2c]
mov word [rbp - 0x44], ax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
xor r12d, r12d
mov dword [0x18017bd84], eax
mov r8d, eax
mov qword [rsp + 0x20], r12
lea rdx, [0x18017bd90]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xorps xmm0, xmm0
mov dword [rbp + 0x2b70], r12d
xor eax, eax
lea r8, [rbp + 0x90]
mov word [rbp + 0xd0], ax
lea rcx, [rbp + 0x2b70]
mov rax, qword [rsi + 0x178]
xor edx, edx
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
call rax
mov ebx, eax
test eax, eax
je 0x180144c94
movdqa xmm0, xmmword [0x180162210]
lea rdx, [rsp + 0x48]
movdqa xmm1, xmmword [0x1801621a0]
lea rcx, [rbp - 0x28]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x180160ce0]
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], r14
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rbp - 0x78], r15
call fcn.18000aa70
mov r9d, ebx
lea r8, [rbp - 0x70]
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x70], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x50], xmm1
movzx eax, byte [rax + 0x30]
mov byte [rbp - 0x40], al
mov edx, 0x100000
lea rcx, [0x18017bd90]
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x18014556c
mov rax, qword [rsi + 0x180]
lea r8, [rbp + 0x80]
mov ecx, dword [rbp + 0x2b70]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rbp + 0x80], r13
lea edx, [r9 + 1]
mov qword [rsp + 0x20], r12
call rax
mov r10d, eax
test eax, eax
je 0x180144dad
movdqa xmm0, xmmword [0x180160830]
xor eax, eax
movdqa xmm1, xmmword [0x180161f00]
movabs r9, 0x28c0569f668d68fb
movdqu xmmword [rbp - 0x28], xmm0
movabs rdx, 0xa600546654a6c566
mov word [rbp + 0xd], ax
movdqa xmm0, xmmword [0x180161210]
mov r8, r12
mov byte [rbp + 0xf], al
movabs rax, 0x662adc5f39613cfa
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 0x20], rax
mov rcx, rax
movdqu xmmword [rbp - 0x18], xmm1
mov dword [rbp + 8], 0x6d8264
mov byte [rbp + 0xc], 0x41
mov qword [rbp + 0x10], r9
mov qword [rbp + 0x18], rdx
nop dword [rax]
imul rax, rcx
add rdx, r9
add rax, rdx
mov rcx, rax
shr rax, 0x20
shl rcx, 0x20
or rax, rcx
movzx ecx, al
xor cl, byte [rbp + r8 - 0x28]
mov byte [rsp + r8 + 0x48], cl
inc r8
mov rcx, rax
cmp r8, 0x35
jb 0x180144d40
movups xmm0, xmmword [rsp + 0x48]
mov eax, dword [rsp + 0x78]
lea r8, [rbp - 0x70]
movups xmm1, xmmword [rsp + 0x58]
mov byte [rsp + 0x7d], r12b
mov r9d, r10d
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x40], eax
movups xmm0, xmmword [rsp + 0x68]
movzx eax, word [rsp + 0x7c]
movups xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x3c], ax
movups xmmword [rbp - 0x50], xmm0
jmp 0x180144c53
xor edx, edx
mov dword [rbp - 0x30], r12d
mov r8d, 0x29bc
mov dword [rbp + 0x2b80], 0x10
lea rcx, [rbp + 0x164]
mov dword [rbp + 0x160], r12d
call fcn.18014b5d0
mov rax, qword [rsi + 0x188]
lea rcx, [rbp + 0x2b88]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x160]
mov ecx, dword [rbp + 0x2b70]
lea r8, [rbp + 0x2b80]
lea rdx, [rbp - 0x30]
mov dword [rbp + 0x2b88], r12d
call rax
mov r10d, eax
test eax, eax
je 0x180144ed1
movdqa xmm0, xmmword [0x180161310]
movabs rax, 0x662adc5f39613cfa
movdqa xmm1, xmmword [0x180162050]
movabs r9, 0x28c0569f668d68fb
movdqu xmmword [rsp + 0x48], xmm0
movabs rdx, 0xa600546654a6c566
mov qword [rsp + 0x78], r9
movdqa xmm0, xmmword [0x180160460]
mov r8, r12
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], rdx
mov rcx, rax
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rbp - 0x78], rax
imul rcx, rax
add rdx, r9
add rcx, rdx
mov rax, rcx
shl rcx, 0x20
shr rax, 0x20
or rax, rcx
movzx ecx, al
xor cl, byte [rsp + r8 + 0x48]
mov byte [rbp + r8 - 0x70], cl
inc r8
mov rcx, rax
cmp r8, 0x2b
jb 0x180144e70
movups xmm0, xmmword [rbp - 0x70]
mov byte [rbp - 0x45], r12b
mov r9d, r10d
movups xmm1, xmmword [rbp - 0x60]
mov eax, dword [rbp - 0x48]
lea r8, [rbp - 0x28]
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp], eax
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp - 8], xmm0
movups xmmword [rbp - 0x18], xmm1
jmp 0x180144c53
mov eax, dword [rbp + 0x2b80]
xorps xmm0, xmm0
mov r14d, r12d
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
test eax, eax
je 0x1801452af
mov r15d, r12d
movabs rcx, 0x7fe2cc93ac8b5cc3
movabs rdx, 0x4ee67dc5cf142626
movabs r8, 0xf6b6e887461db0fc
movabs r13, 0x231b6e12be0bcbc9
nop dword [rax + rax]
movdqa xmm0, xmmword [0x180161620]
movdqa xmm1, xmmword [0x1801619d0]
mov eax, r15d
imul rdi, rax, 0x29c
movdqu xmmword [rbp + 0x28], xmm0
movdqa xmm0, xmmword [0x180160db0]
movdqu xmmword [rbp + 0x38], xmm1
mov qword [rbp + 0x68], rcx
lea rcx, [rbp - 0x70]
movdqa xmm1, xmmword [0x180160850]
mov qword [rbp + 0x70], rdx
lea rdx, [rbp + 0x28]
movdqu xmmword [rbp + 0x48], xmm0
mov ebx, dword [rbp + rdi + 0x160]
movdqu xmmword [rbp + 0x58], xmm1
mov qword [rbp + 0x78], r8
call fcn.18000ae40
lea r9, [rbp + 0x36c]
mov dword [rsp + 0x28], ebx
add r9, rdi
lea r8, [rsp + 0x48]
mov edx, 0x100000
lea rcx, [0x18017bd90]
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x48], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax + 0x30]
lea rax, [rbp + 0x16c]
add rax, rdi
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x78], xmm0
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8d, dword [rbp + rdi + 0x160]
mov ecx, 0x1fffff
call rax
mov r12, rax
test rax, rax
je 0x180145277
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov r9d, 0x30
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r12
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jne 0x180145195
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8d, dword [rbp - 0x48]
mov ecx, 0x800
call rax
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtSuspendProcess]
mov edi, eax
test eax, eax
je 0x180145187
movdqa xmm0, xmmword [0x180161660]
lea rdx, [rbp + 0x28]
movdqa xmm1, xmmword [0x180161af0]
lea rcx, [rsp + 0x48]
xor eax, eax
mov dword [rbp + 0x58], 0x8f05628f
mov dword [rbp + 0x5c], eax
movabs rax, 0x7fe2cc93ac8b5cc3
mov qword [rbp + 0x60], rax
movabs rax, 0x4ee67dc5cf142626
mov qword [rbp + 0x68], rax
movabs rax, 0xf6b6e887461db0fc
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x70], rax
movdqa xmm0, xmmword [0x180161560]
movdqu xmmword [rbp + 0x38], xmm1
movdqu xmmword [rbp + 0x48], xmm0
call fcn.18000b1a0
mov r9d, edi
lea r8, [rbp - 0x28]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x28], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 8], xmm1
mov ecx, dword [rax + 0x30]
mov dword [rbp + 8], ecx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x34]
mov byte [rbp + 0xc], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, r14d
inc r14d
mov qword [rbp + rax*8 + 0xe0], rbx
mov rax, qword [rsi + 0x58]
xor edx, edx
mov rcx, r12
call rax
test eax, eax
jne 0x180145277
call qword [sym.imp.KERNEL32.dll_GetLastError]
movdqa xmm0, xmmword [0x180161b10]
lea rdx, [rbp + 0x28]
movdqa xmm1, xmmword [0x180162560]
lea rcx, [rsp + 0x48]
mov ebx, eax
mov qword [rbp + 0x58], 0x487f1b36
movabs rax, 0x10d28d7dd9a16e36
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], rax
movabs rax, 0x29d2a59a3045c2fe
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x70], rax
movdqa xmm0, xmmword [0x180162620]
movdqu xmmword [rbp + 0x38], xmm1
movdqu xmmword [rbp + 0x48], xmm0
call fcn.18000b1a0
mov r9d, ebx
lea r8, [rbp - 0x28]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x28], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 8], xmm1
mov ecx, dword [rax + 0x30]
mov dword [rbp + 8], ecx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x34]
mov byte [rbp + 0xc], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
xor r12d, r12d
mov dword [0x18017bd84], eax
mov r8d, eax
mov qword [rsp + 0x20], r12
lea rdx, [0x18017bd90]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x18014527a
xor r12d, r12d
inc r15d
movabs rcx, 0x7fe2cc93ac8b5cc3
movabs rdx, 0x4ee67dc5cf142626
movabs r8, 0xf6b6e887461db0fc
cmp r15d, dword [rbp + 0x2b80]
jb 0x180144f50
mov r13, qword [rbp + 0x2b78]
mov rdx, r13
mov rcx, rsi
call fcn.180145590
mov dword [rsp + 0x40], eax
mov r12d, eax
test r14d, r14d
je 0x1801453db
lea rbx, [rbp + 0xe0]
mov r15d, r14d
movabs r12, 0x231b6e12be0bcbc9
nop
mov rdi, qword [rbx]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtResumeProcess]
mov r14d, eax
test eax, eax
je 0x1801453bf
movdqa xmm0, xmmword [0x180161aa0]
lea rdx, [rbp + 0x28]
movdqa xmm1, xmmword [0x1801622a0]
lea rcx, [rbp - 0x28]
xor eax, eax
mov word [rbp + 0x58], 0x3f40
mov dword [rbp + 0x5b], eax
mov byte [rbp + 0x5f], al
movabs rax, 0x10d28d7dd9a16e36
mov qword [rbp + 0x68], rax
movabs rax, 0x29d2a59a3045c2fe
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x70], rax
movdqa xmm0, xmmword [0x180161d00]
movdqu xmmword [rbp + 0x38], xmm1
mov byte [rbp + 0x5a], 0x75
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x60], r12
call fcn.18000b5b0
mov r9d, r14d
lea r8, [rbp - 0x70]
mov edx, 0x100000
lea rcx, [0x18017bd90]
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x70], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x50], xmm1
mov eax, dword [rax + 0x30]
mov dword [rbp - 0x40], eax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [rsi + 0xa8]
add rbx, 8
sub r15, 1
jne 0x1801452e0
mov r12d, dword [rsp + 0x40]
mov rax, qword [rsi + 0x190]
mov ecx, dword [rbp + 0x2b70]
call rax
mov ebx, eax
movabs rdi, 0xd753939d838c76cf
movabs rsi, 0x6c83567451bbd46e
movabs r14, 0xc44bdfcf494d6659
test eax, eax
je 0x1801454ca
movdqa xmm0, xmmword [0x180160d20]
lea rdx, [rsp + 0x48]
movdqa xmm1, xmmword [0x180161dd0]
lea rcx, [rbp - 0x28]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x1801607c0]
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], rsi
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rbp - 0x78], r14
call fcn.180005380
mov r9d, ebx
lea r8, [rbp - 0x70]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x70], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rax + 0x20]
movsd qword [rbp - 0x50], xmm1
mov ecx, dword [rax + 0x28]
mov dword [rbp - 0x48], ecx
movzx ecx, word [rax + 0x2c]
mov word [rbp - 0x44], cx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x2e]
mov byte [rbp - 0x42], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
movdqa xmm0, xmmword [0x180160f80]
lea rdx, [rsp + 0x48]
movdqa xmm1, xmmword [str._9hV]
lea rcx, [rbp - 0x70]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x68], 0x6c29868e
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r14
call fcn.18000b8a0
lea r8, [rbp - 0x28]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x28], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm0
mov ecx, dword [rax + 0x20]
mov dword [rbp - 8], ecx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x24]
mov byte [rbp - 4], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, r12d
add rsp, 0x2c28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret