Function at 0x140015190
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r15, r8
mov qword [rsp + 0x50], r8
mov r13, rdx
mov r14, rcx
mov rax, qword [rcx]
cmp rax, 0x20000000
jb 0x1400154b0
xor ebx, ebx
mov dword [rbp - 0x69], ebx
lea rdi, [rax + 0x24]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], bl
jne 0x140015202
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x69]
mov rdx, rdi
mov rcx, rsi
test rax, rax
je 0x140015227
call rax
jmp 0x14001522d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rbp - 0x69], 0x20000000
jae 0x140015592
mov rdi, qword [r14]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], bl
jne 0x140015251
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x69]
lea rdx, [rdi + 0x28]
mov rcx, rsi
test rax, rax
je 0x140015277
call rax
jmp 0x14001527d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rbp - 0x69], 0x20000000
jae 0x140015592
movzx esi, bx
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], rbx
mov ecx, 0x64
call fcn.14015be00
mov qword [rbp - 0x49], rax
lea rcx, [rax + 0x64]
mov qword [rbp - 0x39], rcx
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov dword [rax + 0x60], edx
mov qword [rbp - 0x41], rcx
mov r15, qword [rbp - 0x49]
mov rdi, qword [r14]
mov r14, qword [0x1401ea128]
cmp byte [0x1401ec478], dl
jne 0x1400152f4
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 0x64
mov r8, r15
lea rdx, [rdi + 0x24]
mov rcx, r14
test rax, rax
je 0x140015319
call rax
jmp 0x14001531f
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, rbx
mov r9, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
cmp r9, rcx
je 0x1400153fc
cmp byte [0x1401ea1e8], 0
je 0x140015d0d
mov rdx, r9
sub rdx, rcx
lea r14, [rdi + 4]
cmp r14, rdx
mov r8d, ebx
ja 0x140015356
mov r8d, dword [rcx + rdi]
mov dword [rbp - 0x69], r8d
lea eax, [rsi + 1]
test r8d, r8d
cmove ax, si
movzx esi, ax
test ax, ax
jle 0x1400153e0
mov dword [rbp - 0x59], ebx
cmp r14, rdx
mov eax, ebx
ja 0x140015379
mov eax, dword [rcx + rdi]
mov r15d, eax
movzx eax, word [0x1401ea110]
imul r15, rax
add r15, qword [0x1401eca38]
mov r12, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x1400153a3
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x59]
lea rdx, [r15 + 0x14]
mov rcx, r12
test rax, rax
je 0x1400153c9
call rax
jmp 0x1400153cf
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rbp - 0x59], 0x3f800000
je 0x140015453
mov r9, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
cmp si, 4
jg 0x14001547a
mov rdi, r14
mov rax, r9
sub rax, rcx
cmp r14, rax
jb 0x140015333
movzx edi, word [0x1401ea110]
mov eax, dword [rbp - 0x69]
imul rdi, rax
add rdi, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x140015426
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x69]
lea rdx, [rdi + 0x2c]
mov rcx, rsi
test rax, rax
je 0x1400154e6
call rax
jmp 0x1400154ed
cmp byte [0x1401ea1e8], 0
je 0x140015cff
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
sub rax, rcx
cmp r14, rax
mov eax, ebx
ja 0x140015475
mov eax, dword [rcx + rdi]
mov dword [rbp - 0x69], eax
jmp 0x1400153fc
test rcx, rcx
je 0x1400154b0
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400154ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015575
call fcn.14015c094
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
movzx edi, word [0x1401ea110]
mov eax, dword [rbp - 0x69]
imul rdi, rax
add rdi, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x140015517
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x69]
lea rdx, [rdi + 0x10]
mov rcx, rsi
test rax, rax
je 0x14001553d
call rax
jmp 0x140015544
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14001558d
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001557c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001557c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015c094
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], rbx
mov r15, qword [rsp + 0x50]
movzx edi, word [0x1401ea110]
mov eax, dword [rbp - 0x69]
imul rdi, rax
add rdi, qword [0x1401eca38]
mov rsi, qword [0x1401ea128]
cmp byte [0x1401ec478], 0
jne 0x1400155bc
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x69]
lea rdx, [rdi + 0x14]
mov rcx, rsi
test rax, rax
je 0x1400155e2
call rax
jmp 0x1400155e8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rbp - 0x69], 0
je 0x1400154b0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov qword [rbp - 0x39], rbx
mov ecx, 0x7d
call fcn.14015be00
mov qword [rbp - 0x49], rax
lea rcx, [rax + 0x7d]
mov qword [rbp - 0x39], rcx
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rdx
mov dword [rax + 0x78], edx
mov byte [rax + 0x7c], dl
mov qword [rbp - 0x41], rcx
mov rsi, qword [rbp - 0x49]
movzx edi, word [0x1401ea110]
mov eax, dword [rbp - 0x69]
imul rdi, rax
add rdi, qword [0x1401eca38]
mov r14, qword [0x1401ea128]
cmp byte [0x1401ec478], dl
jne 0x14001566f
call fcn.1400c9300
mov rax, qword [0x1401ec358]
mov qword [rsp + 0x20], rbx
mov r9d, 0x7d
mov r8, rsi
mov rdx, rdi
mov rcx, r14
test rax, rax
je 0x140015693
call rax
jmp 0x140015699
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [0x1401ea1e8], 0
je 0x140015d1b
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
sub rax, rcx
cmp rax, 0x10
jb 0x140015cb9
movsxd rax, dword [rcx + 0xc]
cmp eax, 0x28
jae 0x140015cb9
test eax, eax
je 0x140015cb9
lea rdx, [rcx + 0x10]
lea r8, [rdx + rax]
lea rcx, [rbp - 0x31]
call fcn.14001dde0
nop
cmp qword [rbp - 0x21], 0
je 0x140015cac
mov rax, qword [str.SWE]
mov qword [rbp - 0x59], rax
mov eax, Ordinal_35
lea r12d, [rax - 0x1a]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [str.8yW_YPB7], 0
je 0x140015863
cmp esi, 2
jl 0x14001581c
movdqa xmm4, xmmword [0x1401c4ea0]
movd xmm6, r12d
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
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 [0x1401c4c20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d70]
movd xmm0, dword [rbp - 0x59]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
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 [0x1401c4c20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d70]
movd xmm0, dword [rbp - 0x55]
xorps xmm2, xmm0
movd dword [rbp - 0x55], xmm2
jmp 0x140015863
lea r9, [rbp - 0x59]
mov r8d, ebx
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 0x140015830
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
lea rax, [rbp - 0x59]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140015881
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x50]
call fcn.140010900
lea r9, [rsp + 0x50]
cmp qword [rbp - 0x71], 0x10
cmovae r9, qword [rsp + 0x50]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x21]
call fcn.14001e080
mov r14, rax
lea rcx, [rsp + 0x50]
call fcn.140010730
movups xmm0, xmmword [str.XFVYe_VYI__J]
movups xmmword [rsp + 0x50], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x140015a7e
cmp esi, 2
jl 0x140015a43
movdqa xmm5, xmmword [0x1401c4b30]
movdqa xmm4, xmmword [0x1401c4ea0]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1401c4c20]
mov eax, Ordinal_35
movd xmm8, eax
movdqa xmm0, xmmword [0x1401c4d70]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rbp - 0x59]
nop dword [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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140015940
jmp 0x140015a7e
lea r8, [rsp + 0x50]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x10
jl 0x140015a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x50]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140015aa0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140010900
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r9, qword [rsp + 0x30]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x21]
call fcn.14001e080
mov rsi, rax
lea rcx, [rsp + 0x30]
call fcn.140010730
cmp r14, rdi
je 0x140015bc9
mov ecx, dword [0x1401ba424]
mov dword [rbp - 0x59], ecx
movzx ecx, word [0x1401ba428]
mov word [rbp - 0x55], cx
mov byte [rbp - 0x59], 0x42
xor byte [rbp - 0x58], 0x32
xor byte [rbp - 0x57], 0x33
xor byte [rbp - 0x56], 0x34
xor cl, 0x35
mov byte [rbp - 0x55], cl
xor byte [rbp - 0x54], 0x36
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x59]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140015b50
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x30]
call fcn.140010900
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14001dad0
lea rcx, [rsp + 0x30]
call fcn.140010730
mov rbx, qword [rbp - 0x21]
cmp rbx, r14
jb 0x140015cf9
mov rax, rbx
sub rax, r14
mov edx, 7
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
add rcx, r14
sub rbx, rdx
mov r8, rbx
sub r8, r14
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x21], rbx
jmp 0x140015bcd
mov rbx, qword [rbp - 0x21]
cmp rsi, rdi
je 0x140015c89
mov eax, dword [str.xFVY5]
mov dword [rbp - 0x59], eax
movzx eax, byte [0x1401ba444]
mov byte [rbp - 0x59], 0x49
xor byte [rbp - 0x58], 0x32
xor byte [rbp - 0x57], 0x33
xor byte [rbp - 0x56], 0x34
xor al, 0x35
mov byte [rbp - 0x55], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x59]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015c10
mov r8, rdi
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x30]
call fcn.140010900
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14001dad0
lea rcx, [rsp + 0x30]
call fcn.140010730
mov rbx, qword [rbp - 0x21]
cmp rbx, rsi
jb 0x140015cf9
mov rax, rbx
sub rax, rsi
mov edx, reloc.WS2_32.dll_ntohs
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
add rcx, rsi
sub rbx, rdx
mov r8, rbx
sub r8, rsi
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x21], rbx
lea rax, [rbp - 0x31]
cmp r13, rax
je 0x140015cac
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, rbx
mov rcx, r13
call fcn.14001dc30
nop
lea rcx, [rbp - 0x31]
call fcn.140010730
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400154b0
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400154ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400154ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140010810
nop
movss xmm0, dword [0x1401c4720]
call fcn.1400cdb40
int3
movss xmm0, dword [0x1401c4720]
call fcn.1400cdb40
nop
movss xmm0, dword [0x1401c4720]
call fcn.1400cdb40
int3