Function at 0x140062bc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x410
movaps xmmword [rax - 0x48], xmm6
mov r13, rdx
mov rbx, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov ecx, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x14013e808], eax
jle 0x140062c5c
lea rcx, [0x14013e808]
call fcn.1400758c8
cmp dword [0x14013e808], 0xffffffff
jne 0x140062c5c
mov qword [0x14013e790], r14
mov qword [0x14013e798], 0xf
mov byte [0x14013e780], sil
lea rcx, [0x1400a8350]
call fcn.140075614
lea rcx, [0x14013e808]
call fcn.140075868
mov rdi, 0xffffffffffffffff
lea r15, [0x14013e780]
cmp qword [0x14013e790], rsi
jne 0x140063285
lea rax, [rbp - 0x70]
mov qword [rbp + 0x360], rax
movdqa xmm6, xmmword [0x140120c60]
mov dword [rsp + 0x40], 0x53371a20
movaps xmmword [rsp + 0x50], xmm6
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov rdx, qword [0x14013b778]
test rdx, rdx
jne 0x140062d13
mov ebx, 0x14
mov ecx, ebx
call fcn.140075634
mov rdx, rax
mov qword [0x14013b778], rax
mov rax, r14
lea rcx, [rdx + 0x13]
lea r8, [rsp + 0x63]
cmp rdx, r8
ja 0x140062cdc
lea r8, [rsp + 0x50]
cmp rcx, r8
jae 0x140062cf1
movdqa xmm0, xmmword [0x140120f70]
pxor xmm0, xmm6
movdqu xmmword [rdx], xmm0
mov eax, 0x10
lea rcx, [rax + rdx]
lea r8, [rsp + 0x50]
sub r8, rdx
sub rbx, rax
movzx eax, byte [r8 + rcx]
xor al, 0x53
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x140062d00
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], sil
mov r8, rdi
inc r8
cmp byte [rdx + r8], sil
jne 0x140062d26
lea rcx, [rbp - 0x70]
call fcn.1400064d0
nop
mov dword [rsp + 0x50], 0x1f03141a
mov dword [rsp + 0x54], 0x63621d14
mov dword [rsp + 0x58], 0x3d3d357f
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x3c], 0x51
mov rdx, qword [0x14013bc60]
test rdx, rdx
jne 0x140062db3
mov ebx, 0xd
mov ecx, ebx
call fcn.140075634
mov rdx, rax
mov qword [0x14013bc60], rax
mov rcx, rax
lea r8, [rsp + 0x30]
sub r8, rax
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, 0x51
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x140062da0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140062dd0
lea rcx, [rsp + 0x70]
call fcn.1400064d0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140070cb0
call rax
mov edx, eax
lea rcx, [rbp + 0xc0]
call fcn.14005f270
mov rbx, rax
mov rax, qword [0x14013b888]
test rax, rax
jne 0x140062e2a
lea ecx, [rax + 3]
call fcn.140075634
mov qword [0x14013b888], rax
mov word [rax], 0x5c2e
mov byte [rax + 2], 0
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14000c4b0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140062e49
mov rbx, qword [rax]
lea rax, [0x14011ff48]
mov qword [rbp - 0x50], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x60], rax
mov r15d, 2
mov esi, r15d
mov dword [rsp + 0x20], r15d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.140049ed0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx - 0x54], r8d
lea rcx, [rbp - 0x40]
call fcn.140049e00
nop
lea r12d, [r15 + 4]
cmp qword [rbp + 0x40], 0
jne 0x140062f2b
lea edx, [r15 + 0x1f]
lea r8d, [r15 + 0x3e]
mov rcx, rbx
call fcn.140073cd0
test rax, rax
je 0x140062f2b
lea r8d, [r15 - 1]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140049c70
mov rax, qword [rbp + 0x20]
mov rbx, qword [rax + 8]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.14004a2d0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140049b20
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rax, rax
je 0x140062f52
mov rcx, qword [rax]
mov r8, qword [rcx]
lea edx, [r15 - 1]
mov rcx, rax
call r8
jmp 0x140062f52
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov edx, r12d
cmp qword [rcx + 0x48], 0
cmovne edx, r15d
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.1400483d0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp + 0xe0]
call fcn.140006470
nop
lea rcx, [rbp + 0xc0]
call fcn.140006470
cmp qword [rbp + 0x40], 0
je 0x140063210
lea rcx, [rbp + 0x100]
call fcn.14006a850
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x110]
call fcn.14006a9c0
nop
mov r15, r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0x20], 0xa
mov ecx, dword [rbp + 0x188]
test cl, 2
jne 0x140063010
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140063010
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x14006303e
test cl, 4
jne 0x14006304d
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006304d
mov rax, qword [rbp + 0x130]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x168]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x30]
call fcn.1400064d0
mov r15, qword [rsp + 0x40]
mov rbx, qword [0x14013bc10]
test rbx, rbx
jne 0x140063079
lea ecx, [rbx + 3]
call fcn.140075634
mov rbx, rax
mov qword [0x14013bc10], rax
mov word [rax], 0xa0d
mov byte [rax + 2], 0
mov r15, qword [rsp + 0x40]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140063080
lea r14, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
setae byte [rbp + 0x360]
cmovae r14, qword [rsp + 0x30]
test rsi, rsi
je 0x14006311b
test r15, r15
je 0x14006311b
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x200]
call fcn.140081bd0
lea rcx, [rsi + rbx]
cmp rbx, rcx
je 0x1400630e3
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rbp + rax + 0x200], 1
inc rbx
cmp rbx, rcx
jne 0x1400630d0
lea rax, [r15 - 1]
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x200], 0
jne 0x140063116
cmp rcx, r14
je 0x14006311b
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x200], 0
je 0x140063101
sub rcx, r14
jmp 0x14006311e
mov rcx, rdi
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r14b
cmp r15, rcx
jb 0x140063359
sub r15, rcx
mov r8d, pe_nt_image_headers64
cmp r15, r8
cmovb r8, r15
lea rdx, [rsp + 0x30]
cmp byte [rbp + 0x360], r14b
cmovne rdx, qword [rsp + 0x30]
add rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400064d0
mov esi, 0x16
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.14005d780
mov rbx, rax
mov qword [rbp + 0x360], rax
lea r15, [0x14013e780]
cmp r15, rax
je 0x1400631b4
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400631a7
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.1400064d0
nop
mov rcx, rbx
call fcn.140006470
lea rcx, [rbp - 0x40]
call fcn.140049d40
test rax, rax
jne 0x1400631f7
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x50]
add rcx, r9
cmp qword [rcx + 0x48], 0
mov eax, 2
cmovne r12d, eax
or r12d, dword [rcx + 0x10]
xor r8d, r8d
mov edx, r12d
call fcn.1400483d0
nop
lea rcx, [rsp + 0x30]
call fcn.140006470
nop
lea rcx, [rbp + 0x100]
call fcn.14005d2e0
jmp 0x140063217
lea r15, [0x14013e780]
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.140049430
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.1400739b8
nop
mov rbx, qword [rbp + 0x350]
test r13, r13
jne 0x1400632a9
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1400061f0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14005d3e0
jmp 0x140063333
mov qword [rbp + 0x360], r15
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
inc rdi
cmp byte [rdi + r13], 0
jne 0x1400632c3
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.1400064d0
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp + 0x360]
call fcn.14000c670
or esi, 0x40
mov dword [rsp + 0x20], esi
lea r9, [fcn.140002350]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x50]
call fcn.140075668
nop
mov rax, rbx
mov rbx, qword [rsp + 0x458]
movaps xmm6, xmmword [rsp + 0x400]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400067d0
nop
int3