Function at 0x14003a830
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov eax, dword [0x1401298ac]
test eax, eax
jne 0x14003aa7a
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eca10]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eca18]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xor edi, edi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14003a8c3
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.140048650
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [str.g_PPBR_M___]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400ec9b0]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003a946
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140048650
nop
mov eax, dword [0x1400eca58]
mov dword [rbp + 0x67], eax
cmp byte [0x1400eca5b], 0
je 0x14003aa40
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003a9fa
movdqa xmm3, xmmword [0x1400ed080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ed1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ed1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ed0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ed100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003aa40
lea r9, [rbp + 0x67]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003aa10
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003aa53
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x27]
call fcn.140048650
nop
lea r8, [rbp - 0x19]
lea rcx, [rbp + 0x27]
jmp 0x14003b0c5
cmp eax, 1
jne 0x14003ac91
lea rax, [rbp + 0x27]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eca10]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eca18]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor edi, edi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14003ab00
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.140048650
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [str.g_PPBR_M___]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400ec9b0]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003ab83
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140048650
nop
mov eax, dword [0x1400eca58]
mov dword [rbp + 0x67], eax
cmp byte [0x1400eca5b], 0
je 0x14003ac70
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003ac37
movdqa xmm3, xmmword [0x1400ed080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ed1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ed1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ed0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ed100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003ac70
lea r9, [rbp + 0x67]
mov r8d, edi
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003ac40
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003ac83
jmp 0x14003b0ac
cmp eax, 2
jne 0x14003aea1
lea rax, [rbp + 0x27]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eca10]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eca18]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor edi, edi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14003ad10
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.140048650
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [str.g_PPBR_M___]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400ec9b0]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003ad93
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140048650
nop
mov eax, dword [0x1400eca58]
mov dword [rbp + 0x67], eax
cmp byte [0x1400eca5b], 0
je 0x14003ae80
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003ae47
movdqa xmm3, xmmword [0x1400ed080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ed1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ed1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ed0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ed100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003ae80
lea r9, [rbp + 0x67]
mov r8d, edi
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003ae50
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003ae93
jmp 0x14003b0ac
cmp eax, 3
jne 0x14003b0ce
lea rax, [rbp + 0x27]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eca10]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eca18]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor edi, edi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14003af20
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.140048650
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [str.g_PPBR_M___]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400ec9b0]
mov word [rbp - 0x21], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor cl, 0x3a
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3b
xor al, 0x3c
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003afa3
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140048650
nop
mov eax, dword [0x1400eca58]
mov dword [rbp + 0x67], eax
cmp byte [0x1400eca5b], 0
je 0x14003b090
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003b057
movdqa xmm3, xmmword [0x1400ed080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ed1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ed1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ed0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ed100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003b090
lea r9, [rbp + 0x67]
mov r8d, edi
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003b060
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003b0a3
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x19]
call fcn.140048650
nop
lea r8, [rbp + 0x27]
lea rcx, [rbp - 0x19]
lea rdx, [rbp + 7]
call fcn.14003a5e0
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret