Function at 0x140129dc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x140276168]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x50], r9d
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x90], rcx
mov r8, qword [rsp + 0x2c8]
mov qword [rsp + 0x78], r8
mov r13, qword [rsp + 0x2d0]
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xc8], rax
cmp edi, 0x100
jbe 0x140129e3e
mov eax, dword [rdx + 0x400]
mov dword [rsp + 0x30], eax
jmp 0x140129e46
mov dword [rsp + 0x30], 0x10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
mov dword [rsp + 0x110], eax
mov rcx, rdx
mov edx, edi
nop word [rax + rax]
mov eax, dword [rcx]
inc dword [rsp + rax*4 + 0xd0]
lea rcx, [rcx + 4]
add edx, 0xffffffff
jne 0x140129e80
cmp dword [rsp + 0xd0], edi
jne 0x140129ec7
xor eax, eax
mov qword [r8], rax
mov dword [r13], eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400c3d30
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
nop dword [rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0xd0], 0
jne 0x140129ee3
inc ecx
cmp ecx, 0x10
jbe 0x140129ed0
mov dword [rsp + 0x28], ecx
cmp dword [r13], ecx
jae 0x140129ef1
mov dword [r13], ecx
mov edx, 0x10
nop word [rax + rax]
mov eax, edx
cmp dword [rsp + rax*4 + 0xd0], 0
jne 0x140129f11
add edx, 0xffffffff
jne 0x140129f00
mov dword [rsp + 0x20], edx
cmp dword [r13], edx
jbe 0x140129f1f
mov dword [r13], edx
mov r13d, 1
shl r13d, cl
nop dword [rax + rax]
mov eax, ecx
sub r13d, dword [rsp + rax*4 + 0xd0]
mov dword [rsp + 0x54], r13d
js 0x14012a373
cmp ecx, edx
jb 0x14012a369
mov eax, edx
add dword [rsp + rax*4 + 0xd0], r13d
xor r14d, r14d
mov ecx, r14d
mov dword [rsp + 0x124], r14d
lea r8, [rsp + 0xd4]
lea r9, [rsp + 0x128]
add edx, 0xffffffff
je 0x140129f95
nop word [rax + rax]
mov eax, dword [r8]
lea r8, [r8 + 4]
add ecx, eax
mov dword [r9], ecx
lea r9, [r9 + 4]
add edx, 0xffffffff
jne 0x140129f80
xor edx, edx
mov r8d, 0x480
mov rcx, qword [rsi + 8]
call fcn.1400c7cf0
mov r8d, r14d
nop dword [rax]
mov eax, dword [rbx]
lea rbx, [rbx + 4]
test eax, eax
je 0x140129fd5
lea rdx, [rsp + 0x120]
lea rdx, [rdx + rax*4]
mov ecx, dword [rdx]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], r8d
lea eax, [rcx + 1]
mov dword [rdx], eax
inc r8d
cmp r8d, edi
jb 0x140129fb0
movsxd rbx, dword [rsp + 0x20]
mov eax, dword [rsp + rbx*4 + 0x120]
mov dword [rsp + 0x4c], eax
mov r15d, r14d
mov dword [rsp + 0x120], r14d
mov rax, qword [rsi + 8]
mov qword [rsp + 0x58], rax
mov r12, 0xffffffffffffffff
mov dword [rsp + 0x170], r14d
mov edi, r14d
mov qword [rsp + 0x1c0], r14
mov r9, r14
mov esi, r14d
mov dword [rsp + 0x2c], r14d
mov r11d, dword [rsp + 0x28]
nop dword [rax + rax]
cmp r11d, ebx
jg 0x14012a32c
movsxd rax, r11d
lea r14, [rsp + 0xd0]
lea r14, [r14 + rax*4]
mov qword [rsp + 0x68], r14
mov r10d, dword [r14]
mov edx, r10d
mov dword [rsp + 0x34], edx
mov eax, r10d
dec r10d
mov dword [rsp + 0x24], r10d
test eax, eax
jne 0x14012a079
inc r11d
mov dword [rsp + 0x28], r11d
jmp 0x14012a030
mov ebx, dword [rsp + 0x20]
mov r14, qword [rsp + 0x68]
mov dword [rsp + 0x88], edi
movsxd r13, r12d
lea r8, [r13*4]
lea rax, [rsp + 0x174]
add rax, r8
mov qword [rsp + 0x80], rax
mov ecx, dword [rax]
add ecx, edi
cmp r11d, ecx
jle 0x14012a1f4
inc r12d
mov dword [rsp + 0x48], r12d
mov edi, ecx
mov eax, ebx
sub eax, ecx
mov rcx, qword [rsp + 0x60]
mov r8d, dword [rcx]
cmp eax, r8d
cmovbe r8d, eax
mov ebx, r11d
sub ebx, edi
mov ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, edx
jbe 0x14012a105
mov ecx, 0xffffffff
sub ecx, r10d
add eax, ecx
mov rdx, r14
inc ebx
cmp ebx, r8d
jae 0x14012a105
nop
add eax, eax
lea rdx, [rdx + 4]
mov ecx, dword [rdx]
cmp eax, ecx
jbe 0x14012a105
sub eax, ecx
inc ebx
cmp ebx, r8d
jb 0x14012a0f0
lea eax, [rdi + rbx]
mov ecx, dword [rsp + 0x30]
cmp eax, ecx
jbe 0x14012a118
cmp edi, ecx
jae 0x14012a118
mov ebx, ecx
sub ebx, edi
mov ecx, ebx
mov esi, 1
shl esi, cl
movsxd r14, r12d
mov dword [rsp + r14*4 + 0x174], ebx
lea ecx, [rsi + 1]
mov eax, 0x10
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c4378
nop
mov ecx, dword [rsp + 0x2c]
inc ecx
add ecx, esi
mov dword [rsp + 0x2c], ecx
lea r9, [rax + 0x10]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], r9
add rax, 8
mov qword [rsp + 0xc8], rax
mov qword [rax], 0
mov qword [rsp + r14*8 + 0x1c0], r9
test r12d, r12d
mov r11d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x24]
je 0x14012a070
mov dword [rsp + r14*4 + 0x120], r15d
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x39], al
add bl, 0x12
mov byte [rsp + 0x38], bl
mov qword [rsp + 0x40], r9
mov ecx, edi
mov edx, 1
shl edx, cl
dec edx
mov eax, r15d
and rdx, rax
movzx ecx, byte [rsp + 0x88]
shr rdx, cl
add rdx, rdx
mov rax, qword [rsp + r13*8 + 0x1c0]
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + rdx*8], xmm0
mov edx, dword [rsp + 0x34]
jmp 0x14012a070
movzx eax, r11b
sub al, dil
mov byte [rsp + 0x39], al
mov ecx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
lea rcx, [rax + rcx*4]
mov rbx, qword [rsp + 0x58]
cmp rbx, rcx
jb 0x14012a221
mov byte [rsp + 0x38], 0x63
jmp 0x14012a275
mov ecx, dword [rbx]
add rbx, 4
mov qword [rsp + 0x58], rbx
mov eax, dword [rsp + 0x50]
cmp ecx, eax
jae 0x14012a24a
cmp ecx, 0x100
setb al
add al, 0x11
mov byte [rsp + 0x38], al
mov word [rsp + 0x40], cx
jmp 0x14012a275
sub ecx, eax
add rcx, rcx
mov rax, qword [rsp + 0x2b8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rcx + rax]
mov word [rsp + 0x40], ax
mov qword [rsp + 0x58], rbx
mov ecx, r11d
sub ecx, edi
mov r10d, 1
shl r10d, cl
mov edx, r15d
mov ecx, edi
shr edx, cl
cmp edx, esi
jae 0x14012a2b1
movups xmm0, xmmword [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
mov eax, edx
add rax, rax
movups xmmword [r9 + rax*8], xmm0
add edx, r10d
cmp edx, esi
jb 0x14012a2a0
lea ecx, [r11 - 1]
mov eax, 1
shl eax, cl
test r15d, eax
je 0x14012a2cb
xor r15d, eax
shr eax, 1
test r15d, eax
jne 0x14012a2c1
xor r15d, eax
mov ecx, edi
mov eax, 1
shl eax, cl
dec eax
and eax, r15d
cmp eax, dword [rsp + r8 + 0x120]
mov r10d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
je 0x14012a050
nop dword [rax]
nop word [rax + rax]
dec r12d
lea r8, [r8 - 4]
sub edi, dword [rsp + r8 + 0x174]
mov ecx, edi
mov eax, 1
shl eax, cl
dec eax
and eax, r15d
cmp eax, dword [rsp + r8 + 0x120]
jne 0x14012a300
jmp 0x14012a050
cmp byte [rsp + 0x2c0], 0
jne 0x14012a342
cmp dword [rsp + 0x54], 0
je 0x14012a342
cmp ebx, 1
jne 0x14012a39a
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rcx
mov ecx, dword [rsp + 0x174]
mov rax, qword [rsp + 0x60]
mov dword [rax], ecx
mov eax, dword [rsp + 0x2c]
jmp 0x140129ea4
inc ecx
add r13d, r13d
jmp 0x140129f30
mov edx, 0x1b62
lea rcx, [rsp + 0x98]
call fcn.1400177b0
lea rdx, [0x140270220]
lea rcx, [rsp + 0x98]
call fcn.1400c74cc
int3
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x70]
call fcn.14012a3f0
xor eax, eax
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rax
mov r13, qword [rsp + 0x60]
mov dword [r13], eax
mov edx, 0x1b62
lea rcx, [rsp + 0xb8]
call fcn.1400177b0
lea rdx, [0x140270220]
lea rcx, [rsp + 0xb8]
call fcn.1400c74cc
int3