Function at 0x140042790
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r13
sub rsp, 0x58
cmp qword [rsp + 0x90], 0
mov r13, r8
mov r8, rdx
mov dword [rsp + 0x80], 0
mov rdi, rcx
jbe 0x140042a36
mov qword [rsp + 0x70], rbx
lea rdx, [rcx + 0x10]
mov qword [rsp + 0x50], rbp
lea rbx, [r9 + 0x58]
mov qword [rsp + 0x48], rsi
mov rax, r13
mov qword [rsp + 0x40], r12
sub rax, rcx
sub rax, r9
mov qword [rsp + 0x38], r14
mov r10, r8
mov qword [rsp + 0x30], r15
sub r10, rcx
lea r12, [rcx + 0x58]
sub r10, r9
sub r8, r9
add r10, 0xffffffffffffff98
mov qword [rsp + 0x78], r8
mov rsi, rcx
mov qword [rsp + 0x88], r10
lea r11, [rax - 0x68]
sub rsi, r9
mov qword [rsp + 0x20], r11
lea r14, [rax - 0x58]
sub r13, r9
lea r15, [rbx + r13]
cmp rdi, r15
ja 0x140042836
lea rax, [r13 - 0x58]
add rax, rbx
cmp r12, rax
jae 0x140042863
lea rcx, [r8 + rbx]
cmp rdi, rcx
ja 0x14004284b
lea rax, [r8 - 0x58]
add rax, rbx
cmp r12, rax
jae 0x140042863
lea rbp, [r13 - 0x58]
add rbp, rbx
cmp rbp, rcx
ja 0x14004289f
lea rax, [r8 - 0x58]
add rax, rbx
cmp r15, rax
jb 0x14004289f
lea rbp, [r13 - 0x58]
mov r9, rbx
add rbp, rbx
mov rdx, rdi
sub r9, rbp
add r9, r8
mov r8d, reloc.WS2_32.dll_inet_ntoa
nop dword [rax]
lea rcx, [rbx + rdx]
add rcx, r14
lea rdx, [rdx + 8]
mov rax, qword [r9 + rcx - 0x58]
add rax, qword [rcx]
xor qword [rdx - 8], rax
sub r8, 1
jne 0x140042880
jmp 0x140042900
mov r9, rbx
sub r9, rbp
add r9, r8
mov r8d, 3
nop
lea rax, [rbx + r11]
movdqu xmm1, xmmword [rax + rdx]
lea rax, [r10 + rbx]
movdqu xmm0, xmmword [rax + rdx]
lea rcx, [rbx + r14]
add rcx, rdx
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x10], xmm1
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [r9 + rcx - 0x58]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx]
pxor xmm1, xmm0
movdqu xmmword [rdx], xmm1
add rdx, 0x20
sub r8, 1
jne 0x1400428b0
mov rcx, rdi
call fcn.140041f50
cmp rdi, rbx
ja 0x140042933
lea rax, [rbx - 0x58]
cmp r12, rax
jb 0x140042933
mov edx, reloc.WS2_32.dll_inet_ntoa
nop dword [rax + rax]
mov rcx, qword [rsi + rax]
xor qword [rax], rcx
lea rax, [rax + 8]
sub rdx, 1
jne 0x140042920
jmp 0x140042972
lea rax, [rbx - 0x48]
mov ecx, 3
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rsi + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm2, xmmword [rsi + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x20], xmm2
sub rcx, 1
jne 0x140042940
mov rax, qword [r12]
lea rdx, [rdi + 0x10]
xor qword [rbp], rax
sub rsi, 0x60
mov rax, qword [rdi]
xor qword [rbx + r13 - 0x50], rax
mov rax, qword [rdi + 8]
xor qword [rbx + r13 - 0x48], rax
mov rax, qword [rdx]
xor qword [rbx + r13 - 0x40], rax
mov rax, qword [rdi + 0x18]
xor qword [rbx + r13 - 0x38], rax
mov rax, qword [rdi + 0x20]
xor qword [rbx + r13 - 0x30], rax
mov rax, qword [rdi + 0x28]
xor qword [rbx + r13 - 0x28], rax
mov rax, qword [rdi + 0x30]
xor qword [rbx + r13 - 0x20], rax
mov rax, qword [rdi + 0x38]
xor qword [rbx + r13 - 0x18], rax
mov rax, qword [rdi + 0x40]
xor qword [rbx + r13 - 0x10], rax
mov rax, qword [rdi + 0x48]
xor qword [rbx + r13 - 8], rax
add rbx, 0x60
mov ecx, dword [rsp + 0x80]
mov rax, qword [rdi + 0x50]
inc ecx
xor qword [r15], rax
mov r8, qword [rsp + 0x78]
mov r10, qword [rsp + 0x88]
mov r11, qword [rsp + 0x20]
movsxd rax, ecx
mov dword [rsp + 0x80], ecx
cmp rax, qword [rsp + 0x90]
jb 0x140042821
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop r13
pop rdi
ret