Function at 0x14002eb60
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14010a718]
xor rax, rsp
mov qword [rbp + 0x70], rax
call fcn.14002e5a0
test al, al
je 0x14002f590
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [str.vw_]
xor ebx, ebx
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
mov r14, rax
mov edi, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x50], ecx
lea r12d, [rbx + 4]
lea r13d, [rbx + 0x1f]
je 0x14002eca1
cmp edi, 2
jl 0x14002ec69
movdqa xmm3, xmmword [0x1400f7330]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400f74e0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400f74e0]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.11113333444455557777]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f74b0]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
jmp 0x14002eca1
lea r9, [rsp + 0x50]
mov r8d, ebx
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, r12d
jl 0x14002ec71
lea r8, [rsp + 0x50]
mov edx, 0x67
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14002f590
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [0x1400f2bf7], bl
mov rcx, qword [str.M_VLYRS_MYK]
mov qword [rsp + 0x40], rcx
je 0x14002ee31
cmp edi, 2
jl 0x14002eded
movdqa xmm2, xmmword [0x1400f7330]
movdqa xmm4, xmmword [0x1400f74e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400f7340]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x40]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f74b0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f74b0]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
jmp 0x14002ee31
lea r9, [rsp + 0x40]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14002ee00
lea r9, [0x14010c1d0]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002f590
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, r14
mov r15, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rsp + 0x30], rbx
lea rcx, [0x14010c1d0]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14002f590
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], rbx
mov r8d, r14d
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14010c1d0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002f590
cmp byte [0x1400f2be5], bl
mov ecx, dword [0x1400f2be0]
movsd xmm0, qword [str.nSUxTHZ25_r3_F]
mov dword [rsp + 0x48], ecx
movzx ecx, word [0x1400f2be4]
mov word [rsp + 0x4c], cx
movsd qword [rsp + 0x40], xmm0
je 0x14002f071
mov r8d, ebx
cmp edi, 2
jl 0x14002f034
movdqa xmm2, xmmword [0x1400f7330]
mov r8d, 8
movdqa xmm4, xmmword [0x1400f74e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400f7340]
movdqa xmm0, xmm2
mov eax, dword [0x1400f74b0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.nSUxTHZ25_r3_F]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14002f040
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsd xmm0, qword [0x1400f2ba8]
mov r8d, ebx
mov qword [0x14010c2d8], rax
mov eax, dword [0x1400f2bb0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400f2bb4]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x1400f2bb6]
mov byte [rsp + 0x4e], al
movsd qword [rsp + 0x40], xmm0
cmp edi, 2
jl 0x14002f1c9
movdqa xmm2, xmmword [0x1400f7330]
mov r8d, 8
movdqa xmm4, xmmword [0x1400f74e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400f7340]
movdqa xmm0, xmm2
mov eax, dword [0x1400f74b0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400f2ba8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x14002f1e0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x1400f2bd5], bl
movsd xmm0, qword [str.nSUxTHZ25]
mov qword [0x14010c2e0], rax
mov eax, dword [0x1400f2bd0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400f2bd4]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x14002f3b1
mov r8d, ebx
cmp edi, 2
jl 0x14002f36a
movdqa xmm2, xmmword [0x1400f7330]
mov r8d, 8
movdqa xmm4, xmmword [0x1400f74e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400f7340]
movdqa xmm0, xmm2
mov eax, dword [0x1400f74b0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.nSUxTHZ25]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14002f380
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x1400f2b6d], bl
movsd xmm0, qword [0x1400f2b60]
mov qword [0x14010c2e8], rax
mov eax, dword [0x1400f2b68]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400f2b6c]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x14002f54d
cmp edi, 2
jl 0x14002f506
movdqa xmm2, xmmword [0x1400f7330]
mov ebx, 8
movdqa xmm4, xmmword [0x1400f74e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400f7340]
movdqa xmm0, xmm2
mov eax, dword [0x1400f74b0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f7470]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400f2b60]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11113333444455557777]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f7470]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0xe
jl 0x14002f520
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14010c2d8], 0
mov qword [0x14010c2f0], rax
je 0x14002f58c
cmp qword [0x14010c2e0], 0
je 0x14002f58c
cmp qword [0x14010c2e8], 0
je 0x14002f58c
test rax, rax
je 0x14002f58c
mov byte [0x14010c35e], 1
mov al, 1
jmp 0x14002f592
xor al, al
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400bd610
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret