Function at 0x1401c7c90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rcx + 8]
movzx eax, byte [0x14032f3dc]
test al, 1
je 0x1401af8e9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401c7c90
mov eax, dword [0x14032f3e8]
mov ecx, dword [0x14032bc90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401af928
mov rax, qword [0x14032f3e0]
mov rcx, rdi
mov rdx, rsi
call qword [0x14030c820]
test eax, eax
je 0x1401af979
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14032f3e8]
call fcn.1401ef46c
cmp dword [0x14032f3e8], 0xffffffff
jne 0x1401af90a
lea rcx, str.bcryptprimitives.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1401af97c
lea rdx, str.ProcessPrng
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401af97f
mov qword [0x14032f3e0], rax
lea rcx, [0x14032f3e8]
call fcn.1401ef520
jmp 0x1401af90a
int3
int3
int3
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm7
movaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x228], rax
test rdx, rdx
je 0x1401c82d8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
call fcn.1401bb5e0
mov dword [rsp + 0x30], eax
movaps xmm6, xmmword [0x1402825c0]
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
mov ecx, 1
call fcn.1401d9350
test eax, 0x40000000
je 0x1401c84d9
xor ecx, ecx
call fcn.1401d9350
test eax, 0x40000000
je 0x1401c84d9
lea rcx, [rsp + 0x1d0]
mov edx, 0x20
call fcn.14000de10
test eax, eax
je 0x1401c84d9
movzx r9d, byte [rsp + 0x1d0]
movzx r8d, byte [rsp + 0x1d1]
movzx edx, byte [rsp + 0x1d2]
movzx ecx, byte [rsp + 0x1d3]
movzx eax, byte [rsp + 0x1d4]
movzx ebp, byte [rsp + 0x1d5]
movzx r13d, byte [rsp + 0x1d6]
movzx r12d, byte [rsp + 0x1d7]
movzx r15d, byte [rsp + 0x1d8]
movzx r14d, byte [rsp + 0x1d9]
movzx ebx, byte [rsp + 0x1da]
movzx edi, byte [rsp + 0x1db]
movzx esi, byte [rsp + 0x1dc]
movzx r11d, byte [rsp + 0x1dd]
movzx r10d, byte [rsp + 0x1de]
mov dword [rsp + 0x3c], r10d
movzx r10d, byte [rsp + 0x1df]
mov dword [rsp + 0x40], r10d
movzx r10d, byte [rsp + 0x1e0]
mov dword [rsp + 0x44], r10d
movzx r10d, byte [rsp + 0x1e1]
mov dword [rsp + 0x48], r10d
movzx r10d, byte [rsp + 0x1e2]
mov dword [rsp + 0x4c], r10d
movzx r10d, byte [rsp + 0x1e3]
mov dword [rsp + 0x28], r10d
mov byte [rsp + 0x1d0], r9b
mov byte [rsp + 0x1d1], r8b
mov byte [rsp + 0x1d2], dl
mov byte [rsp + 0x1d3], cl
mov byte [rsp + 0x1d4], al
mov byte [rsp + 0x1d5], bpl
mov byte [rsp + 0x1d6], r13b
mov byte [rsp + 0x1d7], r12b
mov byte [rsp + 0x1d8], r15b
mov byte [rsp + 0x1d9], r14b
mov byte [rsp + 0x1da], bl
mov byte [rsp + 0x1db], dil
mov byte [rsp + 0x1dc], sil
mov byte [rsp + 0x1dd], r11b
mov eax, dword [rsp + 0x3c]
mov byte [rsp + 0x1de], al
mov eax, dword [rsp + 0x40]
mov byte [rsp + 0x1df], al
mov eax, dword [rsp + 0x44]
mov byte [rsp + 0x1e0], al
mov eax, dword [rsp + 0x48]
mov byte [rsp + 0x1e1], al
mov eax, dword [rsp + 0x4c]
mov byte [rsp + 0x1e2], al
mov eax, dword [rsp + 0x28]
mov byte [rsp + 0x1e3], al
lea rsi, [rsp + 0x98]
mov r8d, 0x138
mov rcx, rsi
mov dl, 0xaa
call fcn.140235e90
mov ecx, 1
call fcn.1401d92b0
test rax, rax
je 0x1401c8391
mov r14, rax
mov rbp, rax
add rbp, 0x128
cmp dword [rax + 0x128], 0xfff
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov esi, dword [rsp + 0x30]
ja 0x1401c846c
cmp qword [r14 + 0x120], 0xc0ffee
jne 0x1401c846c
cmp dword [r14 + 0x130], esi
jne 0x1401c846c
lea r15, [r14 + 0x108]
lea rdi, [rsp + 0x210]
mov rax, qword [r14 + 0x118]
mov esi, 0x20
mov qword [rsp + 0x30], 0
movabs rcx, 0x1000000000000
xorps xmm7, xmm7
cmp r12, 0x10000
mov ebx, 0x10000
cmovb rbx, r12
cmp rax, rcx
ja 0x1401c853f
test byte [rsp + 0x30], 1
jne 0x1401c8091
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14030c820]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x200]
mov r8, r14
call qword [0x14030c820]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call qword [0x14030c820]
xor eax, eax
nop dword [rax]
movzx ecx, byte [rsp + rax + 0x1d0]
xor byte [rsp + rax + 0x1f0], cl
inc rax
cmp rsi, rax
jne 0x1401c8020
mov ecx, 1
call fcn.1401d9350
test eax, 0x2000000
je 0x1401c85ff
not eax
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
test eax, 0x12000000
jne 0x1401c8593
call fcn.1400032c0
lea rcx, section..text
lea rax, [0x140001d60]
mov qword [r14 + 0xf8], rcx
mov qword [r14 + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov qword [rsp + 0x28], rbp
mov rbp, rbx
mov rdi, r13
cmp r12, 0x10
jb 0x1401c8153
mov rdi, r13
mov rbp, rbx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
cmp rbp, 0x2000
mov r13d, 0x2000
cmovb r13, rbp
mov r12d, r13d
and r12d, 0x3ff0
cmp qword [r14 + 0x100], 0
je 0x1401c8544
cmp r12d, 0x10
jne 0x1401c8367
movups xmmword [rdi], xmm7
shr r13, 4
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0x100]
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov rdx, rdi
mov r8, r13
mov r9, r14
call qword [0x14030c820]
mov eax, dword [r14 + 0x114]
bswap eax
add eax, r13d
dec eax
bswap eax
mov dword [r14 + 0x114], eax
add rdi, r12
sub rbp, r12
cmp rbp, 0xf
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
ja 0x1401c80b6
mov ecx, dword [r14 + 0x114]
mov rax, qword [r14 + 0xf8]
test rbp, rbp
jne 0x1401c8311
mov rbp, qword [rsp + 0x28]
lea rdi, [rsp + 0x210]
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
bswap ecx
inc ecx
bswap ecx
mov dword [r14 + 0x114], ecx
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14030c820]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
lea rdx, [rsp + 0x200]
mov r8, r14
call qword [0x14030c820]
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call qword [0x14030c820]
test byte [rsp + 0x30], 1
jne 0x1401c8237
xor eax, eax
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0x1d0]
xor byte [rsp + rax + 0x1f0], cl
inc rax
cmp rsi, rax
jne 0x1401c8220
mov ecx, 1
call fcn.1401d9350
test eax, 0x2000000
je 0x1401c85af
not eax
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
test eax, 0x12000000
jne 0x1401c8589
call fcn.1400032c0
lea rcx, section..text
lea rax, [0x140001d60]
mov qword [r14 + 0xf8], rcx
mov qword [r14 + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov rax, qword [r14 + 0x118]
inc rax
mov qword [r14 + 0x118], rax
inc dword [rbp]
add r13, rbx
mov cl, 1
mov qword [rsp + 0x30], rcx
mov esi, 0
sub r12, rbx
movabs rcx, 0x1000000000000
jne 0x1401c7f57
lea rax, [rsp + 0x98]
cmp r14, rax
je 0x1401c859d
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1401f08b0
mov eax, 1
movaps xmm6, xmmword [rsp + 0x230]
movaps xmm7, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmmword [rsp + 0x1f0], xmm6
bswap ecx
inc ecx
bswap ecx
mov dword [r14 + 0x114], ecx
mov rcx, r15
lea rdx, [rsp + 0x1f0]
mov r8, r14
call qword [0x14030c820]
cmp rbp, 8
jne 0x1401c8454
mov rax, qword [rsp + 0x1f0]
mov qword [rdi], rax
mov rbp, qword [rsp + 0x28]
mov ecx, dword [r14 + 0x114]
mov rax, qword [r14 + 0xf8]
jmp 0x1401c816f
cmp r12d, 0x20
jne 0x1401c8376
movups xmmword [rdi + 0x10], xmm7
jmp 0x1401c80e9
test r12, r12
je 0x1401c80ec
mov rcx, rdi
xor edx, edx
mov r8, r12
call fcn.140235e90
jmp 0x1401c80ec
mov ecx, 0x138
call fcn.1400e4aa0
test rax, rax
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
je 0x1401c8645
mov r14, rax
lea r8, [0x1400e0ac0]
mov ecx, 1
mov rdx, rax
call fcn.14015d800
test eax, eax
je 0x1401c8645
mov dword [r14 + 0x12c], 0
lea rdi, [rsp + 0x1f0]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov edx, 0x30
mov rcx, rdi
call fcn.14015d960
mov rcx, r14
mov rdx, rdi
mov r8, r15
xor r9d, r9d
call fcn.1400e0550
test eax, eax
je 0x1401c853f
lea rbp, [r14 + 0x128]
mov dword [r14 + 0x128], 0
mov qword [r14 + 0x120], 0xc0ffee
mov esi, dword [rsp + 0x30]
mov dword [r14 + 0x130], esi
jmp 0x1401c7f19
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
mov r8, rbp
call fcn.1402357f0
jmp 0x1401c834f
lea rdi, [rsp + 0x1f0]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov edx, 0x30
mov rcx, rdi
call fcn.14015d960
mov rcx, r14
mov rdx, rdi
mov r8, r15
xor r9d, r9d
call fcn.1400e0740
test eax, eax
je 0x1401c853f
mov dword [rbp], 0
mov qword [r14 + 0x120], 0xc0ffee
mov dword [r14 + 0x130], esi
jmp 0x1401c7f26
lea rax, [rsp + 0x1e0]
xorps xmm0, xmm0
movaps xmmword [rax], xmm0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
xor r11d, r11d
xor esi, esi
xor edi, edi
xor ebx, ebx
xor r14d, r14d
xor r15d, r15d
xor r12d, r12d
xor r13d, r13d
xor ebp, ebp
xor eax, eax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x1401c7e04
call fcn.140211d14
test r12, r12
je 0x1401c8139
xor r13d, r13d
mov eax, dword [r14 + 0x114]
bswap eax
inc eax
bswap eax
mov dword [r14 + 0x114], eax
mov rax, qword [r14 + 0xf8]
lea rdx, [rdi + r13]
mov rcx, r15
mov r8, r14
call qword [0x14030c820]
add r13, 0x10
cmp r13, r12
jb 0x1401c8550
jmp 0x1401c8139
call fcn.140002fd0
jmp 0x1401c826e
call fcn.140002fd0
jmp 0x1401c806e
mov edx, 0x120
mov rcx, r14
call fcn.1401caa50
jmp 0x1401c82d8
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
bt eax, 9
jae 0x1401c85ea
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [0x1400042a0]
mov rbp, qword [rsp + 0x28]
lea rdi, [rsp + 0x210]
jmp 0x1401c827c
call fcn.140259d10
lea rax, [0x14025a250]
lea rcx, [0x140259bf0]
jmp 0x1401c85d8
lea rcx, [rsp + 0x1f0]
mov edx, 0x100
mov r8, r14
bt eax, 9
jae 0x1401c862d
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [0x1400042a0]
jmp 0x1401c807c
call fcn.140259d10
lea rax, [0x14025a250]
lea rcx, [0x140259bf0]
jmp 0x1401c807c
mov r14, rsi
jmp 0x1401c83cd