Function at 0x140003ddc
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xb0], rdx
mov qword [rbp + 0xb8], r8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
lea r12d, [r15 + 0xf]
cmp qword [rdx + 0x18], r12
jbe 0x140003e41
mov rax, qword [rdx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.140013188
nop
mov dword [rsp + 0x30], r15d
lea rax, [0x140112118]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.140002ccc
mov r14b, al
cmp dword [rsp + 0x30], r15d
jne 0x140004196
lea rcx, [rbp + 0xd0]
call fcn.1400089b8
test r14b, r14b
jne 0x140003fd3
movsd xmm0, qword [0x1400ee860]
movsd qword [rbp + 0xc0], xmm0
mov eax, dword [0x1400ee868]
mov dword [rbp + 0xc8], eax
movzx eax, word [0x1400ee86c]
mov word [rbp + 0xcc], ax
mov al, byte [0x1400ee86e]
mov byte [rbp + 0xce], al
mov r8d, r15d
lea r9, [rbp + 0xc0]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, r12d
jl 0x140003eed
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
lea rax, [rbp + 0xc0]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x140003f35
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.14000aaa8
nop
mov rdx, qword [rbx + 0x18]
mov r14d, 0x1000
cmp rdx, r12
jbe 0x140003f85
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x140003f80
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fcc
mov rcx, r8
call fcn.1400d6b94
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x14000411e
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x140004119
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140004116
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400069b0
nop
mov qword [rbp - 0x68], r15
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400096d0
nop
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1400072d8
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006cd4
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov byte [rsi], r15b
mov dword [rsp + 0x40], reloc.WS2_32.dll_select
cmp byte [rax], 3
jne 0x14000415b
mov rdx, qword [rax + 8]
cmp rsi, rdx
je 0x140004058
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x14000404f
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140016b50
nop
mov dl, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140008354
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140006944
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbx + 0x18]
mov r14d, 0x1000
cmp rdx, r12
jbe 0x1400040e2
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x1400040dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000414d
mov rcx, r8
call fcn.1400d6b94
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x14000411e
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x140004119
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004154
mov rcx, r8
call fcn.1400d6b94
mov rax, rsi
mov byte [rdi], r15b
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400d68f0
add rsp, 0x220
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400087c4
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0xf0]
call fcn.140016c88
nop
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.140016d34
lea rdx, [0x14010cfc0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.140002bf8
int3