Function at 0x140036fc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x118
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov rax, qword [0x140480c38]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x28], r9
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov r14, qword [rbp + 0x80]
xor ebx, ebx
lea rcx, [rbp - 0x80]
call fcn.140026b50
nop
movsd xmm0, qword [str.eBWA]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401fdcc8]
mov dword [rsp + 0x38], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rsp + 0x3c], al
mov r8d, ebx
lea eax, [rbx + 1]
lea ecx, [rbx + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x140037155
movdqa xmm4, xmmword [0x1402017c0]
movd xmm6, eax
movd xmm5, ecx
movdqa xmm2, xmmword [0x140201780]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1402017a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1402017d0]
movd xmm0, dword [str.eBWA]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140201790]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1402017a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1402017d0]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140037160
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400371b0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400050f0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140016de0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
xor ecx, ecx
call fcn.1400537e0
mov r13, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140037272
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003726d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003726d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
movdqa xmm0, xmmword [0x1401fc100]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400372c5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400372c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400372c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
movdqa xmm0, xmmword [0x1401fc100]
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x1401fdcd0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1401fdcf0]
movups xmm1, xmmword [0x1401fdce0]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov byte [rsp + 0x60], 0
cmp esi, 2
jl 0x140037451
movdqa xmm5, xmmword [0x140201780]
mov edx, ebx
movdqa xmm4, xmmword [0x1402017c0]
mov eax, 1
movd xmm6, eax
movdqa xmm7, xmmword [0x1402017a0]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [0x1402017d0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x5c]
mov r8d, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x30
jl 0x140037350
jmp 0x14003748f
lea r9, [rbp - 0x60]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x30
jl 0x140037460
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.1400537e0
mov r9, rax
mov eax, dword [str.___n]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401fdd14]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1401fdd16]
movups xmm0, xmmword [0x1401fdd00]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
cmp esi, 2
jl 0x140037624
movdqa xmm5, xmmword [0x140201780]
movdqa xmm4, xmmword [0x1402017c0]
mov eax, 1
movd xmm6, eax
movdqa xmm7, xmmword [0x1402017a0]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [0x1402017d0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140037520
cmp eax, 0x17
jge 0x14003765b
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140037630
lea rdx, [rsp + 0x40]
mov rcx, r9
call fcn.1400537e0
mov rsi, rax
mov r8, rax
mov edx, 0x2727
mov rcx, rdi
call fcn.140055ea0
cmp qword [r15 + 0x18], 0x10
jb 0x140037685
mov r15, qword [r15]
mov r8, r15
mov edx, 0x2712
mov rcx, rdi
call fcn.140055ea0
cmp qword [r12 + 0x18], 0x10
jb 0x1400376a1
mov r12, qword [r12]
mov r8, r12
mov edx, 0x271f
mov rcx, rdi
call fcn.140055ea0
lea r8, [0x140015df0]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140055ea0
mov r8, qword [rsp + 0x28]
mov edx, 0x2711
mov rcx, rdi
call fcn.140055ea0
cmp qword [r14 + 0x18], 0x10
jb 0x1400376e1
mov r14, qword [r14]
mov r8, r14
mov edx, 0x2714
mov rcx, rdi
call fcn.140055ea0
mov ecx, dword [rbp + 0x88]
sub ecx, 1
je 0x14003772a
sub ecx, 1
je 0x140037717
cmp ecx, 1
jne 0x140037739
lea edx, [rcx + 0x64]
lea r8d, [rcx + 4]
mov rcx, rdi
call fcn.140055ea0
jmp 0x140037739
mov edx, 0x65
lea r8d, [rdx - 0x61]
mov rcx, rdi
call fcn.140055ea0
jmp 0x140037739
xor r8d, r8d
lea edx, [r8 + 0x65]
mov rcx, rdi
call fcn.140055ea0
mov rcx, rdi
call fcn.140053510
mov ebx, eax
mov rcx, rsi
call fcn.140053880
test ebx, ebx
je 0x140037755
inc dword [0x14060b51c]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140037793
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003778e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003778e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400b7590
lea r11, [rsp + 0x118]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret