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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140046020]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140002d03
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400081d0
nop
mov ecx, 0x5c
xor edx, edx
call fcn.140001110
mov word [rsp + 0x30], ax
mov ecx, 0x53
lea edx, [rcx - 0x52]
call fcn.140001110
mov word [rsp + 0x32], ax
mov ecx, 0x6f
lea edx, [rcx - 0x6d]
call fcn.140001110
mov word [rsp + 0x34], ax
mov ecx, 0x66
lea edx, [rcx - 0x63]
call fcn.140001110
mov word [rsp + 0x36], ax
mov ecx, 0x74
lea edx, [rcx - 0x70]
call fcn.140001110
mov word [rsp + 0x38], ax
mov ecx, 0x77
lea edx, [rcx - 0x72]
call fcn.140001110
mov word [rsp + 0x3a], ax
mov ecx, 0x61
lea edx, [rcx - 0x5b]
call fcn.140001110
mov word [rsp + 0x3c], ax
mov ecx, 0x72
lea edx, [rcx - 0x6b]
call fcn.140001110
mov word [rsp + 0x3e], ax
mov ecx, 0x65
lea edx, [rcx - 0x5d]
call fcn.140001110
mov word [rsp + 0x40], ax
mov ecx, 0x44
lea edx, [rcx - 0x3b]
call fcn.140001110
mov word [rsp + 0x42], ax
mov ecx, 0x69
lea edx, [rcx - 0x5f]
call fcn.140001110
mov word [rsp + 0x44], ax
mov ecx, 0x73
lea edx, [rcx - 0x68]
call fcn.140001110
mov word [rsp + 0x46], ax
mov ecx, 0x74
lea edx, [rcx - 0x68]
call fcn.140001110
mov word [rsp + 0x48], ax
mov ecx, 0x72
lea edx, [rcx - 0x65]
call fcn.140001110
mov word [rsp + 0x4a], ax
mov ecx, 0x69
lea edx, [rcx - 0x5b]
call fcn.140001110
mov word [rsp + 0x4c], ax
mov ecx, 0x62
lea edx, [rcx - 0x53]
call fcn.140001110
mov word [rsp + 0x4e], ax
mov ecx, 0x75
lea edx, [rcx - 0x65]
call fcn.140001110
mov word [rsp + 0x50], ax
mov ecx, 0x74
lea edx, [rcx - 0x63]
call fcn.140001110
mov word [rsp + 0x52], ax
mov ecx, 0x69
lea edx, [rcx - 0x57]
call fcn.140001110
mov word [rsp + 0x54], ax
mov ecx, 0x6f
lea edx, [rcx - 0x5c]
call fcn.140001110
mov word [rsp + 0x56], ax
mov ecx, 0x6e
lea edx, [rcx - 0x5a]
call fcn.140001110
mov word [rsp + 0x58], ax
mov ecx, 0x5c
lea edx, [rcx - 0x47]
call fcn.140001110
mov word [rsp + 0x5a], ax
mov ecx, 0x44
lea edx, [rcx - 0x2e]
call fcn.140001110
mov word [rsp + 0x5c], ax
mov ecx, 0x6f
lea edx, [rcx - 0x58]
call fcn.140001110
mov word [rsp + 0x5e], ax
mov ecx, 0x77
lea edx, [rcx - 0x5f]
call fcn.140001110
mov word [rsp + 0x60], ax
mov ecx, 0x6e
lea edx, [rcx - 0x55]
call fcn.140001110
mov word [rsp + 0x62], ax
mov ecx, 0x6c
lea edx, [rcx - 0x52]
call fcn.140001110
mov word [rsp + 0x64], ax
mov ecx, 0x6f
lea edx, [rcx - 0x54]
call fcn.140001110
mov word [rsp + 0x66], ax
mov ecx, 0x61
lea edx, [rcx - 0x45]
call fcn.140001110
mov word [rsp + 0x68], ax
mov ecx, 0x64
lea edx, [rcx - 0x47]
call fcn.140001110
mov word [rsp + 0x6a], ax
mov ecx, 0x5c
lea edx, [rcx - 0x3e]
call fcn.140001110
mov word [rsp + 0x6c], ax
xor ecx, ecx
lea edx, [rcx + 0x1f]
call fcn.140001110
mov word [rsp + 0x6e], ax
mov edx, 0x20
movzx ecx, word [str.runas]
call fcn.140001110
mov word [rsp + 0x70], ax
mov edx, 0x21
movzx ecx, word [0x140040cf2]
call fcn.140001110
mov word [rsp + 0x72], ax
mov edx, 0x22
movzx ecx, word [0x140040cf4]
call fcn.140001110
mov word [rsp + 0x74], ax
mov edx, 0x23
movzx ecx, word [0x140040cf6]
call fcn.140001110
mov word [rsp + 0x76], ax
mov edx, 0x24
movzx ecx, word [0x140040cf8]
call fcn.140001110
mov word [rsp + 0x78], ax
mov edx, 0x25
movzx ecx, word [0x140040cfa]
call fcn.140001110
mov word [rsp + 0x7a], ax
mov edx, 0x26
movzx ecx, word [0x140040cfc]
call fcn.140001110
mov word [rsp + 0x7c], ax
mov edx, 0x27
movzx ecx, word [0x140040cfe]
call fcn.140001110
mov word [rsp + 0x7e], ax
mov edx, 0x28
movzx ecx, word [0x140040d00]
call fcn.140001110
mov word [rbp - 0x80], ax
mov edx, 0x29
movzx ecx, word [0x140040d02]
call fcn.140001110
mov word [rbp - 0x7e], ax
mov edx, 0x2a
movzx ecx, word [0x140040d04]
call fcn.140001110
mov word [rbp - 0x7c], ax
mov edx, 0x2b
movzx ecx, word [0x140040d06]
call fcn.140001110
mov word [rbp - 0x7a], ax
mov edx, 0x2c
movzx ecx, word [0x140040d08]
call fcn.140001110
mov word [rbp - 0x78], ax
mov edx, 0x2d
movzx ecx, word [0x140040d0a]
call fcn.140001110
mov word [rbp - 0x76], ax
mov edx, 0x2e
movzx ecx, word [0x140040d0c]
call fcn.140001110
mov word [rbp - 0x74], ax
mov edx, 0x2f
movzx ecx, word [0x140040d0e]
call fcn.140001110
mov word [rbp - 0x72], ax
mov edx, 0x30
movzx ecx, word [str..exe]
call fcn.140001110
mov word [rbp - 0x70], ax
mov edx, 0x31
movzx ecx, word [0x140040d12]
call fcn.140001110
mov word [rbp - 0x6e], ax
mov edx, 0x32
movzx ecx, word [0x140040d14]
call fcn.140001110
mov word [rbp - 0x6c], ax
mov edx, 0x33
movzx ecx, word [0x140040d16]
call fcn.140001110
mov word [rbp - 0x6a], ax
mov edx, 0x34
movzx ecx, word [0x140040d18]
call fcn.140001110
mov word [rbp - 0x68], ax
mov edx, 0x35
movzx ecx, word [0x140040d1a]
call fcn.140001110
mov word [rbp - 0x66], ax
mov edx, 0x36
movzx ecx, word [0x140040d1c]
call fcn.140001110
mov word [rbp - 0x64], ax
mov edx, 0x37
movzx ecx, word [0x140040d1e]
call fcn.140001110
mov word [rbp - 0x62], ax
mov edx, 0x38
movzx ecx, word [0x140040d20]
call fcn.140001110
mov word [rbp - 0x60], ax
mov edx, 0x39
movzx ecx, word [0x140040d22]
call fcn.140001110
mov word [rbp - 0x5e], ax
mov edx, 0x3a
movzx ecx, word [0x140040d24]
call fcn.140001110
mov word [rbp - 0x5c], ax
mov edx, 0x3b
movzx ecx, word [0x140040d26]
call fcn.140001110
mov word [rbp - 0x5a], ax
mov edx, 0x3c
movzx ecx, word [0x140040d28]
call fcn.140001110
mov word [rbp - 0x58], ax
mov edx, 0x3d
movzx ecx, word [0x140040d2a]
call fcn.140001110
mov word [rbp - 0x56], ax
mov edx, 0x3e
movzx ecx, word [0x140040d2c]
call fcn.140001110
mov word [rbp - 0x54], ax
xor eax, eax
mov word [rbp - 0x52], ax
mov eax, edi
mov r8d, 0x133
nop dword [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 0x140003200
mov word [rbp - 0x52], di
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400098e0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000326c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003293
call fcn.14000db48
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14000d670
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140016888
int3