Function at 0x140075940
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [r11 - 0x4f]
sub rsp, 0x90
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, qword [rbp + 0x77]
mov rdi, rdx
mov r12, qword [rbp + 0x7f]
mov rbx, rcx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x30], r13
mov r13d, 0x304
cmp word [rcx + 0x1a78], r13w
jae 0x140075a4a
mov rax, qword [rcx + 0x38]
cmp byte [rax + 7], 3
je 0x140075a4a
test r9b, r9b
je 0x1400759a9
mov rdx, qword [rcx + 0x3730]
jmp 0x1400759b0
mov rdx, qword [rcx + 0x3728]
cmp word [rcx + 0x1a78], r13w
jae 0x140075a0e
cmp byte [rax + 7], 3
je 0x140075a0e
movzx eax, byte [rdx]
mov byte [rbp - 0x19], al
movzx eax, byte [rdx + 1]
mov byte [rbp - 0x18], al
movzx eax, byte [rdx + 2]
mov byte [rbp - 0x17], al
movzx eax, byte [rdx + 3]
mov byte [rbp - 0x16], al
test rdi, rdi
jne 0x1400759f2
add dword [rbx + 0x28], 8
mov qword [rbp - 0x15], rdi
mov edi, 8
jmp 0x140075a74
mov r8d, 8
lea rcx, [rbp - 0x15]
mov rdx, rdi
call fcn.140063db0
add dword [rbx + 0x28], 8
add rdi, 8
jmp 0x140075a74
lea rax, [rbp - 0x19]
mov qword [rbp - 0x19], 0
sub rdx, rax
mov dword [rbp - 0x11], 0
lea rcx, [rbp - 0x19]
mov r8d, recvfrom
nop
movzx eax, byte [rdx + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140075a30
add dword [rbx + 0x28], 8
add rdi, 8
jmp 0x140075a74
test r9b, r9b
je 0x140075a58
mov rax, qword [rcx + 0x3730]
jmp 0x140075a5f
mov rax, qword [rcx + 0x3728]
mov r8, qword [rcx + 8]
lea rdx, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.140075e90
mov esi, dword [rbx + 0x24]
add esi, 0xfffffff0
mov qword [rsp + 0x80], r14
mov dword [rbx + 0x24], esi
mov dword [rbx + 0x20], esi
sub esi, dword [rbx + 0x28]
cmp word [rbx + 0x1a78], r13w
jae 0x140075b12
mov rcx, qword [rbx + 8]
mov r14d, recvfrom
movzx edx, word [rbx + 0x1a78]
mov rax, rcx
shr rax, 0x38
mov byte [rbp - 9], al
mov rax, rcx
shr rax, 0x30
mov byte [rbp - 8], al
mov rax, rcx
shr rax, 0x28
mov byte [rbp - 7], al
mov rax, rcx
shr rax, 0x20
mov byte [rbp - 6], al
mov rax, rcx
shr rax, 0x18
mov byte [rbp - 5], al
mov rax, rcx
shr rax, 0x10
mov byte [rbp - 4], al
mov rax, rcx
shr rax, 8
mov byte [rbp - 3], al
movzx eax, byte [rbx + 0x61c0]
mov byte [rbp - 1], al
mov eax, edx
shr eax, 8
mov byte [rbp], al
mov eax, esi
shr eax, 8
mov byte [rbp + 2], al
mov byte [rbp - 2], cl
mov byte [rbp + 1], dl
mov byte [rbp + 3], sil
jmp 0x140075b2f
mov r14d, 5
lea r8, [rbx + 0x61c0]
mov r9d, r14d
lea rcx, [rbp - 9]
lea edx, [r14 + 8]
call fcn.140063dc0
mov rax, qword [rbx + 0x38]
lea r9, [rbp - 0x19]
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov r8d, esi
mov rdx, rdi
cmp byte [rax + 7], 2
movsxd rax, esi
jne 0x140075b7a
add rax, rdi
lea rcx, [rbx + 0x3eb0]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 9]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], recvfrom
call fcn.1400883d0
jmp 0x140075ba4
add rax, rdi
lea rcx, [rbx + 0x4500]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 9]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], recvfrom
call fcn.1400872f0
mov r14, qword [rsp + 0x80]
mov edx, eax
mov rsi, qword [rsp + 0xd0]
test eax, eax
jns 0x140075bbe
mov byte [r15], 1
cmp word [rbx + 0x1a78], r13w
mov r13, qword [rsp + 0x88]
jb 0x140075c14
cmp byte [r15], 0
jne 0x140075c14
test edx, edx
jle 0x140075c31
nop word [rax + rax]
lea eax, [rdx - 1]
movsxd rcx, eax
cmp byte [rcx + rdi], 0
jne 0x140075bf2
dec edx
test edx, edx
jg 0x140075be0
test edx, edx
jle 0x140075c31
mov ecx, dword [rbx + 0x28]
dec ecx
add ecx, edx
movsxd rax, ecx
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x24], ecx
movzx ecx, byte [rax + rbx + 0xa1c5]
mov byte [rbx + 0x61c0], cl
mov eax, edx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x90
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret
mov dword [r12], 0xa
mov eax, 0xffffffff
jmp 0x140075c16