Function at 0x140006840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400deb80]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0x110], rdx
xor ebx, ebx
call fcn.140009bf0
lea rcx, [rbp + 0x148]
call fcn.140017f10
nop
mov dword [rsp + 0x48], 0x21c054f
mov dword [rsp + 0x4c], 0x14061c08
mov word [rsp + 0x50], Ordinal_79
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x40], 0x10a044f
mov dword [rsp + 0x44], 0x1005308
mov dword [rsp + 0x58], 0x1f0e194f
mov dword [rsp + 0x5c], 0x1e00071e
mov dword [rsp + 0x60], 0x4e1618
mov byte [rsp + 0x64], 1
mov dword [rsp + 0x38], 0x51c024f
mov dword [rsp + 0x3c], 0x1005309
mov dword [rsp + 0x30], 0x150e014f
mov word [rsp + 0x34], 0x50
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x68], 0x91b131d
mov dword [rsp + 0x6c], 0x13060250
mov dword [rsp + 0x70], 0x11001c14
mov word [rsp + 0x74], 0x100
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call 0x140006840
nop
mov rdx, r15
mov rcx, rax
call fcn.14000a750
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x38]
lea rdx, [rbp]
lea rcx, [rbp + 0x80]
call fcn.140005b00
nop
lea rdx, [rbp + 0x148]
mov rcx, rax
call fcn.14000a750
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x60]
call fcn.140005db0
nop
lea rdx, [r12 + 0x260]
mov rcx, rax
call fcn.14000a750
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140005b00
nop
mov rdx, r12
mov rcx, rax
call fcn.14000a750
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.140005c00
nop
lea rdx, [r12 + 0x20]
mov rcx, rax
call fcn.14000a750
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp + 0x168], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000611d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006118
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006118
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000616d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006167
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006167
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400061ab
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140006200
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14000623e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006239
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000628d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1400062d1
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140006329
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006323
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14000636d
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006368
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006368
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
lea rax, [rbp]
mov qword [rbp + 0xc0], rax
lea rdx, [r12 + 0xa0]
lea rcx, [rbp]
call fcn.14000a890
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0xc8], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x20]
call fcn.14000a890
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rdi, [rbp + 0x168]
mov rsi, qword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x38]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae rdi, rsi
movq r14, xmm1
cmp r14, 0x10
jae 0x140006412
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14000648f
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006469
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000683a
mov rcx, rax
call fcn.140076d64
mov rcx, rax
test rax, rax
je 0x140006462
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140006477
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140006475
call fcn.140076d64
jmp 0x140006477
xor eax, eax
mov qword [rsp + 0x78], rax
lea r8, [r14 + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rbx
mov r9, qword [rbp - 0x68]
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x128]
call fcn.140009860
nop
call fcn.140009bf0
xor r14d, r14d
mov qword [rbp + 0x108], r14
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x118]
call fcn.14000ba90
nop
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x38]
call fcn.14000a2d0
mov rdx, rax
mov rcx, r12
call fcn.140004700
movzx edx, byte [rbp + 0x118]
test dl, dl
jne 0x140006526
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b540
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
jmp 0x14000652d
mov rbx, qword [rbp + 0x120]
cmp dl, 1
jne 0x1400065d6
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x58]
call fcn.14000b2f0
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140013900
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400065b6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rbx, qword [rbp + 0x120]
movzx edx, byte [rbp + 0x118]
jmp 0x1400065da
mov rdi, qword [rbp - 0x60]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r14
cmp byte [rax], 0
je 0x1400066d9
test dl, dl
jne 0x140006616
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b540
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
cmp dl, 1
jne 0x1400066b7
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov r8d, 4
lea rdx, str.info
lea rcx, [rsp + 0x78]
call fcn.14000b2f0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.140013900
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400066a4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000669f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000669f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
jmp 0x1400066bb
mov rbx, qword [rbp - 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.14000a2d0
mov rdx, rax
mov rcx, r12
call fcn.140003ee0
movzx edx, byte [rbp + 0x118]
lea rcx, [rbp + 0x120]
call fcn.14000ae30
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14000672a
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x140], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x128], 0
cmp r13, 0x10
jb 0x14000677e
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006775
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006775
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140076da0
nop
mov rdx, qword [rbp + 0x160]
cmp rdx, 0x10
jb 0x1400067c3
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400067f9
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400067f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006833
mov rcx, r8
call fcn.140076da0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.140076ec0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002ff0
nop
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140006874
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140006860
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400068a9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000b2f0
nop
cmp byte [rbx + 0xd], 0
je 0x1400068d3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rbx + rcx], al
inc rcx
cmp rcx, 0xc
jb 0x1400068c0
mov byte [rbx + 0xd], 0
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140006908
mov r8d, recvfrom
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b2f0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d300
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000695c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006956
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006956
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000699c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006997
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076da0
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret