Function at 0x180058830
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b8]
sub rsp, 0x8b8
xor edi, edi
mov dword [rcx + 0x1e8], 0x10
mov rax, qword [r8]
lea r13, [0x18004ee14]
xorps xmm0, xmm0
mov qword [rbp + 0x810], rdi
mov rsi, rcx
mov qword [rbp + 0x800], rdi
mov qword [rbp + 0x808], rdi
mov rbx, r8
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp + 0x818], rdi
mov r15, rdx
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov rcx, qword [rax + 0x2f0]
test rcx, rcx
je 0x1800588cd
mov qword gs:[0x130], rcx
lea rdx, [rbp + 0x808]
mov rax, qword [0x180075fd0]
mov rcx, rbx
mov qword gs:[0x128], rax
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x270]
test rcx, rcx
je 0x180058902
mov qword gs:[0x130], rcx
lea rdx, [rbp + 0x800]
mov rax, qword [0x180075fd0]
mov rcx, rbx
mov qword gs:[0x128], rax
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x298]
test rcx, rcx
je 0x180058933
mov qword gs:[0x130], rcx
mov rdx, rsi
mov rax, qword [0x180075fd0]
mov rcx, rbx
mov qword gs:[0x128], rax
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x2f8]
test rcx, rcx
je 0x18005896c
mov qword gs:[0x130], rcx
lea r8, [rsi + 0x68]
mov rax, qword [0x180075fd0]
lea rdx, [rsi + 0x1e8]
mov rcx, rbx
mov qword gs:[0x128], rax
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x2c8]
test rcx, rcx
je 0x1800589ab
mov qword gs:[0x130], rcx
lea r9, [rbp + 0x818]
mov rax, qword [0x180075fd0]
lea r8, [rsp + 0x70]
mov edx, 8
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x2d8]
test rcx, rcx
je 0x1800589ee
mov qword gs:[0x130], rcx
lea r9, [rsi + 0x1fc]
mov rax, qword [0x180075fd0]
lea r8, [rsi + 0x1ec]
lea rdx, [rbp + 0x810]
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov r14d, 0xdeadbeef
mov qword [rsp + 0x40], rdi
add r14, r15
mov qword [rsp + 0x48], rdi
mov rax, r14
mov qword [rsp + 0x38], rdi
xor rax, qword [rbp + 0x800]
mov qword [rsi + 0x60], rax
mov rax, r14
xor rax, qword [rbp + 0x808]
mov qword [rsi + 0x50], rax
mov rax, r14
xor rax, qword [rbp + 0x810]
mov qword [rsi + 0x58], rax
mov rax, r14
xor rax, qword [rbp + 0x818]
mov qword [rsi + 8], rax
mov rax, r14
xor rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
mov rax, r14
xor rax, qword [rsp + 0x78]
mov qword [rsi + 0x18], rax
mov rax, r14
xor rax, qword [rbp - 0x80]
mov qword [rsi + 0x20], rax
mov rax, r14
xor rax, qword [rbp - 0x78]
mov qword [rsi + 0x28], rax
mov rax, r14
xor rax, qword [rbp - 0x70]
mov qword [rsi + 0x30], rax
mov rax, r14
xor rax, qword [rbp - 0x68]
mov qword [rsi + 0x38], rax
mov rax, r14
xor rax, qword [rbp - 0x60]
mov qword [rsi + 0x40], rax
mov rax, r14
xor rax, qword [rbp - 0x58]
mov qword [rsi + 0x48], rax
mov dword [rsi + 0xa34], 0x100
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x260]
test rcx, rcx
je 0x180058ae5
mov qword gs:[0x130], rcx
lea r9, [rsi + 0xa34]
mov rax, qword [0x180075fd0]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x280]
test rcx, rcx
je 0x180058b26
mov qword gs:[0x130], rcx
lea r9, [rsi + 0xa2c]
mov rax, qword [0x180075fd0]
lea r8, [rsi + 0x218]
lea rdx, [rsp + 0x30]
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x278]
test rcx, rcx
je 0x180058b77
mov qword gs:[0x130], rcx
lea r9, [rsp + 0x38]
mov rax, qword [0x180075fd0]
lea rcx, [rsi + 0xa30]
mov qword gs:[0x128], rax
xor edx, edx
lea rax, [rsi + 0xa28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
lea r8d, [rdx + 1]
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x240]
test rcx, rcx
je 0x180058bb0
mov qword gs:[0x130], rcx
lea r9, [rsp + 0x48]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rbx
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
mov rax, r14
mov r15, rsi
xor rax, qword [rsp + 0x30]
mov edx, edi
mov qword [rsi + 0x220], rax
mov rax, r14
xor rax, qword [rsp + 0x38]
mov qword [rsi + 0x200], rax
mov rax, r14
xor rax, qword [rsp + 0x40]
mov qword [rsi + 0x208], rax
mov rax, r14
xor rax, qword [rsp + 0x48]
mov qword [rsi + 0x210], rax
lea rax, [rbp - 0x50]
sub r15, rax
cmp dword [rsi + 0xa34], edx
jbe 0x180058c2c
lea rcx, [rbp - 0x50]
nop dword [rax]
nop dword [rax + rax]
mov rax, r14
inc edx
xor rax, qword [rcx]
mov qword [r15 + rcx + 0x228], rax
lea rcx, [rcx + 8]
cmp edx, dword [rsi + 0xa34]
jb 0x180058c10
mov dword [rsi + 0x1250], 0x100
mov rax, qword [rbx]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov rcx, qword [rax + 0x250]
test rcx, rcx
je 0x180058c83
mov qword gs:[0x130], rcx
lea r9, [rsi + 0x1250]
mov rax, qword [0x180075fd0]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x58]
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov rax, qword [rbx]
mov rcx, qword [rax + 0x248]
test rcx, rcx
je 0x180058cc6
mov qword gs:[0x130], rcx
lea r9, [rsp + 0x60]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rbx
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
lea rax, [rbp - 0x50]
mov r15, rsi
sub r15, rax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x258]
test rcx, rcx
je 0x180058cff
mov qword gs:[0x130], rcx
lea r9, [rsp + 0x50]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rbx
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
mov rax, r14
mov edx, edi
xor rax, qword [rsp + 0x50]
mov qword [rsi + 0xa38], rax
mov rax, r14
xor rax, qword [rsp + 0x58]
mov qword [rsi + 0xa40], rax
mov rax, r14
xor rax, qword [rsp + 0x60]
mov qword [rsi + 0xa48], rax
cmp dword [rsi + 0x1250], edx
jbe 0x180058d66
lea rcx, [rbp - 0x50]
nop word [rax + rax]
mov rax, r14
inc edx
xor rax, qword [rcx]
mov qword [r15 + rcx + 0xa50], rax
lea rcx, [rcx + 8]
cmp edx, dword [rsi + 0x1250]
jb 0x180058d40
lea rax, [rbp - 0x50]
mov r15, rsi
sub r15, rax
mov dword [rsi + 0x1a60], 0x100
mov rcx, rdi
mov rax, qword [rbx]
mov qword [rsp + 0x68], rcx
mov rdx, qword [rax + 0x290]
test rdx, rdx
je 0x180058dbb
mov qword gs:[0x130], rdx
lea r9, [rsi + 0x1a60]
mov rax, qword [0x180075fd0]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
mov qword gs:[0x128], rax
mov rcx, rbx
call r13
mov rcx, qword [rsp + 0x68]
mov rax, r14
xor rax, rcx
mov qword [rsi + 0x1258], rax
cmp dword [rsi + 0x1a60], edi
jbe 0x180058dfc
lea rcx, [rbp - 0x50]
nop dword [rax]
nop dword [rax + rax]
mov rax, r14
inc edi
xor rax, qword [rcx]
mov qword [r15 + rcx + 0x1260], rax
lea rcx, [rcx + 8]
cmp edi, dword [rsi + 0x1a60]
jb 0x180058de0
add rsp, 0x8b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret