Function at 0x180058320
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 - 0x778]
sub rsp, 0x878
mov ebx, 0xdeadbeef
lea r13, [0x18004ee14]
add rbx, rdx
mov r12, rdx
mov edx, dword [rcx]
mov rax, rbx
xor rax, qword [rcx + 0x10]
mov rdi, rcx
mov qword [rsp + 0x30], rax
mov rsi, r8
mov rax, rbx
xor rax, qword [rcx + 0x18]
mov qword [rsp + 0x38], rax
mov rax, rbx
xor rax, qword [rcx + 0x20]
mov qword [rsp + 0x40], rax
mov rax, rbx
xor rax, qword [rcx + 0x28]
mov qword [rsp + 0x48], rax
mov rax, rbx
xor rax, qword [rcx + 0x30]
mov qword [rsp + 0x50], rax
mov rax, rbx
xor rax, qword [rcx + 0x38]
mov qword [rsp + 0x58], rax
mov rax, rbx
xor rax, qword [rcx + 0x40]
mov qword [rsp + 0x60], rax
mov rax, rbx
xor rax, qword [rcx + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [r8]
mov rcx, qword [rax + 0xc0]
test rcx, rcx
je 0x1800583e4
mov qword gs:[0x130], rcx
mov rcx, r8
mov rax, qword [0x180075fd0]
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov edx, dword [rdi + 0x1e8]
mov rcx, qword [rax + 0x160]
test rcx, rcx
je 0x18005841c
mov qword gs:[0x130], rcx
lea r8, [rdi + 0x68]
mov rax, qword [0x180075fd0]
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov rdx, rbx
xor rdx, qword [rdi + 0x60]
mov rcx, qword [rax + 0x88]
test rcx, rcx
je 0x180058451
mov qword gs:[0x130], rcx
mov rcx, rsi
mov rax, qword [0x180075fd0]
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov rdx, rbx
xor rdx, qword [rdi + 0x50]
mov rcx, qword [rax + 0x158]
test rcx, rcx
je 0x180058486
mov qword gs:[0x130], rcx
mov rcx, rsi
mov rax, qword [0x180075fd0]
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov r9, rbx
xor r9, qword [rdi + 8]
mov rcx, qword [rax + 0x108]
test rcx, rcx
je 0x1800584c5
mov qword gs:[0x130], rcx
lea r8, [rsp + 0x30]
mov rax, qword [0x180075fd0]
mov edx, 8
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov rdx, rbx
xor rdx, qword [rdi + 0x58]
mov r9d, dword [rdi + 0x1fc]
mov rcx, qword [rax + 0x118]
test rcx, rcx
je 0x180058508
mov qword gs:[0x130], rcx
lea r8, [rdi + 0x1ec]
mov rax, qword [0x180075fd0]
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.18004ebf0
mov edx, dword [rdi + 0xa34]
test edx, edx
je 0x180058554
lea r8, [rsp + 0x70]
mov rax, rdi
sub rax, r8
lea rcx, [rsp + 0x70]
lea r8, [rax + 0x228]
nop dword [rax + rax]
mov rax, rbx
xor rax, qword [r8 + rcx]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x180058540
mov rax, rbx
mov r14, rbx
xor rax, qword [rdi + 0x200]
mov r15, rbx
xor r14, qword [rdi + 0x220]
xor r15, qword [rdi + 0x208]
mov qword [rbp + 0x7c0], rax
mov rax, rbx
xor rax, qword [rdi + 0x210]
mov qword [rbp + 0x7c8], rax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x90]
test rcx, rcx
je 0x1800585dd
mov qword gs:[0x130], rcx
lea r9, [rbp + 0x7c0]
mov rax, qword [0x180075fd0]
lea rcx, [rdi + 0xa30]
mov qword gs:[0x128], rax
xor edx, edx
lea rax, [rdi + 0xa28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
lea r8d, [rdx + 1]
call r13
mov rax, qword [rsi]
mov r9d, dword [rdi + 0xa2c]
mov r8d, dword [rdi + 0x218]
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x18005861c
mov qword gs:[0x130], rcx
mov rdx, r14
mov rax, qword [0x180075fd0]
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov r9d, dword [rdi + 0xa34]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x180058656
mov qword gs:[0x130], rcx
lea r8, [rsp + 0x70]
mov rax, qword [0x180075fd0]
mov rdx, r15
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x18005868e
mov qword gs:[0x130], rcx
lea r9, [rbp + 0x7c8]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rsi
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
mov r9d, dword [rdi + 0x1250]
lea rax, [rsp + 0x70]
mov r14, rdi
sub r14, rax
test r9d, r9d
je 0x1800586c8
lea rcx, [rsp + 0x70]
mov edx, r9d
nop dword [rax]
mov rax, rbx
xor rax, qword [r14 + rcx + 0xa50]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x1800586b0
mov rax, rbx
mov rdx, rbx
xor rax, qword [rdi + 0xa38]
xor rdx, qword [rdi + 0xa40]
mov qword [rbp + 0x7d8], rax
mov rax, rbx
xor rax, qword [rdi + 0xa48]
mov qword [rbp + 0x7d0], rax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x180058724
mov qword gs:[0x130], rcx
lea r8, [rsp + 0x70]
mov rax, qword [0x180075fd0]
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
mov rax, qword [rsi]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x180058767
mov qword gs:[0x130], rcx
lea r9, [rbp + 0x7d0]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rsi
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
lea rax, [rsp + 0x70]
mov r14, rdi
sub r14, rax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x18005879f
mov qword gs:[0x130], rcx
lea r9, [rbp + 0x7d8]
mov rax, qword [0x180075fd0]
xor edx, edx
mov rcx, rsi
mov qword gs:[0x128], rax
lea r8d, [rdx + 1]
call r13
mov eax, dword [rdi + 0x1a60]
test eax, eax
je 0x1800587d0
lea rcx, [rsp + 0x70]
mov edx, eax
mov rax, rbx
xor rax, qword [r14 + rcx + 0x1260]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x1800587b0
mov ebx, 0xdeadbeef
add rbx, r12
mov rax, qword [rsi]
xor rbx, qword [rdi + 0x1258]
mov r9d, dword [rdi + 0x1a60]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x180058814
mov qword gs:[0x130], rcx
lea r8, [rsp + 0x70]
mov rax, qword [0x180075fd0]
mov rdx, rbx
mov rcx, rsi
mov qword gs:[0x128], rax
call r13
add rsp, 0x878
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret