Function at 0x18001c680
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1800f3188]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor edi, edi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdi
test rdx, rdx
jne 0x18001c6c5
lea eax, [rdx - 0x16]
jmp 0x18001ccad
test rbx, rbx
jne 0x18001c6d2
lea eax, [rbx - 0xc]
jmp 0x18001ccad
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1a0], r15
call fcn.180090e40
mov ecx, eax
mov r12d, eax
call fcn.1800a411c
mov qword [rsp + 0x38], rax
mov r13d, 4
lea r15, [0x1800c3780]
test rax, rax
jne 0x18001c726
call fcn.1800a41dc
mov ebx, dword [rax]
neg ebx
jmp 0x18001cb1f
mov r8, r12
mov qword [rsp + 0x1a8], r14
mov rdx, rbx
mov rcx, rax
call fcn.1800a2a90
lea ebx, [r12*2 + 0x20]
mov r14, rdi
mov ecx, ebx
call fcn.1800a411c
mov r15, rax
test rax, rax
jne 0x18001c764
call fcn.1800a41dc
mov esi, dword [rax]
neg esi
jmp 0x18001c7eb
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov rdx, rax
lea r8, [rax + 0x10]
call fcn.18001cee0
mov rcx, qword [rsp + 0x38]
lea rdx, [r15 + 4]
mov r9d, ebx
mov r8d, r12d
call fcn.180093660
mov esi, eax
test eax, eax
js 0x18001c7da
lea ebx, [rsi + 4]
mov dword [r15], r12d
and ebx, 0xfffffff0
add ebx, 0x10
mov ecx, ebx
call fcn.1800a411c
mov r14, rax
test rax, rax
je 0x18001c7da
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8d, [rsi + 4]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.18001cdf0
mov esi, eax
test eax, eax
jns 0x18001c7e3
mov rcx, r14
call fcn.1800a4108
mov r14, rdi
jmp 0x18001c7e3
call fcn.1800a41dc
mov esi, dword [rax]
neg esi
mov rcx, r15
call fcn.1800a4108
mov ebx, esi
test esi, esi
js 0x18001caf9
mov dword [rbp + 0x50], 0x93ec3661
lea r15, [0x1800c3780]
mov dword [rbp + 0x54], 0xc3d0a1e9
mov rax, rdi
mov dword [rbp + 0x58], 0x817a9698
mov rcx, r13
mov dword [rbp + 0x5c], 0xc5ebc19b
mov dword [rbp + 0x60], 0xbef4e7f3
mov dword [rbp + 0x64], 0x4ef9e2fb
mov dword [rbp + 0x68], 0xbebcddf1
mov dword [rbp + 0x6c], 0xe2fa7ddb
mov dword [rbp + 0x70], 0xfdf3fee9
mov dword [rbp + 0x74], 0x76f7cfa7
mov dword [rbp + 0x78], 0xddd9dbbf
mov dword [rbp + 0x7c], 0xc49f8a7d
mov dword [rbp + 0x80], 0x29923ff3
mov dword [rbp + 0x84], 0xc4e34af3
mov dword [rbp + 0x88], 0xbbc0848e
mov dword [rbp + 0x8c], 0xee3ebe8c
mov dword [rbp + 0x10], 0x91dd1772
mov dword [rbp + 0x14], 0x85828dcb
mov dword [rbp + 0x18], 0xb45399d3
mov dword [rbp + 0x1c], 0xc5ebc1da
mov dword [rbp + 0x20], 0xbef4e7f3
mov dword [rbp + 0x24], 0x4ef9e2fb
mov dword [rbp + 0x28], 0xbebcddf1
mov dword [rbp + 0x2c], 0xe2fa7ddb
mov dword [rbp + 0x30], 0xfdf3fee9
mov dword [rbp + 0x34], 0x76f7cfa7
mov dword [rbp + 0x38], 0xddd9dbbf
mov dword [rbp + 0x3c], 0xc49f8a7d
mov dword [rbp + 0x40], 0x29923ff3
mov dword [rbp + 0x44], 0xc4e34af3
mov dword [rbp + 0x48], 0xbbc0848e
mov dword [rbp + 0x4c], 0xee3ebe8c
nop
movdqu xmm0, xmmword [rbp + rax + 0x10]
movdqu xmm2, xmmword [rax + r15]
lea rax, [rax + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax + 0x40]
movdqu xmmword [rbp + rax], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbp + rax + 0x40], xmm2
sub rcx, 1
jne 0x18001c8f0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18001c942
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18001c969
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001c969
mov rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call rax
mov ebx, eax
test ebx, ebx
je 0x18001c974
neg ebx
jmp 0x18001cb00
mov dword [rbp + 0x50], 0x83ec3661
mov rax, rdi
mov dword [rbp + 0x54], 0xd6e7b0fe
mov rcx, r13
mov dword [rbp + 0x58], 0xbd7aa891
mov dword [rbp + 0x5c], 0xc5eb80a2
mov dword [rbp + 0x60], 0xbef4e7f3
mov dword [rbp + 0x64], 0x4ef9e2fb
mov dword [rbp + 0x68], 0xbebcddf1
mov dword [rbp + 0x6c], 0xe2fa7ddb
mov dword [rbp + 0x70], 0xfdf3fee9
mov dword [rbp + 0x74], 0x76f7cfa7
mov dword [rbp + 0x78], 0xddd9dbbf
mov dword [rbp + 0x7c], 0xc49f8a7d
mov dword [rbp + 0x80], 0x29923ff3
mov dword [rbp + 0x84], 0xc4e34af3
mov dword [rbp + 0x88], 0xbbc0848e
mov dword [rbp + 0x8c], 0xee3ebe8c
mov dword [rbp + 0x10], 0x91dd1772
mov dword [rbp + 0x14], 0x85828dcb
mov dword [rbp + 0x18], 0xb45399d3
mov dword [rbp + 0x1c], 0xc5ebc1da
mov dword [rbp + 0x20], 0xbef4e7f3
mov dword [rbp + 0x24], 0x4ef9e2fb
mov dword [rbp + 0x28], 0xbebcddf1
mov dword [rbp + 0x2c], 0xe2fa7ddb
mov dword [rbp + 0x30], 0xfdf3fee9
mov dword [rbp + 0x34], 0x76f7cfa7
mov dword [rbp + 0x38], 0xddd9dbbf
mov dword [rbp + 0x3c], 0xc49f8a7d
mov dword [rbp + 0x40], 0x29923ff3
mov dword [rbp + 0x44], 0xc4e34af3
mov dword [rbp + 0x48], 0xbbc0848e
mov dword [rbp + 0x4c], 0xee3ebe8c
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rax + 0x10]
movdqu xmm2, xmmword [rax + r15]
lea rax, [rax + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax + 0x40]
movdqu xmmword [rbp + rax], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbp + rax + 0x40], xmm2
sub rcx, 1
jne 0x18001ca70
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18001cac2
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18001cb00
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001cb00
mov rcx, qword [rsp + 0x30]
mov r9d, 3
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call rax
mov ebx, eax
test eax, eax
je 0x18001cb00
neg ebx
jmp 0x18001cb00
lea r15, [0x1800c3780]
mov rcx, qword [rsp + 0x38]
call fcn.1800a4108
test r14, r14
je 0x18001cb17
mov rcx, r14
call fcn.1800a4108
mov r14, qword [rsp + 0x1a8]
mov r12, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1f8]
cmp qword [rsp + 0x30], rdi
je 0x18001cc9b
mov dword [rbp + 0x50], 0x93ec3661
mov dword [rbp + 0x54], 0xd2c2abf7
mov dword [rbp + 0x58], 0xf866b8b6
mov dword [rbp + 0x5c], 0xc5ebc1da
mov dword [rbp + 0x60], 0xbef4e7f3
mov dword [rbp + 0x64], 0x4ef9e2fb
mov dword [rbp + 0x68], 0xbebcddf1
mov dword [rbp + 0x6c], 0xe2fa7ddb
mov dword [rbp + 0x70], 0xfdf3fee9
mov dword [rbp + 0x74], 0x76f7cfa7
mov dword [rbp + 0x78], 0xddd9dbbf
mov dword [rbp + 0x7c], 0xc49f8a7d
mov dword [rbp + 0x80], 0x29923ff3
mov dword [rbp + 0x84], 0xc4e34af3
mov dword [rbp + 0x88], 0xbbc0848e
mov dword [rbp + 0x8c], 0xee3ebe8c
mov dword [rbp + 0x10], 0x91dd1772
mov dword [rbp + 0x14], 0x85828dcb
mov dword [rbp + 0x18], 0xb45399d3
mov dword [rbp + 0x1c], 0xc5ebc1da
mov dword [rbp + 0x20], 0xbef4e7f3
mov dword [rbp + 0x24], 0x4ef9e2fb
mov dword [rbp + 0x28], 0xbebcddf1
mov dword [rbp + 0x2c], 0xe2fa7ddb
mov dword [rbp + 0x30], 0xfdf3fee9
mov dword [rbp + 0x34], 0x76f7cfa7
mov dword [rbp + 0x38], 0xddd9dbbf
mov dword [rbp + 0x3c], 0xc49f8a7d
mov dword [rbp + 0x40], 0x29923ff3
mov dword [rbp + 0x44], 0xc4e34af3
mov dword [rbp + 0x48], 0xbbc0848e
mov dword [rbp + 0x4c], 0xee3ebe8c
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rdi + 0x10]
movdqu xmm2, xmmword [rdi + r15]
lea rdi, [rdi + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rdi + 0x40]
movdqu xmmword [rbp + rdi], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbp + rdi + 0x40], xmm2
sub r13, 1
jne 0x18001cc30
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18001cc82
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18001cc9b
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001cc9b
mov rcx, qword [rsp + 0x30]
call rax
mov r15, qword [rsp + 0x1a0]
mov eax, ebx
mov r13, qword [rsp + 0x1b0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800a1bf0
add rsp, 0x1c0
pop rdi
pop rbx
pop rbp
ret