Function at 0x140043a70
Capabilities:
Encode data using xor

Disassembly:
push rsi
push r12
sub rsp, 0x48
mov rsi, rcx
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x80]
lea r10, [r9 - 0x60]
mov r12, r8
lea rax, [rcx + rcx*2]
shl rax, 5
add r10, rax
mov qword [rsp + 0x70], r10
test rcx, rcx
je 0x140043d28
mov qword [rsp + 0x60], rbx
lea r8, [rsi + 0x10]
mov qword [rsp + 0x40], rbp
lea rbx, [rdx + 0x58]
mov qword [rsp + 0x38], rdi
lea rbp, [r10 + 0x58]
mov qword [rsp + 0x30], r13
mov r9, 0xffffffffffffff98
sub r9, rsi
mov qword [rsp + 0x20], r15
mov rdi, 0xffffffffffffffa8
mov qword [rsp + 0x28], r14
sub r12, rdx
mov qword [rsp + 0x78], r9
sub rdi, rsi
lea r13, [rsi + 0x58]
lea rcx, [r12 + rbx]
cmp rsi, rcx
ja 0x140043b0b
lea rax, [r12 - 0x58]
add rax, rbx
cmp r13, rax
jae 0x140043b2f
cmp rsi, rbx
ja 0x140043b19
lea rax, [rbx - 0x58]
cmp r13, rax
jae 0x140043b2f
lea r15, [r12 - 0x58]
add r15, rbx
cmp r15, rbx
ja 0x140043b6d
lea rax, [rbx - 0x58]
cmp rcx, rax
jb 0x140043b6d
lea r15, [r12 - 0x58]
mov rdx, rsi
add r15, rbx
lea r14, [rbx - 0x58]
mov r9, r15
mov r8d, reloc.WS2_32.dll_inet_ntoa
sub r9, r14
nop word [rax + rax]
lea rcx, [rdi + rbx]
add rcx, rdx
mov rax, qword [rcx + r9]
add rax, qword [rcx]
xor qword [rdx], rax
add rdx, 8
sub r8, 1
jne 0x140043b50
jmp 0x140043bdc
mov rdx, r8
lea r14, [rbx - 0x58]
mov r8, r15
mov r10d, 3
sub r8, r14
add r9, rbx
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [r9 + rdx]
lea rax, [r9 + r12]
movdqu xmm1, xmmword [rax + rdx]
lea rcx, [rdi + rbx]
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 [rcx + r8]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx]
pxor xmm1, xmm0
movdqu xmmword [rdx], xmm1
add rdx, 0x20
sub r10, 1
jne 0x140043b90
mov rcx, rsi
call fcn.140043530
cmp rsi, rbx
ja 0x140043bf2
cmp r13, r14
jae 0x140043d30
mov r10, qword [rsp + 0x70]
cmp rsi, rbp
ja 0x140043c05
cmp r13, r10
jae 0x140043d35
cmp r10, rbx
ja 0x140043c13
cmp rbp, r14
jae 0x140043d35
mov r9, qword [rsp + 0x78]
lea rcx, [rsi + 0x10]
mov edx, 3
lea r8, [r9 + rbx]
nop word [rax + rax]
lea rax, [r9 + rbp]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x20], xmm1
lea rax, [rdi + rbx]
movdqu xmm1, xmmword [rax + rcx - 0x20]
lea rax, [rdi + rbp]
movdqu xmm0, xmmword [rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x20], xmm1
sub rdx, 1
jne 0x140043c30
mov rax, qword [r13]
lea r8, [rsi + 0x10]
xor qword [r15], rax
sub r10, 0x60
mov rax, qword [rsi]
sub rbp, 0x60
xor qword [r12 + rbx - 0x50], rax
mov rax, qword [rsi + 8]
xor qword [rbx + r12 - 0x48], rax
mov rax, qword [r8]
xor qword [rbx + r12 - 0x40], rax
mov rax, qword [rsi + 0x18]
xor qword [rbx + r12 - 0x38], rax
mov rax, qword [rsi + 0x20]
xor qword [rbx + r12 - 0x30], rax
mov rax, qword [rsi + 0x28]
xor qword [rbx + r12 - 0x28], rax
mov rax, qword [rsi + 0x30]
xor qword [rbx + r12 - 0x20], rax
mov rax, qword [rsi + 0x38]
xor qword [rbx + r12 - 0x18], rax
mov rax, qword [rsi + 0x40]
xor qword [rbx + r12 - 0x10], rax
mov rax, qword [rsi + 0x48]
xor qword [rbx + r12 - 8], rax
mov r11d, dword [rsp + 0x68]
mov rax, qword [rsi + 0x50]
inc r11d
xor qword [r12 + rbx], rax
add rbx, 0x60
movsxd rax, r11d
mov qword [rsp + 0x70], r10
mov dword [rsp + 0x68], r11d
cmp rax, qword [rsp + 0x80]
jb 0x140043af5
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop r12
pop rsi
ret
mov r10, qword [rsp + 0x70]
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
nop
lea rax, [rdi + rbx]
mov rcx, qword [rax + rdx]
lea rax, [rdi + rbp]
xor rcx, qword [rdx]
mov qword [rax + rdx], rcx
lea rdx, [rdx + 8]
sub r8, 1
jne 0x140043d40
mov r9, qword [rsp + 0x78]
jmp 0x140043c70