Function at 0x1400124c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
movups xmm3, xmmword [0x1400b7168]
mov r10d, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
mov qword [rax + 8], rdi
mov edi, Ordinal_32
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
lea r11d, [rdi - 0x1b]
pextrw eax, xmm3, 7
movups xmmword [rsp + 0x38], xmm3
test ax, ax
je 0x140012645
cmp r10d, 2
jl 0x140012602
movdqa xmm2, xmmword [0x1400b8680]
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400b8690]
paddw xmm2, xmmword [0x1400b86b0]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x40]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400b86b0]
xorps xmm2, xmm0
movq qword [rsp + 0x40], xmm2
jmp 0x140012645
lea r9, [rsp + 0x38]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x140012610
mov eax, dword [0x1400b7ac0]
mov r8d, ebx
movsd xmm0, qword [0x1400b7ab8]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400b7ac4]
mov word [rsp + 0x64], ax
movsd qword [rsp + 0x58], xmm0
movups xmm9, xmmword [str.pA_VSDK]
movups xmmword [rsp + 0x48], xmm9
cmp r10d, 2
jl 0x140012777
movdqa xmm2, xmmword [0x1400b8680]
mov r8d, 8
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x1400b86b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b8690]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x48], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x50]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x50], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x48]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xf
jl 0x140012790
mov eax, dword [0x1400b8540]
mov r8d, ebx
movsd xmm0, qword [0x1400b8538]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1400b8544]
mov word [rbp - 0x7c], ax
movsd qword [rsp + 0x78], xmm0
movups xmm9, xmmword [str.pA_VSDKfhZ_V_M_]
movups xmmword [rsp + 0x68], xmm9
cmp r10d, 2
jl 0x1400128f5
movdqa xmm2, xmmword [0x1400b8680]
mov r8d, 8
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x1400b86b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b8690]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x70]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x70], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x68]
lea r9, [r9 + rax*2]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xf
jl 0x140012901
cmp word [0x1400b8502], bx
movups xmm9, xmmword [str._VBPDD_Q_XWXL_]
mov eax, dword [0x1400b8500]
movsd xmm0, qword [0x1400b84f8]
movups xmmword [rbp - 0x58], xmm9
mov dword [rbp - 0x40], eax
movsd qword [rbp - 0x48], xmm0
je 0x140012aa5
mov r8d, ebx
cmp r10d, 2
jl 0x140012a63
movdqa xmm2, xmmword [0x1400b8680]
mov r8d, 8
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x1400b86b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b8690]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rbp - 0x58], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x50]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x50], xmm3
movsxd rax, r8d
lea r9, [rbp - 0x58]
lea r9, [r9 + rax*2]
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x140012a70
mov eax, dword [0x1400b7b80]
mov r8d, ebx
mov dword [rbp], eax
movups xmm0, xmmword [0x1400b7b48]
movups xmm1, xmmword [0x1400b7b58]
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [0x1400b7b68]
movups xmmword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x18], xmm0
movsd xmm0, qword [0x1400b7b78]
movsd qword [rbp - 8], xmm0
cmp r10d, 2
jl 0x140012c11
movdqa xmm5, xmmword [0x1400b8680]
lea rcx, [rbp - 0x38]
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm7, xmmword [0x1400b86a0]
movdqa xmm9, xmmword [0x1400b86b0]
movd xmm6, r11d
movd xmm8, edi
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x140012b20
cmp r8d, 0x1e
jge 0x140012c55
movsxd rax, r8d
lea r9, [rbp - 0x38]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0x1e
jl 0x140012c20
mov eax, dword [0x1400b83b0]
mov r8d, ebx
movsd xmm0, qword [0x1400b83a8]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1400b83b4]
mov word [rbp - 0x5c], ax
movsd qword [rbp - 0x68], xmm0
movups xmm9, xmmword [str._VBPDD_fRZ_V_M_]
movups xmmword [rbp - 0x78], xmm9
cmp r10d, 2
jl 0x140012d80
movdqa xmm2, xmmword [0x1400b8680]
mov r8d, 8
movdqa xmm4, xmmword [0x1400b86e0]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x1400b86b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b8690]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rbp - 0x78], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b86a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x70]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x70], xmm3
movaps xmm9, xmmword [rsp + 0x110]
lea r9, [rbp - 0x78]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
movsxd rax, r8d
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xf
jl 0x140012db0
movups xmm0, xmmword [str.tZXPqEY_:]
movzx eax, word [0x1400b79f0]
mov ecx, 0x46
xor ax, 0x3a
xor edx, edx
movups xmmword [rsp + 0x20], xmm0
xor word [rsp + 0x22], 0x33
xor word [rsp + 0x24], 0x34
xor word [rsp + 0x26], 0x35
xor word [rsp + 0x28], 0x36
xor word [rsp + 0x2a], 0x37
xor word [rsp + 0x2c], 0x38
xor word [rsp + 0x2e], 0x39
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x38]
mov word [rsp + 0x30], ax
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, [rsp + 0x48]
setne bl
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov edi, 1
lea rcx, [rsp + 0x68]
test rax, rax
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, [rbp - 0x58]
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, [rbp - 0x78]
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, [rsp + 0x20]
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, [rbp - 0x38]
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, qword [rsp + 0x160]
test rax, rax
jne 0x140012ed8
test ebx, ebx
jne 0x140012ed8
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rbp
ret
cmp byte [0x1400c734d], 0
jne 0x140012ee8
mov byte [0x1400c734d], 1
call fcn.140011940
int3