Function at 0x180036c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1800c8010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x70]
call fcn.180059570
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.18003e010
nop
mov dword [rsp + 0x68], 0x44285096
cmp qword [rbp + 8], 0
je 0x180036e51
movsd xmm1, qword [0x1800ba7b8]
movq rdx, xmm1
lea rcx, [0x1800a7d98]
call fcn.18000ba10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 0x48]
test rcx, rcx
je 0x180036ce1
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x70]
call fcn.180025960
mov byte [rsp + 0x60], al
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
jne 0x180036d31
mov rcx, qword [rbp + rcx - 0x48]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 0x48]
jmp 0x180036d4b
mov qword [rsp + 0x30], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + rax - 0x48]
test rcx, rcx
je 0x180036d57
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsi, r14
mov ecx, esi
inc rcx
call fcn.1800558d4
mov rdi, rax
lea rcx, [rsp + 0x70]
call fcn.18003e2c0
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18003e460
lea rcx, [rbp - 0x78]
call fcn.18003ef10
test rax, rax
jne 0x180036dcc
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov eax, 6
mov ecx, 2
cmp qword [rbp + rdx - 0x48], 0
cmovne eax, ecx
or eax, dword [rbp + rdx - 0x80]
and eax, 0x17
mov dword [rbp + rdx - 0x80], eax
mov ecx, dword [rbp + rdx - 0x7c]
and ecx, eax
jne 0x180036e87
movsd xmm1, qword [0x1800ba7b8]
movq rdx, xmm1
lea rcx, [0x1800a7d98]
call fcn.18000ba10
xor ebx, ebx
test rsi, rsi
jle 0x180036e1a
mov edx, dword [rsp + 0x30]
add edx, r14d
je 0x180036e1a
mov rcx, rdi
mov r8d, ebx
mov r9d, edx
nop
mov rax, r8
and eax, 3
movzx eax, byte [rsp + rax + 0x68]
xor byte [rcx], al
inc r8
lea rcx, [rcx + 1]
sub r9, 1
jne 0x180036e00
mov qword [rsp + 0x28], rbx
lea rax, [0x180034ac0]
mov qword [rsp + 0x20], rax
lea r9, [0x1800349e0]
lea r8, [0x1800349d0]
mov rdx, rsi
mov rcx, rdi
call fcn.180034b70
mov rbx, rax
mov rcx, rdi
call fcn.180055890
jmp 0x180036e53
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.180036ee0
mov rax, rbx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800555d0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test cl, 4
je 0x180036e95
lea rbx, str.ios_base::badbit_set
jmp 0x180036eaa
test cl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.18000bb10
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18000c310
lea rdx, [0x1800c6c00]
lea rcx, [rsp + 0x30]
call fcn.180059498
int3