Function at 0x140112260
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r9
mov rsi, r8
mov r15, rcx
lea rbx, [rbp - 0x20]
mov rcx, rbx
call fcn.140112e10
mov rcx, rsi
mov rdx, rbx
call fcn.140006b40
mov rdi, rax
cmp rax, qword [rsi]
je 0x1401122be
xorps xmm0, xmm0
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15], xmm0
mov rbx, qword [rdi + 0x50]
cmp qword [rdi + 0x58], 0x10
jb 0x1401122f0
mov rdi, qword [rdi + 0x40]
jmp 0x1401122f4
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1401127f7
cmp qword [rbp - 8], 0x10
jb 0x1401122d6
mov rbx, qword [rbp - 0x20]
lea rax, [rdx - 1]
mov ecx, edx
and ecx, 3
cmp rax, 3
jae 0x140112384
xor edi, edi
jmp 0x1401123d2
add rdi, 0x40
test rbx, rbx
js 0x140112aa2
cmp rbx, 0xf
ja 0x14011231b
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
jmp 0x140112802
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rbx
or rax, 0xf
cmp rax, 0x17
mov esi, reloc.WS2_32.dll_shutdown
cmovae rsi, rax
cmp rsi, 0xfff
jb 0x14011235a
lea rcx, [rsi + 0x28]
call fcn.140140ff0
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140112366
lea rcx, [rsi + 1]
call fcn.140140ff0
mov rcx, rax
mov qword [r15], rcx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rsi
inc rbx
mov rdx, rdi
mov r8, rbx
call fcn.14021e3b0
jmp 0x140112802
and rdx, 0xfffffffffffffffc
xor edi, edi
nop word [rax + rax]
mov eax, edi
shl eax, 5
add eax, edi
movzx edi, byte [rbx]
xor edi, eax
mov eax, edi
shl eax, 5
add eax, edi
movzx edi, byte [rbx + 1]
xor edi, eax
mov eax, edi
shl eax, 5
add eax, edi
movzx edi, byte [rbx + 2]
xor edi, eax
mov eax, edi
shl eax, 5
add eax, edi
and eax, 0x3ffffff
movzx edi, byte [rbx + 3]
xor edi, eax
add rbx, 4
add rdx, 0xfffffffffffffffc
jne 0x140112390
test rcx, rcx
je 0x1401123fa
xor edx, edx
nop dword [rax]
mov eax, edi
shl eax, 5
add eax, edi
and eax, 0x3ffffff
movzx edi, byte [rbx + rdx]
xor edi, eax
inc rdx
cmp rcx, rdx
jne 0x1401123e0
cmp edi, 0x1f163
jg 0x14011245e
cmp edi, 0x1d1b8
jg 0x1401124ba
cmp edi, 0x1a6de
jle 0x14011255a
cmp edi, 0x1c97c
jg 0x14011266a
cmp edi, 0x1a6df
je 0x140112a02
cmp edi, 0x1b0f1
je 0x1401128a2
cmp edi, 0x1b288
jne 0x1401127f7
lea rdx, [0x1402d796f]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x3dad1e
jg 0x14011250a
cmp edi, 0x371b37
jle 0x14011259e
cmp edi, 0x37cf7c
jg 0x14011269e
cmp edi, 0x371b38
je 0x140112a16
cmp edi, 0x372318
je 0x1401128fe
cmp edi, 0x372b57
jne 0x1401127f7
lea rdx, str.application_atomxml
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1dee5
jle 0x1401125e2
cmp edi, 0x1e25a
jg 0x1401126ef
cmp edi, 0x1dee6
je 0x140112a2a
cmp edi, 0x1e078
je 0x140112912
cmp edi, 0x1e147
jne 0x1401127f7
lea rdx, str.application_x_tar
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x409770
jle 0x140112626
cmp edi, 0x40c277
jg 0x140112727
cmp edi, 0x409771
je 0x140112a3e
cmp edi, 0x40977d
je 0x140112926
cmp edi, 0x40a648
jne 0x1401127f7
lea rdx, str.application_wasm
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0xdd8
jle 0x14011275f
cmp edi, 0xdd9
je 0x1401128cd
cmp edi, 0x1a2c3
je 0x1401129b2
cmp edi, 0x1a2c6
jne 0x1401127f7
lea rdx, str.text_csv
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1f57f
jle 0x140112788
cmp edi, 0x1f580
je 0x140112a7a
cmp edi, 0x1f7f6
je 0x1401129c6
cmp edi, 0x20a43
jne 0x1401127f7
lea rdx, str.application_zip
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1db33
jle 0x1401127ad
cmp edi, 0x1db34
je 0x1401128cd
cmp edi, 0x1de29
je 0x1401129da
cmp edi, 0x1de2e
jne 0x1401127f7
lea rdx, str.audio_mp3
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x3e2ddc
jle 0x1401127d2
cmp edi, 0x3e2ddd
je 0x140112a8e
cmp edi, 0x3ff093
je 0x1401129ee
cmp edi, 0x409760
jne 0x1401127f7
lea rdx, str.image_webp
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1c97d
je 0x1401126c2
cmp edi, 0x1cb45
je 0x14011293a
cmp edi, 0x1d0f2
jne 0x1401127f7
lea rdx, [0x1402d79b0]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x37cf7d
je 0x1401128a2
cmp edi, 0x3adb38
je 0x14011294e
cmp edi, 0x3af938
jne 0x1401127f7
movaps xmm0, xmmword [0x140259080]
movups xmmword [r15 + 8], xmm0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
movabs rax, 0x706a2f6567616d69
mov qword [r15], rax
mov word [r15 + 8], 0x6765
jmp 0x140112802
cmp edi, 0x1e25b
je 0x140112a52
cmp edi, 0x1e322
je 0x140112962
cmp edi, 0x1e692
jne 0x1401127f7
lea rdx, str.application_rssxml
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x40c278
je 0x140112a66
cmp edi, 0x43cec5
je 0x140112851
cmp edi, 0x59114a
jne 0x1401127f7
lea rdx, str.font_woff2
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x76d
je 0x140112976
cmp edi, 0xd3d
jne 0x1401127f7
lea rdx, str.application_gzip
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1f164
je 0x140112851
cmp edi, 0x1f1d9
jne 0x1401127f7
lea rdx, [0x1402d7248]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x1d1b9
je 0x14011298a
cmp edi, 0x1d5fd
jne 0x1401127f7
lea rdx, str.font_otf
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
cmp edi, 0x3dad1f
je 0x14011299e
cmp edi, 0x3daddb
jne 0x1401127f7
lea rdx, str.audio_mpeg
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
mov rcx, r15
mov rdx, r14
call fcn.14000bc90
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140112841
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14011283c
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140112aa7
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.140141034
mov rax, r15
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140140ff0
mov qword [r15], rax
movaps xmm0, xmmword [reloc.WS2_32.dll_setsockopt]
movups xmmword [r15 + 0x10], xmm0
movups xmm0, xmmword [str.application_xhtmlxml]
movups xmmword [rax], xmm0
movabs rcx, 0x6c6d782b6c6d7468
mov qword [rax + 0xd], rcx
mov byte [rax + 0x15], 0
jmp 0x140112802
movaps xmm0, xmmword [0x14025e970]
movups xmmword [r15 + 8], xmm0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
movabs rax, 0x6d74682f74786574
mov qword [r15], rax
mov byte [r15 + 8], WSASetLastError
jmp 0x140112802
movaps xmm0, xmmword [reloc.WS2_32.dll_ntohs]
movups xmmword [r15 + 0x10], xmm0
movabs rax, 0x76616a2f74786574
mov qword [r15], rax
movabs rax, 0x7470697263736176
mov qword [r15 + 7], rax
mov byte [r15 + 0xf], 0
jmp 0x140112802
lea rdx, str.image_avif
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, [0x1402d6d53]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.video_webm
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.image_x_icon
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.application_json
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, [0x1402d72ac]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.application_x_7z_compressed
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, [0x1402d76aa]
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.video_mpeg
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.text_css
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.text_vtt
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.video_mp4
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.application_xsltxml
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.image_bmp
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.image_apng
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.font_ttf
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.audio_webm
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.image_tiff
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.font_woff
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.audio_wave
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
lea rdx, str.image_tiff
mov rcx, r15
call fcn.140001af0
jmp 0x140112802
call fcn.1400026a0
call fcn.140231990
int3