Function at 0x14003d070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1400a45f8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r13, qword [rbp + 0xb0]
mov rax, r8
movzx r15d, word [rbp + 0xb8]
mov r12, r9
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov qword [rsp + 0x68], rax
mov word [rsp + 0x5c], dx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rcx
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], ecx
test r8, r8
jne 0x14003d107
lea eax, [rcx + 0x10]
jmp 0x14003d457
cmp r15w, 0x38
jbe 0x14003d118
mov eax, reloc.WSOCK32.dll_sendto
jmp 0x14003d457
mov qword [rsp + 0x160], rbx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x158], rsi
movzx r8d, r15w
mov qword [rsp + 0x150], rdi
mov rcx, rax
mov qword [rsp + 0x148], r14
call fcn.140029530
movzx ebx, r15w
test bl, 3
je 0x14003d18d
mov eax, ebx
mov r9d, 4
and eax, 3
sub r9, rax
je 0x14003d187
mov r8d, ebx
mov edx, ebx
neg r8d
nop word [rax + rax]
cmp edx, 0x38
jae 0x14003d17c
mov eax, edx
mov byte [rsp + rax + 0x70], 0xa5
inc edx
lea ecx, [r8 + rdx]
cmp rcx, r9
jb 0x14003d170
and ebx, 0xfffffffc
add ebx, 4
mov rdi, qword [rsp + 0x70]
lea rdx, [rsp + 0x74]
mov rsi, qword [rsp + 0x71]
mov rax, qword [rsp + 0x72]
mov r14, qword [rsp + 0x73]
mov byte [rbp - 0x20], dil
mov byte [rbp - 0x1f], sil
mov byte [rbp - 0x1e], al
mov byte [rbp - 0x1d], r14b
cmp ebx, 4
jbe 0x14003d212
lea ecx, [rbx + 2]
mov r11d, ebx
sub r11, rcx
lea r8, [rbp - 0x20]
add r8, rcx
lea r9d, [rbx + 1]
sub r9, rcx
lea r10d, [rbx + 3]
sub r10, rcx
lea ecx, [rbx - 5]
shr ecx, 2
inc ecx
movzx eax, byte [rdx]
lea rdx, [rdx + 4]
mov byte [r11 + r8 - 4], al
sub r8, 4
movzx eax, byte [rdx - 3]
mov byte [r9 + r8], al
movzx eax, byte [rdx - 2]
mov byte [r8], al
movzx eax, byte [rdx - 1]
mov byte [r10 + r8], al
sub rcx, 1
jne 0x14003d1e0
mov rax, qword [rsp + 0x72]
movzx r8d, word [rsp + 0x5c]
xor edx, edx
movzx r14d, r14b
mov ecx, 0xff
shl r14d, 8
movzx eax, al
or r14d, eax
mov dword [rsp + 0x58], ebx
shl r14d, 8
movzx eax, sil
or r14d, eax
movzx eax, dil
shl r14d, 8
or r14d, eax
mov eax, ebx
cmp ebx, 4
seta dl
add edx, 0x12
cmp r8w, cx
jbe 0x14003d281
movzx ecx, r8w
lea eax, [rbx + 1]
shr cx, 8
mov edx, 0x27
mov byte [rbp + rbx - 0x20], cl
cmp eax, 0x50
jae 0x14003d472
mov byte [rbp + rax - 0x20], 0
lea eax, [rbx + 2]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x58]
movzx r8d, r8b
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov dword [rsp + 0x38], ebx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.14003ce00
mov r9d, dword [rsp + 0x58]
lea r8, [rbp - 0x58]
movzx edi, ax
cmp r9d, 4
jb 0x14003d341
lea edx, [r9 + 3]
mov esi, r9d
lea rcx, [rbp - 0x20]
lea r11, [rbp - 0x20]
add r11, rdx
lea r10, [rbp - 0x20]
lea edx, [r9 + 2]
add r10, r9
add rdx, rcx
lea eax, [r9 + 1]
lea rcx, [rbp - 0x20]
add rcx, rax
shr rsi, 2
nop dword [rax + rax]
movzx eax, byte [r10 - 4]
lea r10, [r10 - 4]
mov byte [r8], al
lea rcx, [rcx - 4]
movzx eax, byte [rcx]
lea rdx, [rdx - 4]
mov byte [r8 + 1], al
lea r11, [r11 - 4]
movzx eax, byte [rdx]
add r9d, 0xfffffffc
mov byte [r8 + 2], al
lea r8, [r8 + 4]
movzx eax, byte [r11]
mov byte [r8 - 1], al
sub rsi, 1
jne 0x14003d300
mov dword [rsp + 0x58], r9d
movzx eax, byte [rbp - 0x56]
movzx ecx, byte [rbp - 0x55]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x57]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x58]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x50], ecx
test dil, dil
jne 0x14003d3ce
lea eax, [r14 + r14]
xor eax, ecx
je 0x14003d3ce
test r12, r12
je 0x14003d386
movzx r8d, r15w
lea rcx, [rbp - 0x58]
mov rdx, r12
call fcn.140029530
test r13, r13
je 0x14003d434
lea eax, [rbx - 4]
cmp eax, 0x34
ja 0x14003d434
mov r8d, 4
lea rcx, [rbp + rbx - 0x5c]
lea rdx, [rsp + 0x50]
call fcn.140029530
movzx eax, word [rsp + 0x52]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x54]
mov dword [r13], eax
jmp 0x14003d434
mov eax, 3
cmp ax, di
je 0x14003d437
test r12, r12
je 0x14003d3ee
mov rcx, qword [rsp + 0x68]
movzx r8d, r15w
mov rdx, r12
call fcn.140029530
test r13, r13
je 0x14003d42c
lea eax, [rbx - 4]
cmp eax, 0x34
ja 0x14003d42c
mov r8d, 4
lea rcx, [rsp + rbx + 0x6c]
lea rdx, [rsp + 0x50]
call fcn.140029530
movzx eax, word [rsp + 0x52]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x54]
mov dword [r13], eax
cmp di, 2
jne 0x14003d434
xor edi, edi
movzx eax, di
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x160]
mov r14, qword [rsp + 0x148]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140077b10
add rsp, 0x168
pop r15
pop r13
pop r12
pop rbp
ret
call fcn.1400780b4
int3