Function at 0x140040f20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1403a3bc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
movsd xmm0, qword [str.uZPrHZ2_:D]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [0x1400d5cd0]
mov dword [rbp - 0x11], eax
movzx eax, byte [0x1400d5cd4]
mov byte [rbp - 0xd], al
xor r15d, r15d
mov r8d, r15d
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x140041083
movdqa xmm4, xmmword [0x1400d5f70]
movdqa xmm2, xmmword [0x1400b63f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d5f50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d5f80]
movd xmm0, dword [str.uZPrHZ2_:D]
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm3, xmmword [0x1400d5f40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d5f50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d5f80]
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140041090
movups xmm0, xmmword [str.uZPrHZ2_:_a_4_I]
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x1400d5cc0]
mov word [rbp - 0x21], ax
cmp byte [0x1400d5cc1], r15b
je 0x14004125b
mov ecx, r15d
cmp edi, 2
jl 0x140041222
movdqa xmm5, xmmword [0x1400b63f0]
movdqa xmm4, xmmword [0x1400d5f70]
movdqa xmm6, xmmword [0x1400d5f50]
movdqa xmm0, xmmword [0x1400d5f80]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x2d]
mov r8d, dword [rbp - 9]
nop dword [rax + rax]
movd xmm2, ecx
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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140041120
cmp ecx, 0x12
jge 0x14004125b
movsxd rax, ecx
lea r8, [rbp - 0x31]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140041230
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rsi, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 1], r12
mov qword [rbp + 7], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, r12
mov qword [rbp - 9], rax
mov qword [rsi], r15
mov rax, qword [0x1403a45c0]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x31]
call rax
nop
mov qword [rsi], rbx
mov qword [0x1403a4448], rax
test rax, rax
jne 0x140041485
mov eax, dword [0x1400d5ce8]
mov dword [rbp - 0x39], eax
movzx eax, word [0x1400d5cec]
mov word [rbp - 0x35], ax
mov byte [rbp - 0x39], 0x53
xor byte [rbp - 0x38], 0x39
xor byte [rbp - 0x37], 0x3a
xor byte [rbp - 0x36], 0x3b
xor al, 0x3c
mov byte [rbp - 0x35], al
xor byte [rbp - 0x34], 0x3d
movups xmm0, xmmword [str.uZP]
movups xmmword [rbp - 0x19], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14004146f
cmp edi, 2
jl 0x14004142f
movdqa xmm5, xmmword [0x1400b63f0]
mov edx, r15d
movdqa xmm4, xmmword [0x1400d5f70]
movdqa xmm6, xmmword [0x1400d5f50]
movdqa xmm0, xmmword [0x1400d5f80]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x15]
mov r8d, dword [rbp - 9]
nop
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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d5f60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140041330
jmp 0x14004146f
lea r9, [rbp - 0x19]
mov r8d, r15d
nop word [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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140041440
mov r9d, 0x40
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
lea rdx, str.Hus_X_Veru
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [str.Hus_X_Veru]
lea rcx, str.Storm_Public
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rcx, qword [str.Storm_Public]
mov r8, qword [0x1403a2c50]
cmp r8, qword [reloc.WS2_32.dll_ioctlsocket]
jne 0x1400414e3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140041529
mov eax, dword [str.kMUIQ]
mov dword [rbp - 0x39], eax
movzx eax, word [0x1400d5cf4]
mov word [rbp - 0x35], ax
mov byte [rbp - 0x39], 0x53
xor byte [rbp - 0x38], 0x39
xor byte [rbp - 0x37], 0x3a
xor byte [rbp - 0x36], 0x3b
xor al, 0x3c
mov byte [rbp - 0x35], al
xor byte [rbp - 0x34], 0x3d
mov r9d, 0x40
lea r8, [rbp - 0x39]
lea rdx, str.Storm_Injected
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1403a4448]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r12
mov qword [rbp - 0x31], rax
mov qword [r14], r15
mov rax, qword [0x1403a4608]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
call rax
nop
mov qword [r14], rbx
test eax, eax
je 0x140041673
mov rcx, qword [0x1403a4448]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], rdi
mov rax, rbx
xor rax, r12
mov qword [rbp - 0x31], rax
mov qword [rdi], r15
mov rax, qword [0x1403a4580]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x140041673
mov edx, 0xffffffec
mov rcx, qword [0x1403a4448]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x1403a4448]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r12
mov qword [rbp - 0x31], rax
mov qword [rdi], r15
mov rax, qword [0x1403a45a0]
mov edx, 0xffffffec
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x140041673
movdqa xmm0, xmmword [0x1400d5f10]
movdqu xmmword [rbp + 0x17], xmm0
lea rdx, [rbp + 0x17]
mov rcx, qword [0x1403a4448]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x140041673
mov edx, 5
mov rcx, qword [0x1403a4448]
call fcn.1400402a0
mov rcx, qword [0x1403a4448]
call fcn.1400404c0
xor edx, edx
mov rcx, qword [0x1403a4448]
call fcn.1400402a0
mov al, 1
jmp 0x140041675
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ab120
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret