Function at 0x140043530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400af210]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r14d, r14d
lea rsi, [rcx + 0x3c]
lea rax, [rbp - 0x50]
mov r8, rdx
mov rbx, rcx
lea edi, [r14 + 2]
cmp rax, rsi
ja 0x14004357b
lea rax, [rbp - 0x14]
cmp rax, rcx
jae 0x14004358f
lea rax, [rsp + 0x20]
cmp rax, rsi
ja 0x1400435d4
lea rax, [rsp + 0x5c]
cmp rax, rbx
jb 0x1400435d4
lea rax, [rsp + 0x20]
mov r10, rbx
sub r8, rax
mov rdx, r14
lea rax, [rsp + 0x20]
mov r9d, reloc.WS2_32.dll_recv
sub r10, rax
nop dword [rax + rax]
lea rax, [rsp + 0x20]
add rax, rdx
mov ecx, dword [r8 + rax]
mov dword [rax], ecx
mov eax, dword [r10 + rax]
xor eax, ecx
mov dword [rbp + rdx - 0x50], eax
add rdx, 4
sub r9, 1
jne 0x1400435b0
jmp 0x140043645
lea r10, [rsp + 0x20]
add rcx, 0x10
lea r11, [rbp - 0x50]
sub r10, rbx
lea rdx, [rsp + 0x20]
sub r11, rbx
sub rdx, rbx
lea r9, [rbp - 0x50]
sub r8, rbx
mov rax, rdi
sub r9, rbx
nop dword [rax]
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmmword [r10 + rcx - 0x10], xmm1
lea rcx, [rcx + 0x20]
pxor xmm0, xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmmword [r11 + rcx - 0x30], xmm0
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmmword [rdx + rcx - 0x20], xmm1
pxor xmm1, xmm0
movdqu xmmword [r9 + rcx - 0x20], xmm1
sub rax, 1
jne 0x140043600
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140044640
mov r8d, 0x1000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140044640
mov r8d, 0x2000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140044640
mov r8d, 0x3000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140044640
mov r8d, 0x4000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140044640
mov r8d, 0x5000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140044640
mov r8d, 0x6000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140044640
mov r8d, 0x7000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140044640
mov r8d, 0x8000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140044640
mov r8d, 0x9000000
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.140044640
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140043c80
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140043c80
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140043c80
mov r8d, 3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140043c80
mov r8d, 4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140043c80
mov r8d, 5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140043c80
mov r8d, 6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140043c80
mov r8d, 7
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140043c80
mov r8d, 8
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140043c80
mov r8d, 9
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140043c80
lea rax, [rbp - 0x14]
cmp rbx, rax
ja 0x1400437f3
lea rax, [rbp - 0x50]
cmp rsi, rax
jae 0x140043877
lea rax, [rbp + 0x3c]
cmp rbx, rax
ja 0x140043805
lea rax, [rbp]
cmp rsi, rax
jae 0x140043877
lea r8, [rbp]
mov r14d, reloc.WS2_32.dll_recv
lea r9, [rbp - 0x50]
sub r8, rbx
lea rcx, [rbp]
sub r9, rbx
sub rcx, rbx
lea rdx, [rbp - 0x50]
sub rdx, rbx
lea rax, [rbx + 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r8 + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rdx + rax - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x20], xmm2
sub rdi, 1
jne 0x140043830
movsxd rcx, r14d
cmp rcx, 0x10
jge 0x1400438a5
lea rcx, [rcx*4]
nop dword [rax + rax]
mov eax, dword [rbp + rcx]
xor eax, dword [rbp + rcx - 0x50]
xor dword [rcx + rbx], eax
add rcx, 4
cmp rcx, 0x40
jl 0x140043890
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140052350
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret