Function at 0x140011780
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
sub rsp, 0x38
movzx eax, word [0x140100d58]
mov word [rsp + 0x40], ax
movzx eax, byte [0x140100d5a]
xor byte [rsp + 0x41], 0x34
xor al, 0x35
cmp byte [0x140101587], 0
mov byte [rsp + 0x42], al
mov rax, qword [0x140101580]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0x77
je 0x14001168f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140011659
movdqa xmm2, xmmword [0x140106bb0]
mov eax, 5
movdqa xmm3, xmmword [0x140106bc0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140107100]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x20], xmm6
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140106c00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140106c70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x48], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140106c00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x4c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140106c70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
jmp 0x14001168f
lea r8, [rsp + 0x48]
nop
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140011660
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [0x14016a170]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov r9, qword [0x14016a170]
test r9, r9
je 0x1400116dc
mov edx, 0x100
lea rcx, [0x14016a070]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x14016a170]
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add rsp, 0x38
ret
sub rsp, 0x128
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14016a070]
mov edx, 2
lea rax, [rsp + 0x20]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140011720
add rsp, 0x128
jmp 0x1400114f0
sub rsp, 0x38
movzx eax, word [0x140101740]
mov word [rsp + 0x40], ax
movzx eax, byte [0x140101742]
xor byte [rsp + 0x41], 0x34
xor al, 0x35
cmp byte [0x140101587], 0
mov byte [rsp + 0x42], al
mov rax, qword [0x140101580]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], WSAStartup
je 0x14001191f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400118e9
movdqa xmm2, xmmword [0x140106bb0]
mov eax, 5
movdqa xmm3, xmmword [0x140106bc0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140107100]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x20], xmm6
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140106c00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140106c70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x48], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140106c00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x4c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140106c70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
jmp 0x14001191f
lea r8, [rsp + 0x48]
nop
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x1400118f0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [0x14016a170]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x14016a170]
test rcx, rcx
je 0x1400119ab
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [0x14016a170]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [0x14016a170]
cmp eax, 0x100
jne 0x1400119a5
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x14016a170]
lea rcx, [0x14016a070]
mov edx, 0x100
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [0x14016a170]
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add rsp, 0x38
jmp 0x1400116f0