Function at 0x14001e510
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400d0b68]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rcx
mov qword [rbp - 0x38], rcx
xor r15d, r15d
mov edx, 0x100
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [r15 + 0x5c]
xor edx, edx
call fcn.140019110
mov word [rsp + 0x20], ax
lea ecx, [r15 + 0x53]
lea edx, [rcx - 0x52]
call fcn.140019110
mov word [rsp + 0x22], ax
lea ecx, [r15 + 0x6f]
lea edx, [rcx - 0x6d]
call fcn.140019110
mov word [rsp + 0x24], ax
lea ecx, [r15 + 0x66]
lea edx, [rcx - 0x63]
call fcn.140019110
mov word [rsp + 0x26], ax
lea ecx, [r15 + 0x74]
lea edx, [rcx - 0x70]
call fcn.140019110
mov word [rsp + 0x28], ax
lea ecx, [r15 + 0x77]
lea edx, [rcx - 0x72]
call fcn.140019110
mov word [rsp + 0x2a], ax
lea ecx, [r15 + 0x61]
lea edx, [rcx - 0x5b]
call fcn.140019110
mov word [rsp + 0x2c], ax
lea ecx, [r15 + 0x72]
lea edx, [rcx - 0x6b]
call fcn.140019110
mov word [rsp + 0x2e], ax
lea ecx, [r15 + 0x65]
lea edx, [rcx - 0x5d]
call fcn.140019110
mov word [rsp + 0x30], ax
lea ecx, [r15 + 0x44]
lea edx, [rcx - 0x3b]
call fcn.140019110
mov word [rsp + 0x32], ax
lea ecx, [r15 + 0x69]
mov edi, 0xa
mov edx, edi
call fcn.140019110
mov word [rsp + 0x34], ax
lea ecx, [rdi + 0x69]
lea edx, [rdi + 1]
call fcn.140019110
mov word [rsp + 0x36], ax
lea ecx, [rdi + 0x6a]
lea edx, [rdi + 2]
call fcn.140019110
mov word [rsp + 0x38], ax
lea ecx, [rdi + 0x68]
lea edx, [rdi + 3]
call fcn.140019110
mov word [rsp + 0x3a], ax
lea ecx, [rdi + 0x5f]
lea edx, [rdi + 4]
call fcn.140019110
mov word [rsp + 0x3c], ax
lea ecx, [rdi + 0x58]
lea edx, [rdi + 5]
call fcn.140019110
mov word [rsp + 0x3e], ax
lea ecx, [rdi + 0x6b]
lea edx, [rdi + 6]
call fcn.140019110
mov word [rsp + 0x40], ax
lea ecx, [rdi + 0x6a]
lea edx, [rdi + 7]
call fcn.140019110
mov word [rsp + 0x42], ax
lea ecx, [rdi + 0x5f]
lea edx, [rdi + 8]
call fcn.140019110
mov word [rsp + 0x44], ax
lea ecx, [rdi + 0x65]
lea edx, [rdi + 9]
call fcn.140019110
mov word [rsp + 0x46], ax
lea ecx, [rdi + 0x64]
lea edx, [rdi + 0xa]
call fcn.140019110
mov word [rsp + 0x48], ax
lea ecx, [rdi + 0x52]
lea edx, [rdi + 0xb]
call fcn.140019110
mov word [rsp + 0x4a], ax
lea ecx, [rdi + 0x3a]
lea edx, [rdi + 0xc]
call fcn.140019110
mov word [rsp + 0x4c], ax
lea ecx, [rdi + 0x65]
lea edx, [rdi + 0xd]
call fcn.140019110
mov word [rsp + 0x4e], ax
lea ecx, [rdi + 0x6d]
lea edx, [rdi + 0xe]
call fcn.140019110
mov word [rsp + 0x50], ax
lea ecx, [rdi + 0x64]
lea edx, [rdi + 0xf]
call fcn.140019110
mov word [rsp + 0x52], ax
lea ecx, [rdi + 0x62]
lea edx, [rdi + 0x10]
call fcn.140019110
mov word [rsp + 0x54], ax
lea ecx, [rdi + 0x65]
lea edx, [rdi + 0x11]
call fcn.140019110
mov word [rsp + 0x56], ax
lea ecx, [rdi + 0x57]
lea edx, [rdi + 0x12]
call fcn.140019110
mov word [rsp + 0x58], ax
lea ecx, [rdi + 0x5a]
lea edx, [rdi + 0x13]
call fcn.140019110
mov word [rsp + 0x5a], ax
lea ecx, [rdi + 0x52]
lea edx, [rdi + 0x14]
call fcn.140019110
mov word [rsp + 0x5c], ax
xor ecx, ecx
lea edx, [rdi + 0x15]
call fcn.140019110
mov word [rsp + 0x5e], ax
lea edx, [rdi + 0x16]
movzx ecx, word [str.runas]
call fcn.140019110
mov word [rsp + 0x60], ax
lea edx, [rdi + 0x17]
movzx ecx, word [0x140072e42]
call fcn.140019110
mov word [rsp + 0x62], ax
lea edx, [rdi + 0x18]
movzx ecx, word [0x140072e44]
call fcn.140019110
mov word [rsp + 0x64], ax
lea edx, [rdi + 0x19]
movzx ecx, word [0x140072e46]
call fcn.140019110
mov word [rsp + 0x66], ax
lea edx, [rdi + 0x1a]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rsp + 0x68], ax
lea edx, [rdi + 0x1b]
movzx ecx, word [0x140072e4a]
call fcn.140019110
mov word [rsp + 0x6a], ax
lea edx, [rdi + 0x1c]
movzx ecx, word [0x140072e4c]
call fcn.140019110
mov word [rsp + 0x6c], ax
lea edx, [rdi + 0x1d]
movzx ecx, word [0x140072e4e]
call fcn.140019110
mov word [rsp + 0x6e], ax
lea edx, [rdi + 0x1e]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.140019110
mov word [rsp + 0x70], ax
lea edx, [rdi + 0x1f]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rsp + 0x72], ax
lea edx, [rdi + 0x20]
movzx ecx, word [0x140072e54]
call fcn.140019110
mov word [rsp + 0x74], ax
lea edx, [rdi + 0x21]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rsp + 0x76], ax
lea edx, [rdi + 0x22]
movzx ecx, word [0x140072e58]
call fcn.140019110
mov word [rsp + 0x78], ax
lea edx, [rdi + 0x23]
movzx ecx, word [0x140072e5a]
call fcn.140019110
mov word [rsp + 0x7a], ax
lea edx, [rdi + 0x24]
movzx ecx, word [0x140072e5c]
call fcn.140019110
mov word [rsp + 0x7c], ax
lea edx, [rdi + 0x25]
movzx ecx, word [0x140072e5e]
call fcn.140019110
mov word [rsp + 0x7e], ax
lea edx, [rdi + 0x26]
movzx ecx, word [str..exe]
call fcn.140019110
mov word [rbp - 0x80], ax
lea edx, [rdi + 0x27]
movzx ecx, word [0x140072e62]
call fcn.140019110
mov word [rbp - 0x7e], ax
lea edx, [rdi + 0x28]
movzx ecx, word [0x140072e64]
call fcn.140019110
mov word [rbp - 0x7c], ax
lea edx, [rdi + 0x29]
movzx ecx, word [0x140072e66]
call fcn.140019110
mov word [rbp - 0x7a], ax
lea edx, [rdi + 0x2a]
movzx ecx, word [0x140072e68]
call fcn.140019110
mov word [rbp - 0x78], ax
lea edx, [rdi + 0x2b]
movzx ecx, word [0x140072e6a]
call fcn.140019110
mov word [rbp - 0x76], ax
lea edx, [rdi + 0x2c]
movzx ecx, word [0x140072e6c]
call fcn.140019110
mov word [rbp - 0x74], ax
lea edx, [rdi + 0x2d]
movzx ecx, word [0x140072e6e]
call fcn.140019110
mov word [rbp - 0x72], ax
lea edx, [rdi + 0x2e]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_45]
call fcn.140019110
mov word [rbp - 0x70], ax
lea edx, [rdi + 0x2f]
movzx ecx, word [0x140072e72]
call fcn.140019110
mov word [rbp - 0x6e], ax
lea edx, [rdi + 0x30]
movzx ecx, word [0x140072e74]
call fcn.140019110
mov word [rbp - 0x6c], ax
lea edx, [rdi + 0x31]
movzx ecx, word [reloc.WS2_32.dll_WSASetLastError]
call fcn.140019110
mov word [rbp - 0x6a], ax
lea edx, [rdi + 0x32]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_32]
call fcn.140019110
mov word [rbp - 0x68], ax
lea edx, [rdi + 0x33]
movzx ecx, word [0x140072e7a]
call fcn.140019110
mov word [rbp - 0x66], ax
lea edx, [rdi + 0x34]
movzx ecx, word [0x140072e7c]
call fcn.140019110
mov word [rbp - 0x64], ax
xor eax, eax
mov word [rbp - 0x62], ax
mov edx, r15d
mov r8d, 0x133
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea eax, [r8 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0x3f
jb 0x14001e9e0
mov word [rbp - 0x62], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14001ea20
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14001eb37
mov qword [rbp - 0x48], 7
cmp rbx, 8
jae 0x14001ea6a
mov qword [rbp - 0x50], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x60], r15w
jmp 0x14001eab3
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x14001ea80
mov rsi, rax
cmp rax, rdi
cmovb rsi, rdi
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x60]
call fcn.14000b4c0
mov rdi, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r15w
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140019d50
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001eb08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001eb03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001eb03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e438
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14006e560
lea r11, [rsp + 0x2e0]
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
call fcn.140002ba0
int3