Function at 0x1400d1b90
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 - 0x168]
mov eax, 0x268
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, qword [rcx + 0x258]
mov r14d, r8d
mov r13, qword [rbp + 0x1d8]
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], r9
xor edi, edi
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, 0x90
mov r12d, edi
call fcn.14020fde0
xor edx, edx
mov qword [rsp + 0x50], rdi
mov r8d, 0xa0
lea rcx, [rbp + 0x70]
call fcn.14020fde0
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1400d1c56
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea r8, [rsi + 0x10]
mov rcx, r15
lea r9, [rbp + 0x70]
mov rdx, rsi
call rax
test eax, eax
js 0x1400d1f76
je 0x1400d1d92
cmp eax, 2
jne 0x1400d1cde
lea r12d, [rdi + 1]
jmp 0x1400d1cde
mov rax, qword [rsi]
cmp rax, qword [rbx + 0x1a0]
jne 0x1400d1d92
mov rax, qword [rsi + 8]
cmp rax, qword [rbx + 0x1a8]
jne 0x1400d1d92
lea rdx, [rbx + 0x1b0]
mov qword [rsp + 0x20], rdi
lea r9, [0x14028ffb0]
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call fcn.14011bf80
test eax, eax
jle 0x1400d1d08
test dword [0x14036e464], 0x2000000
lea rax, [0x140298c90]
lea rdx, [0x140298b10]
mov dword [rsp + 0x28], edi
cmovne rdx, rax
lea r9, [rbx + 0x1c0]
lea rax, [rsi + 0x10]
xor r8d, r8d
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400d7380
test eax, eax
jle 0x1400d1d08
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x1400d1d41
mov edx, 0xa2
mov dword [rsp + 0x20], 0x139
lea r9, str..cryptoevpevp_lib.c
lea ecx, [rax + 6]
lea r8d, [rdx - 3]
call fcn.1400a36f0
lea rcx, [rbp + 0x70]
call fcn.1400d7da0
lea rcx, [rbp - 0x78]
call fcn.1400c8630
lea rcx, [rbp - 0x48]
call fcn.1400c8630
lea rcx, [rsp + 0x58]
call fcn.1400c8630
mov edx, 0x120
lea rcx, [rsp + 0x50]
call fcn.1400011e0
or eax, 0xffffffff
jmp 0x1400d1d97
movsxd rbx, dword [rax + 8]
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x1400d1d08
mov rax, qword [rbp + 0x70]
mov ecx, dword [rax + 0xc]
lea eax, [rbx + 0x10]
add eax, ecx
cmp r14d, eax
jg 0x1400d1dba
lea rcx, [rbp - 0x78]
call fcn.1400c8630
lea rcx, [rbp - 0x48]
call fcn.1400c8630
lea rcx, [rsp + 0x58]
call fcn.1400c8630
mov edx, 0x120
lea rcx, [rsp + 0x50]
call fcn.1400011e0
lea rcx, [rbp + 0x70]
call fcn.1400d7da0
mov eax, 2
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub r14d, ebx
lea rcx, [rsp + 0x58]
movsxd r15, r14d
mov rdx, rsi
mov r8, r15
call qword [rbp - 0x80]
test eax, eax
jle 0x1400d1d08
cmp qword [rsp + 0x50], rdi
je 0x1400d1d08
xor r8d, r8d
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.14011c200
test eax, eax
jle 0x1400d1d08
lea rcx, [rbp - 0x78]
call fcn.1400c8630
lea rcx, [rbp - 0x48]
call fcn.1400c8630
lea rcx, [rsp + 0x58]
call fcn.1400c8630
mov edx, 0x120
lea rcx, [rsp + 0x50]
call fcn.1400011e0
xor r8b, r8b
lea r9, [r15 + rsi]
mov rdx, rdi
test ebx, ebx
je 0x1400d1e68
lea rax, [rbp + 0x110]
sub r9, rax
lea rax, [rbp + 0x110]
add rax, rdx
inc rdx
movzx ecx, byte [r9 + rax]
movzx eax, byte [rax]
xor cl, al
or r8b, cl
cmp rdx, rbx
jb 0x1400d1e40
test r8b, r8b
jne 0x1400d1d89
mov rdx, qword [rbp + 0x70]
lea rcx, [rsi + 0x10]
mov r8d, 0xd93
movsxd rax, dword [rdx + 0xc]
add rcx, rax
mov eax, 0xfffffff0
mov qword [rsp + 0x38], rcx
sub eax, dword [rdx + 0xc]
lea rdx, [0x14032ea70]
add r14d, eax
mov ecx, r14d
call fcn.1400b3ae0
mov rbx, rax
test rax, rax
je 0x1400d1f65
mov r9, qword [rsp + 0x38]
lea r8, [rsp + 0x34]
mov rdx, rax
mov dword [rsp + 0x20], r14d
lea rcx, [rbp + 0x70]
call fcn.1400d7a20
test eax, eax
jle 0x1400d1f65
movsxd rsi, dword [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x70]
lea rdx, [rbx + rsi]
call fcn.1400d7bd0
lea rcx, [rbp + 0x70]
test eax, eax
jg 0x1400d1efc
call fcn.1400d7da0
mov rcx, rbx
call fcn.1400b3dd0
jmp 0x1400d1d92
add esi, dword [rsp + 0x30]
call fcn.1400d7da0
mov r8d, esi
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x38]
xor ecx, ecx
call fcn.1400eeb50
mov rcx, rbx
mov rsi, rax
call fcn.1400b3dd0
test rsi, rsi
je 0x1400d1f5b
movsxd rbx, dword [rbp + 0x1d0]
test ebx, ebx
je 0x1400d1f45
mov rdx, qword [rsp + 0x40]
lea rcx, [rsi + 0x48]
mov r8, rbx
call fcn.14020f990
test r12d, r12d
mov dword [rsi + 0x44], ebx
mov qword [r13], rsi
setne dil
lea eax, [rdi + 3]
jmp 0x1400d1d97
call fcn.1400a3840
jmp 0x1400d1d92
lea rcx, [rbp + 0x70]
call fcn.1400d7da0
mov rcx, rbx
call fcn.1400b3dd0
or eax, 0xffffffff
jmp 0x1400d1d97