Function at 0x14008d970
Capabilities:
Encode data using xor
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14008d9bd
mov rcx, qword [rdx]
lea rdx, [rbp - 0x38]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
xorps xmm0, xmm0
test eax, eax
jne 0x14008da0e
mov byte [rsp + 0x20], r12b
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], r12b
jne 0x14008d9f0
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058eb0
jmp 0x14008db06
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
cmp rsi, 0x1000
jb 0x14008da49
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14008e0ce
call fcn.140144e2c
test rax, rax
je 0x14008e05b
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14008da54
mov rcx, rsi
call fcn.140144e2c
mov r14, rax
mov qword [rbp - 0x50], r14
lea r15, [r14 + rsi]
mov qword [rbp - 0x40], r15
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.140146374
mov qword [rbp - 0x48], r15
cmp qword [rbx + 0x18], 0xf
jbe 0x14008da7b
mov rbx, qword [rbx]
mov r9, r14
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x14008db38
mov byte [rsp + 0x20], al
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008dab4
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058eb0
nop
test r14, r14
je 0x14008db06
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008dafb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008e05b
mov rdx, r15
mov rcx, r14
call fcn.1401450a8
mov rax, r13
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140144a50
mov rbx, qword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [0x14016e0c8]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x14016e0d8]
movsd qword [rsp + 0x38], xmm0
movzx eax, byte [0x14016e0e0]
mov byte [rsp + 0x40], al
xor r8d, r8d
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x14008dcad
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173f10]
movdqa xmm6, xmmword [0x140173c50]
movdqa xmm0, xmmword [0x140173d80]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x60]
nop
movd xmm2, r8d
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, 5
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 [0x140173d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, 5
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 [0x140173d30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14008dba0
cmp r8d, 0x19
jge 0x14008dcf3
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x14008dcc0
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
xorps xmm0, xmm0
test eax, eax
jne 0x14008dd43
mov byte [rsp + 0x20], al
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008dd35
jmp 0x14008dabd
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
xor r12d, r12d
lea rsi, [r12 - 1]
test dword [rbp - 0x78], 0xfffffffc
jbe 0x14008dfe0
mov rax, qword [rbp - 0x80]
movzx r9d, word [rax + r12*4 + 2]
movzx r11d, word [rax + r12*4]
movups xmm0, xmmword [str.eiONTPX]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x14016df20]
movups xmmword [rsp + 0x38], xmm1
movsd xmm0, qword [0x14016df30]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x14016df38]
mov word [rsp + 0x50], ax
xor ecx, ecx
cmp ebx, 2
jl 0x14008defa
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173f10]
movdqa xmm6, xmmword [0x140173c50]
movdqa xmm0, xmmword [0x140173d80]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x60]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140173d30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x140173d30]
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, 0x28
jl 0x14008ddf0
cmp ecx, 0x2a
jge 0x14008df3e
movsxd rax, ecx
lea r10, [rsp + 0x28]
add r10, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r10], al
inc ecx
lea r10, [r10 + 1]
cmp ecx, 0x2a
jl 0x14008df10
mov r8d, r11d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.14008ef20
lea rax, [rbp - 0x30]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x14008df56
mov rax, qword [rbp - 0x58]
cmp rdi, rax
ja 0x14008df94
lea rbx, [rbp - 0x70]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdi
mov r8, rdi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov ebx, dword [reloc.WS2_32.dll_accept]
jmp 0x14008dfa4
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14005ffc0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x14008e062
inc r12d
mov eax, dword [rbp - 0x78]
shr eax, 2
cmp r12d, eax
jb 0x14008dd70
nop
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008e002
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058eb0
nop
lea rcx, [rbp - 0x70]
call fcn.14003d470
nop
test r14, r14
je 0x14008db06
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008dafb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008dafb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, dword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor r12d, r12d
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov rdx, qword [rsp + 0x78]
mov rcx, r13
call fcn.140058eb0
nop
lea rcx, [rbp - 0x70]
call fcn.14003d470
nop
test r14, r14
je 0x14008db06
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008dafb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008dafb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140024680
int3