Function at 0x140003df8
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 [0x140106080]
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 0x140003e5d
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.140013158
nop
mov dword [rsp + 0x30], r15d
lea rax, [0x140106118]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.140003444
mov r14b, al
cmp dword [rsp + 0x30], r15d
jne 0x1400041a9
lea rcx, [rbp + 0xd0]
call fcn.140008dd0
test r14b, r14b
jne 0x140003fe6
movsd xmm0, qword [0x1400e3790]
movsd qword [rbp + 0xc0], xmm0
mov eax, dword [0x1400e3798]
mov dword [rbp + 0xc8], eax
movzx eax, word [0x1400e379c]
mov word [rbp + 0xcc], ax
mov al, byte [0x1400e379e]
mov byte [rbp + 0xce], al
mov r8d, r15d
lea r9, [rbp + 0xc0]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, r12d
jl 0x140003f09
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 0x140003f48
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.140004bbc
nop
mov rdx, qword [rbx + 0x18]
mov r14d, 0x1000
cmp rdx, r12
jbe 0x140003f98
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x140003f93
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003fdf
mov rcx, r8
call fcn.1400cc8b4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x140004131
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x14000412c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140004129
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.140006dd8
nop
mov qword [rbp - 0x68], r15
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140009910
nop
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.1400076f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140007168
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 0x14000416e
mov rdx, qword [rax + 8]
cmp rsi, rdx
je 0x14000406b
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x140004062
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140016b20
nop
mov dl, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000876c
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.140006d6c
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 0x1400040f5
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x1400040f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004160
mov rcx, r8
call fcn.1400cc8b4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x140004131
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x14000412c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004167
mov rcx, r8
call fcn.1400cc8b4
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.1400cc540
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.140008bdc
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0xf0]
call fcn.140016c58
nop
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.140016d04
lea rdx, [0x140100b30]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.140003370
int3