Function at 0x140006470
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 [0x1400d7b80]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0x110], rdx
xor ebx, ebx
call fcn.140009820
lea rcx, [rbp + 0x148]
call fcn.140017b30
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 0x140006470
nop
mov rdx, r15
mov rcx, rax
call fcn.14000a380
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.140005730
nop
lea rdx, [rbp + 0x148]
mov rcx, rax
call fcn.14000a380
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.1400059e0
nop
lea rdx, [r12 + 0x260]
mov rcx, rax
call fcn.14000a380
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.140005730
nop
mov rdx, r12
mov rcx, rax
call fcn.14000a380
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.140005830
nop
lea rdx, [r12 + 0x20]
mov rcx, rax
call fcn.14000a380
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 0x140005d4d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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 0x140005d9d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140005ddb
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005dd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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 0x140005e30
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140005e6e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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 0x140005ebd
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005eb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005eb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140005f01
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005efc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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 0x140005f59
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140005f9d
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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.14000a4c0
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0xc8], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x20]
call fcn.14000a4c0
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 0x140006042
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400060bf
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006099
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000646a
mov rcx, rax
call fcn.140073224
mov rcx, rax
test rax, rax
je 0x140006092
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400060a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400060a5
call fcn.140073224
jmp 0x1400060a7
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.140009490
nop
call fcn.140009820
xor r14d, r14d
mov qword [rbp + 0x108], r14
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x118]
call fcn.14000b6c0
nop
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x38]
call fcn.140009f00
mov rdx, rax
mov rcx, r12
call fcn.140004330
movzx edx, byte [rbp + 0x118]
test dl, dl
jne 0x140006156
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b170
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
jmp 0x14000615d
mov rbx, qword [rbp + 0x120]
cmp dl, 1
jne 0x140006206
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.14000af20
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140013520
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400061e6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
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 0x14000620a
mov rdi, qword [rbp - 0x60]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r14
cmp byte [rax], 0
je 0x140006309
test dl, dl
jne 0x140006246
mov byte [rbp + 0x118], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000b170
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0x120], rbx
movzx edx, byte [rbp + 0x118]
cmp dl, 1
jne 0x1400062e7
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.14000af20
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.140013520
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400062d4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
jmp 0x1400062eb
mov rbx, qword [rbp - 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140009f00
mov rdx, rax
mov rcx, r12
call fcn.140003b10
movzx edx, byte [rbp + 0x118]
lea rcx, [rbp + 0x120]
call fcn.14000aa60
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14000635a
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006355
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006355
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x140], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x128], 0
cmp r13, 0x10
jb 0x1400063ae
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400063a5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140073260
nop
mov rdx, qword [rbp + 0x160]
cmp rdx, 0x10
jb 0x1400063f3
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140006429
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140006424
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006463
mov rcx, r8
call fcn.140073260
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.140073380
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.140002c20
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 0x1400064a4
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140006490
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 0x1400064d9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000af20
nop
cmp byte [rbx + 0xd], 0
je 0x140006503
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 0x1400064f0
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 0x140006538
mov r8d, ntohs
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000af20
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000cf30
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000658c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006586
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006586
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400065cc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073260
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret