Function at 0x140055440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor r15d, r15d
mov eax, dword [0x1401888c8]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401888cc]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], WSAGetLastError
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x36
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1400554e0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140016340
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.14007a9e0
mov qword [rbp + 0x18], r15
lea rdx, [rbp - 0x18]
call fcn.14004fe80
nop
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14007a9e0
mov qword [rbp + 0x30], r15
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140077b10
mov qword [rbp + 0x90], r15
movsd xmm0, qword [str.E_QFBVUI:]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140188868]
mov word [rsp + 0x48], ax
cmp byte [0x140188869], 0
je 0x1400555a4
mov byte [rsp + 0x40], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x41], 0x32
xor byte [rsp + 0x42], 0x33
xor byte [rsp + 0x43], 0x34
xor byte [rsp + 0x44], 0x35
xor byte [rsp + 0x45], 0x36
xor byte [rsp + 0x46], 0x37
xor byte [rsp + 0x47], 0x38
xor byte [rsp + 0x48], 0x39
xor byte [rsp + 0x49], 0x3a
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400555c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140016340
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x48]
call fcn.14007a9e0
mov qword [rbp + 0x58], r15
lea rdx, [rbp + 0xd0]
call fcn.14004ded0
nop
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14007a9e0
mov qword [rbp + 0x70], r15
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x98]
call fcn.140077b10
mov qword [rbp + 0xa8], r15
mov rax, qword [str.GSAzT_R8_te]
mov qword [rsp + 0x30], rax
mov r12d, 5
lea r13d, [r12 + 0x1a]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14018892f], 0
je 0x1400557b3
cmp esi, 2
jl 0x14005576a
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140192830]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140192a30]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140192840]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140192a30]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1400557b3
lea r9, [rsp + 0x30]
mov r8d, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140055780
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400557d0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140016340
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.14007a9e0
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x50], 0
xor eax, eax
mov qword [rbp - 0x48], rax
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.14008b000
nop
mov qword [rbp - 0x40], r15
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.140077b10
mov qword [rbp + 0xc0], r15
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.140077b10
nop
lea r9, [fcn.140058940]
mov edx, Ordinal_26
lea r8d, [rdx - 0x15]
lea rcx, [rbp + 0x80]
call fcn.140129aac
nop
lea r9, [fcn.140058940]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x68]
call fcn.140129aac
nop
lea rcx, [rbp - 0x38]
call fcn.14000d220
nop
lea r9, [fcn.140058940]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x48]
call fcn.140129aac
nop
lea rcx, [rbp + 0xd0]
call fcn.14000d220
nop
lea rcx, [rsp + 0x50]
call fcn.14000d220
nop
lea r9, [fcn.140058940]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 8]
call fcn.140129aac
nop
lea rcx, [rbp - 0x18]
call fcn.14000d220
nop
lea rcx, [rsp + 0x70]
call fcn.14000d220
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1401927f0]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xf0]
call fcn.140077580
mov r14, rax
mov eax, dword [str.a__5]
mov dword [rsp + 0x30], eax
movzx ecx, byte [0x140188a94]
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor cl, 0x35
mov byte [rsp + 0x34], cl
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140055993
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140016340
nop
mov rax, qword [0x140188918]
mov qword [rsp + 0x30], rax
cmp byte [0x14018891f], 0
je 0x140055b0f
cmp esi, 2
jl 0x140055ad9
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140192830]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
mov eax, dword [0x140192a30]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140192840]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x140055b0f
lea r8, [rsp + 0x30]
mov ecx, r15d
mov eax, 0x8d3dcb09
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
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x140055ae1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140055b24
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140016340
nop
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x1401b0740]
call fcn.14004e660
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.14000d220
nop
lea rcx, [rsp + 0x50]
call fcn.14000d220
nop
lea rcx, [rbp - 0x18]
call fcn.14000d220
test bl, bl
je 0x140055bf9
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x18]
call fcn.14000f0d0
mov rbx, rax
mov qword [rbp + 0x40], r15
lea r8, [rbp + 8]
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x38]
call fcn.14007a650
nop
mov r9, rbx
mov r8, rax
mov rdx, rdi
lea rcx, [0x1401b0740]
call fcn.140050020
nop
lea rcx, [rbp + 0x100]
call fcn.14000d220
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.140079d30
nop
jmp 0x140055c5e
mov word [rdi], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rdi + 8], 0
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x28], 0
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], 0
lea rcx, [rbp + 0x100]
call fcn.14000d220
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.140079d30
nop
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401292a0
mov rbx, qword [rsp + 0x280]
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret