Function at 0x140006830
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 [0x1400ddb80]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0x110], rdx
xor ebx, ebx
call fcn.140009be0
lea rcx, [rbp + 0x148]
call fcn.140017f00
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 0x140006830
nop
mov rdx, r15
mov rcx, rax
call fcn.14000a740
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.140005af0
nop
lea rdx, [rbp + 0x148]
mov rcx, rax
call fcn.14000a740
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.140005da0
nop
lea rdx, [r12 + 0x260]
mov rcx, rax
call fcn.14000a740
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.140005af0
nop
mov rdx, r12
mov rcx, rax
call fcn.14000a740
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.140005bf0
nop
lea rdx, [r12 + 0x20]
mov rcx, rax
call fcn.14000a740
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 0x14000610d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006108
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006108
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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 0x14000615d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006157
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14000619b
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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 0x1400061f0
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14000622e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006229
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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 0x14000627d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006277
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1400062c1
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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 0x140006319
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006313
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006313
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14000635d
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006358
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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.14000a880
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0xc8], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x20]
call fcn.14000a880
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 0x140006402
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14000647f
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006459
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000682a
mov rcx, rax
call fcn.140076ec4
mov rcx, rax
test rax, rax
je 0x140006452
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140006467
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140006465
call fcn.140076ec4
jmp 0x140006467
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.140009850
nop
call fcn.140009be0
xor r14d, r14d
mov qword [rbp + 0x108], r14
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x118]
call fcn.14000ba80
nop
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x38]
call fcn.14000a2c0
mov rdx, rax
mov rcx, r12
call fcn.1400046f0
movzx edx, byte [rbp + 0x118]
test dl, dl
jne 0x140006516
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b530
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
jmp 0x14000651d
mov rbx, qword [rbp + 0x120]
cmp dl, 1
jne 0x1400065c6
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.14000b2e0
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1400138f0
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400065a6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
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 0x1400065ca
mov rdi, qword [rbp - 0x60]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r14
cmp byte [rax], 0
je 0x1400066c9
test dl, dl
jne 0x140006606
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b530
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
cmp dl, 1
jne 0x1400066a7
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.14000b2e0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.1400138f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140006694
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000668f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000668f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
jmp 0x1400066ab
mov rbx, qword [rbp - 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.14000a2c0
mov rdx, rax
mov rcx, r12
call fcn.140003ed0
movzx edx, byte [rbp + 0x118]
lea rcx, [rbp + 0x120]
call fcn.14000ae20
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14000671a
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006715
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x140], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x128], 0
cmp r13, 0x10
jb 0x14000676e
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006765
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140076f00
nop
mov rdx, qword [rbp + 0x160]
cmp rdx, 0x10
jb 0x1400067b3
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400067e9
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400067e4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006823
mov rcx, r8
call fcn.140076f00
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.140077020
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.140002fe0
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 0x140006864
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140006850
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 0x140006899
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000b2e0
nop
cmp byte [rbx + 0xd], 0
je 0x1400068c3
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 0x1400068b0
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 0x1400068f8
mov r8d, ntohs
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b2e0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d2f0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000694c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006946
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000698c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076f00
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret