Function at 0x1400104f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x78], rdx
xor r13d, r13d
lea rdi, [rcx + 0xf0]
cmp rdi, rdx
je 0x140010552
cmp qword [rdx + 0x18], 0xf
jbe 0x140010546
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140027260
lea rsi, [rdi + 0x18]
cmp qword [rsi], 0xf
jbe 0x14001055f
mov rdi, qword [rdi]
lea rdx, [r14 + 0x110]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov dword [r14 + 0x140], eax
test eax, eax
jne 0x140010934
movzx eax, word [r14 + 0x116]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x8000
cmp ax, cx
jne 0x140010934
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400105ad
mov rdi, qword [rbx]
mov r15, 0xffffffffffffffff
test rsi, rsi
je 0x140010607
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x32], 1
lea rax, [rsi - 1]
mov rcx, r15
cmp rax, r15
cmovb rcx, rax
add rcx, rdi
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x60], 0
jne 0x140010602
nop dword [rax]
cmp rcx, rdi
je 0x140010607
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x60], 0
je 0x1400105f0
sub rcx, rdi
jmp 0x14001060a
mov rcx, r15
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
cmp rsi, rcx
jb 0x1400109c9
sub rsi, rcx
cmp rsi, r15
cmovb r15, rsi
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001063c
mov rax, qword [rbx]
lea rdx, [rax + rcx]
mov r8, r15
lea rcx, [rbp - 0x80]
call fcn.140030010
nop
mov dword [r14], 0xc8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov r8d, dword [r14 + 0x124]
lea r9, [rbp + 0xb5]
test r8d, r8d
jns 0x1400106c0
neg r8d
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140010680
dec r9
mov byte [r9], 0x2d
jmp 0x1400106ea
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400106c0
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rsp + 0x58]
call fcn.14002ed90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Content_Length
lea rcx, [rsp + 0x20]
call fcn.140030010
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14000fb40
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x1400108f4
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
movabs r9, 0xcbf29ce484222325
mov rcx, r13
test r8, r8
je 0x140010793
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140010780
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
call fcn.140033ff0
mov rcx, qword [rax + 8]
mov rdx, qword [0x1400e7248]
test rcx, rcx
cmovne rdx, rcx
cmp rdx, qword [0x1400e7248]
je 0x1400107d1
add rdx, 0x30
lea rcx, [rbp + 0xa0]
call fcn.140024180
jmp 0x1400108b5
lea rcx, [rbp - 0x80]
call fcn.14000fc40
test al, al
je 0x1400107f3
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140024180
jmp 0x1400108b5
cmp dword [0x1400bc268], 2
jg 0x140010883
lea rcx, [rbp - 0x60]
call fcn.140023230
mov eax, 2
mov dword [rbp + 0x88], eax
mov ecx, dword [0x1400bc268]
cmp ecx, eax
jg 0x14001083a
lea rdx, str.Unable_to_interpret_mime_type_for_content_type_
lea rcx, [rbp - 0x60]
call fcn.14002e070
mov ecx, dword [0x1400bc268]
mov eax, dword [rbp + 0x88]
cmp eax, ecx
jl 0x14001087a
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.1400337e0
mov ecx, dword [0x1400bc268]
mov eax, dword [rbp + 0x88]
cmp eax, ecx
jl 0x14001087a
lea rdx, str.._Defaulting_to_text_plain.
lea rcx, [rbp - 0x60]
call fcn.14002e070
nop
lea rcx, [rbp - 0x60]
call fcn.14000eba0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r13
mov r8d, 0xa
lea rdx, str.text_plain
lea rcx, [rbp + 0xa0]
call fcn.140030010
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov r8d, listen
lea rdx, str.Content_Type
lea rcx, [rsp + 0x20]
call fcn.140030010
nop
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14000fb40
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140010952
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001092d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001092d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cc00
jmp 0x140010952
mov dword [r14], 0x194
lea rax, [r14 + 0xf0]
mov qword [rax + 0x10], r13
cmp qword [rsi], 0xf
jbe 0x14001094f
mov rax, qword [rax]
mov byte [rax], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140010988
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140010983
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400109c2
mov rcx, r8
call fcn.14008cc00
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14008cbe0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400289b0
nop
int3