Function at 0x430b97
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1228
call fcn.00481eb0
sub rsp, rax
movdqa xmmword [rsp + 0x1210], xmm15
movdqa xmmword [rsp + 0x1200], xmm14
movdqa xmmword [rsp + 0x11f0], xmm13
movdqa xmmword [rsp + 0x11e0], xmm12
movdqa xmmword [rsp + 0x11d0], xmm11
movdqa xmmword [rsp + 0x11c0], xmm10
movdqa xmmword [rsp + 0x11b0], xmm9
movdqa xmmword [rsp + 0x11a0], xmm8
movdqa xmmword [rsp + 0x1190], xmm7
movdqa xmmword [rsp + 0x1180], xmm6
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov al, byte [0x004a3120]
mov edx, 0x8000
xor ecx, ecx
call fcn.0046e140
test rax, rax
je 0x43170a
mov rbp, rax
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rsi
mul rcx
shr rdx, 1
and rdx, 0xfffffffffffffff0
lea r12, [rdx + rdx*2]
cmp r12, 0x2f
ja 0x430ca2
mov byte [rdi + 8], 8
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rcx, rbp
xor edx, edx
call fcn.00430b23
mov rcx, qword [0x004a30e8]
xor edx, edx
mov r8, rbp
call sub.KERNEL32.dll_HeapFree
jmp 0x43166b
mov qword [rsp + 0x48], rdi
movabs rbx, 0xf0f00000f0f0000
pxor xmm6, xmm6
movabs r13, 0xff000000ff0000
movabs rsi, 0xf000ff000f0000
mov al, byte [0x00484678]
cmp al, 0xff
je 0x430ce4
cmp al, 1
lea r14, [rsp + 0x620]
je 0x430d33
jmp 0x431292
lea r14, [rsp + 0x620]
mov rcx, r14
call fcn.00428905
lea rcx, [rsp + 0x260]
call fcn.00428927
mov edi, dword [rsp + 0x628]
mov eax, edi
not eax
test eax, 0xc000000
jne 0x43128b
call fcn.0043171a
shr eax, 1
shr edi, 0x19
and edi, eax
and edi, 1
mov byte [0x00484678], dil
je 0x431292
movdqu xmm6, xmmword [r15]
movdqu xmm7, xmmword [r15 + 0x10]
movdqa xmmword [rsp + 0xa0], xmm7
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, [rsp + 0xa0]
call fcn.00428949
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmmword [rsp + 0x70], xmm6
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm0, xmm6
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm0, xmm2
pxor xmm0, xmm6
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm6, xmm0
mov rcx, rbp
lea rdx, [rsp + 0xb0]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmmword [rsp + 0x60], xmm7
movdqa xmm1, xmm7
pslldq xmm1, 4
movdqa xmm2, xmm7
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm0, xmm7
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm0, xmm2
pxor xmm0, xmm7
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmm8, xmm0
mov rcx, rbp
lea rdx, [rsp + 0xc0]
call fcn.0042895f
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmmword [rsp + 0x90], xmm6
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm7, xmm6
pslldq xmm7, 0xc
pxor xmm7, xmm1
pxor xmm7, xmm2
pxor xmm7, xmm6
movdqa xmmword [rsp + 0xd0], xmm7
mov rcx, rbp
lea rdx, [rsp + 0xd0]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmmword [rsp + 0x80], xmm8
movdqa xmm1, xmm8
pslldq xmm1, 4
movdqa xmm2, xmm8
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm6, xmm8
pslldq xmm6, 0xc
pxor xmm6, xmm1
pxor xmm6, xmm2
pxor xmm6, xmm8
movdqa xmmword [rsp + 0xe0], xmm6
mov rcx, rbp
lea rdx, [rsp + 0xe0]
call fcn.0042896a
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm7
pslldq xmm1, 4
movdqa xmm2, xmm7
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm9, xmm7
pslldq xmm9, 0xc
pxor xmm9, xmm1
pxor xmm9, xmm2
pxor xmm9, xmm7
movdqa xmmword [rsp + 0xf0], xmm9
mov rcx, rbp
lea rdx, [rsp + 0xf0]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm6
pslldq xmm1, 4
movdqa xmm2, xmm6
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm8, xmm6
pslldq xmm8, 0xc
pxor xmm8, xmm1
pxor xmm8, xmm2
pxor xmm8, xmm6
movdqa xmmword [rsp + 0x100], xmm8
mov rcx, rbp
lea rdx, [rsp + 0x100]
call fcn.00428975
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm9
pslldq xmm1, 4
movdqa xmm2, xmm9
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm11, xmm9
pslldq xmm11, 0xc
pxor xmm11, xmm1
pxor xmm11, xmm2
pxor xmm11, xmm9
movdqa xmmword [rsp + 0x110], xmm11
mov rcx, rbp
lea rdx, [rsp + 0x110]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm8
pslldq xmm1, 4
movdqa xmm2, xmm8
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm10, xmm8
pslldq xmm10, 0xc
pxor xmm10, xmm1
pxor xmm10, xmm2
pxor xmm10, xmm8
movdqa xmmword [rsp + 0x120], xmm10
mov rcx, rbp
lea rdx, [rsp + 0x120]
call fcn.00428980
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm11
pslldq xmm1, 4
movdqa xmm2, xmm11
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm13, xmm11
pslldq xmm13, 0xc
pxor xmm13, xmm1
pxor xmm13, xmm2
pxor xmm13, xmm11
movdqa xmmword [rsp + 0x130], xmm13
mov rcx, rbp
lea rdx, [rsp + 0x130]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm10
pslldq xmm1, 4
movdqa xmm2, xmm10
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm12, xmm10
pslldq xmm12, 0xc
pxor xmm12, xmm1
pxor xmm12, xmm2
pxor xmm12, xmm10
movdqa xmmword [rsp + 0x140], xmm12
mov rcx, rbp
lea rdx, [rsp + 0x140]
call fcn.0042898b
pshufd xmm0, xmmword [rsp + 0x170], 0xff
movdqa xmm1, xmm13
pslldq xmm1, 4
movdqa xmm2, xmm13
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm15, xmm13
pslldq xmm15, 0xc
pxor xmm15, xmm1
pxor xmm15, xmm2
pxor xmm15, xmm13
movdqa xmmword [rsp + 0x150], xmm15
mov rcx, rbp
lea rdx, [rsp + 0x150]
call fcn.00428954
pshufd xmm0, xmmword [rsp + 0x170], 0xaa
movdqa xmm1, xmm12
pslldq xmm1, 4
movdqa xmm2, xmm12
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm14, xmm12
pslldq xmm14, 0xc
pxor xmm14, xmm1
pxor xmm14, xmm2
pxor xmm14, xmm12
movdqa xmmword [rsp + 0x170], xmm14
lea rcx, [rsp + 0x160]
mov rdx, rbp
call fcn.00428996
pshufd xmm0, xmmword [rsp + 0x160], 0xff
movdqa xmm1, xmm15
pslldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm15
pslldq xmm0, 4
movdqa xmm2, xmm15
pslldq xmm2, 0xc
pxor xmm2, xmm0
pxor xmm2, xmm1
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x170], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x180], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x190], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x1a0], xmm0
movdqa xmmword [rsp + 0x1b0], xmm7
movdqa xmmword [rsp + 0x1c0], xmm6
pxor xmm6, xmm6
movdqa xmmword [rsp + 0x1d0], xmm9
movdqa xmmword [rsp + 0x1e0], xmm8
movdqa xmmword [rsp + 0x1f0], xmm11
movdqa xmmword [rsp + 0x200], xmm10
movdqa xmmword [rsp + 0x210], xmm13
movdqa xmmword [rsp + 0x220], xmm12
pxor xmm2, xmm15
movdqa xmmword [rsp + 0x230], xmm15
movdqa xmmword [rsp + 0x240], xmm14
movdqa xmmword [rsp + 0x250], xmm2
lea rcx, [rsp + 0x350]
mov rdx, rbp
call fcn.00431727
mov r8d, 0xf0
lea rdi, [rsp + 0x260]
mov rcx, rdi
mov rdx, rbp
call sub.ntdll.dll_memcpy
mov r8d, 0x1e0
mov rcx, r14
mov rdx, rdi
jmp 0x43155f
mov byte [0x00484678], 0
mov qword [rsp + 0x60], r12
mov r8d, 0x3c0
lea r14, [rsp + 0x260]
mov rcx, r14
xor edx, edx
call sub.ntdll.dll_memset
mov qword [rsp + 0x20], r15
mov rcx, r14
mov rdx, r15
mov r8, r15
mov r9, r15
call fcn.0042758b
mov qword [rsp + 0x70], r15
lea rdx, [r15 + 0x10]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x2a0]
mov r8, rdx
mov r9, rdx
call fcn.0042758b
mov ebp, 8
mov edi, pe_nt_image_headers64
mov r12d, 0xc0
mov r15d, pe_nt_image_headers64
mov rcx, r14
mov rdx, rbp
call fcn.00427778
lea r14, [rsp + rdi]
add r14, 0x260
mov rcx, r14
call fcn.004277d9
not qword [r14]
not qword [r14 + 8]
not qword [r14 + 0x28]
not qword [r14 + 0x30]
lea r14, [rsp + 0x260]
xor byte [rsp + r15 + 0x263], 0xf0
add rbp, 8
mov rcx, r14
mov rdx, rbp
mov r8d, 0x1c
call fcn.00427a86
cmp r15, 0x3b0
je 0x4313bf
mov rcx, r14
mov rdx, rbp
call fcn.00427778
lea rcx, [rsp + r12]
add rcx, 0x260
call fcn.004277d9
not qword [rsp + rdi + 0x2a0]
not qword [rsp + rdi + 0x2a8]
not qword [rsp + rdi + 0x2c8]
not qword [rsp + rdi + 0x2d0]
add rbp, 8
mov rcx, r14
mov rdx, rbp
mov r8d, 0xc
call fcn.00427a86
add r15, 0x88
mov eax, pe_nt_image_headers64
add rdi, rax
add r12, rax
jmp 0x4312fc
mov eax, 3
lea rcx, [rsp + 0x320]
lea rdx, [rsp + 0x2e0]
lea r8, [rsp + 0x2a0]
mov r15, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
movabs rdi, 0xf00ff00f00000
lea r14, [rsp + 0x620]
mov ebp, 0x100
dec rax
xor r9d, r9d
mov r10, qword [r8 + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, rdi
xor r10, r11
shl r11, 8
xor r11, r10
mov r10, r11
shr r10, 4
xor r10, r11
and r10, rbx
xor r11, r10
shl r10, 4
xor r10, r11
mov qword [r8 + r9*8], r10
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x431403
xor r9d, r9d
mov r10, qword [rdx + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, r13
xor r10, r11
shl r11, 8
xor r11, r10
mov qword [rdx + r9*8], r11
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x431449
xor r9d, r9d
mov r10, qword [rcx + r9*8]
mov r11, r10
shr r11, 8
xor r11, r10
and r11, rsi
xor r10, r11
shl r11, 8
xor r11, r10
mov r10, r11
shr r10, 4
xor r10, r11
and r10, rbx
xor r11, r10
shl r10, 4
xor r10, r11
mov qword [rcx + r9*8], r10
lea r10, [r9 + 1]
mov r9, r10
cmp r10, 8
jne 0x431478
add r8, rbp
add rdx, rbp
add rcx, rbp
test rax, rax
jne 0x4313fd
mov eax, 0x68
mov rcx, qword [rsp + rax*8 + 0x260]
mov rdx, rcx
shr rdx, 8
xor rdx, rcx
and rdx, rdi
xor rcx, rdx
shl rdx, 8
xor rdx, rcx
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, rbx
xor rdx, rcx
shl rcx, 4
xor rcx, rdx
mov qword [rsp + rax*8 + 0x260], rcx
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 0x70
jne 0x4314d2
mov eax, 0x70
not qword [rsp + rax + 0x230]
not qword [rsp + rax + 0x238]
not qword [rsp + rax + 0x258]
not qword [rsp + rax + 0x260]
add rax, 0x40
cmp rax, 0x3f0
jne 0x431522
mov r8d, 0x3c0
mov rcx, r14
lea rdx, [rsp + 0x260]
call sub.ntdll.dll_memcpy
lea rdi, [r15 + 0x20]
mov r8d, 0x3c0
lea rbp, [rsp + 0xdb0]
mov rcx, rbp
mov rdx, r14
call sub.ntdll.dll_memcpy
movups xmm0, xmmword [rdi]
lea rax, [rsp + 0x1170]
movups xmmword [rax], xmm0
mov r8d, 0x3d0
lea rcx, [rsp + 0x9e0]
mov rdx, rbp
call sub.ntdll.dll_memcpy
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x268]
mov dword [rsp + 0x58], eax
mov r14, qword [rsp + 0x40]
cmp r14, qword [rsp + 0x30]
jne 0x4315db
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.00430a64
mov r14, qword [rsp + 0x40]
add r15, 0x30
add r12, 0xffffffffffffffd0
mov rbp, qword [rsp + 0x38]
mov rdi, r14
shl rdi, 0xa
lea rcx, [rdi + rbp]
mov r8d, 0x3d0
lea rdx, [rsp + 0x9e0]
call sub.ntdll.dll_memcpy
mov dword [rbp + rdi + 0x3d0], 0
mov rax, qword [rsp + 0x50]
mov qword [rbp + rdi + 0x3d4], rax
mov eax, dword [rsp + 0x58]
mov dword [rbp + rdi + 0x3dc], eax
movdqa xmmword [rbp + rdi + 0x3e0], xmm6
mov byte [rbp + rdi + 0x3f0], 0
inc r14
mov qword [rsp + 0x40], r14
cmp r12, 0x30
jae 0x430cc9
test r14, r14
je 0x4316d7
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rcx], xmm0
movaps xmm6, xmmword [rsp + 0x1180]
movaps xmm7, xmmword [rsp + 0x1190]
movaps xmm8, xmmword [rsp + 0x11a0]
movaps xmm9, xmmword [rsp + 0x11b0]
movaps xmm10, xmmword [rsp + 0x11c0]
movaps xmm11, xmmword [rsp + 0x11d0]
movaps xmm12, xmmword [rsp + 0x11e0]
movaps xmm13, xmmword [rsp + 0x11f0]
movaps xmm14, xmmword [rsp + 0x1200]
movaps xmm15, xmmword [rsp + 0x1210]
add rsp, 0x1228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + 8], 8
movabs rax, 0x8000000000000000
mov qword [rcx], rax
mov rcx, rbp
xor edx, edx
call fcn.00430b23
test rsi, rsi
jne 0x430c8c
jmp 0x43166b
mov ecx, 0x10
mov edx, 0x8000
call fcn.004289f0
int3