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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x258]
sub rsp, 0x358
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rax, qword [0x1401310c8]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov qword [rbp - 0x50], r9
mov r10, r8
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x60], rdx
mov rdi, rcx
mov qword [rbp + 0x20], rcx
xor ebx, ebx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x140027e45
mov rax, qword [rcx]
jmp 0x140027e48
mov rax, rdi
mov byte [rax], bl
mov qword [rcx + 0x38], 7
mov qword [rcx + 0x30], rbx
cmp qword [rcx + 0x38], 8
jb 0x140027e63
mov rax, qword [rcx + 0x20]
jmp 0x140027e67
lea rax, [rcx + 0x20]
mov word [rax], bx
lea rax, [rcx + 0x40]
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rbx
cmp qword [rax + 0x18], 8
jb 0x140027e84
mov rax, qword [rax]
mov word [rax], bx
mov qword [rcx + 0x78], 7
mov qword [rcx + 0x70], rbx
cmp qword [rcx + 0x78], 8
jb 0x140027ea0
mov rax, qword [rcx + 0x60]
jmp 0x140027ea4
lea rax, [rcx + 0x60]
mov word [rax], bx
lea r13, [rcx + 0x80]
mov qword [r13 + 0x18], 7
mov qword [r13 + 0x10], rbx
cmp qword [r13 + 0x18], 8
jb 0x140027ec7
mov rax, qword [r13]
jmp 0x140027eca
mov rax, r13
mov word [rax], bx
lea r12, [rcx + 0xa0]
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], rbx
cmp qword [r12 + 0x18], 8
jb 0x140027ef0
mov rax, qword [r12]
jmp 0x140027ef3
mov rax, r12
mov word [rax], bx
add rcx, 0xc0
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 8
jb 0x140027f15
mov rax, qword [rcx]
jmp 0x140027f18
mov rax, rcx
mov word [rax], bx
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
mov rdx, r10
call fcn.140007c20
nop
mov qword [rdi + 0xe0], rbx
mov qword [rdi + 0xe8], rbx
mov dword [rdi + 0xf0], ebx
mov dword [rdi + 0xf4], 0xffffffff
mov dword [rdi + 0xf8], ebx
mov qword [rdi + 0x100], rbx
mov qword [rdi + 0x108], rbx
mov qword [rdi + 0x110], rbx
mov qword [rdi + 0x118], rbx
mov qword [rdi + 0x120], rbx
lea rbx, [rdi + 0x128]
mov qword [rsp + 0x30], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
xor r8d, r8d
xor edx, edx
call fcn.14002d510
mov qword [rbx], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x24]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140028463
mov qword [rsp + 0x58], 7
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
lea r8d, [rsi + 0xb]
lea rdx, str.SmartGuard
lea rcx, [rsp + 0x40]
call fcn.140007ad0
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
cmp word [rbp + 0x30], bx
jne 0x140027fff
mov r8d, ebx
jmp 0x14002801b
lea rax, [rbp + 0x30]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140028010
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140007ad0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14001d430
nop
mov r8, qword [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.14001d430
nop
mov r8, qword [rbp - 0x58]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14001d430
nop
mov r8, qword [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001d430
mov rdx, rax
lea rcx, [rdi + 0x20]
call fcn.140007870
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140028095
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140007ea0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1400280bf
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.140007ea0
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1400280e9
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.140007ea0
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140028116
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007ea0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x140028143
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140007ea0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140028170
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007ea0
mov dword [rsp + 0x30], 0xaed5aef3
mov dword [rsp + 0x34], 0xaed8aed8
mov dword [rsp + 0x38], 0xaec6
mov ecx, ebx
mov rdx, rbx
mov r8d, 0x5146
nop dword [rax]
nop word [rax + rax]
movzx eax, cx
sub ax, r8w
xor word [rsp + rdx*2 + 0x30], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 5
jb 0x1400281a0
mov word [rsp + 0x3a], bx
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rsp + 0x30], 0
jne 0x1400281dc
mov r8, rbx
jmp 0x1400281ef
lea rax, [rsp + 0x30]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400281e4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140007ad0
nop
lea r8, [rsp + 0x40]
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001d430
mov rdx, rax
lea rcx, [rdi + 0x60]
call fcn.140007870
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14002823b
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007ea0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14002826b
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007ea0
mov dword [rsp + 0x30], 0xaedeaeee
mov dword [rsp + 0x34], 0xaecdaed1
xor eax, eax
mov word [rsp + 0x38], ax
mov ecx, ebx
mov rdx, rbx
mov r8d, 0x5146
nop dword [rax]
movzx eax, cx
sub ax, r8w
xor word [rsp + rdx*2 + 0x30], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 4
jb 0x140028290
mov word [rsp + 0x38], bx
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rsp + 0x30], 0
jne 0x1400282cc
mov r8, rbx
jmp 0x1400282df
lea rax, [rsp + 0x30]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400282d4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140007ad0
nop
lea r8, [rsp + 0x40]
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001d430
mov rdx, rax
mov rcx, r13
call fcn.140007870
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14002832a
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007ea0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14002835a
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007ea0
mov dword [rsp + 0x30], 0xaedaaefe
mov dword [rsp + 0x34], 0xaedcaec8
xor eax, eax
mov word [rsp + 0x38], ax
mov ecx, ebx
mov rdx, rbx
mov r8d, 0x5146
nop dword [rax]
movzx eax, cx
sub ax, r8w
xor word [rsp + rdx*2 + 0x30], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 4
jb 0x140028380
mov word [rsp + 0x38], bx
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rsp + 0x30], 0
jne 0x1400283bc
mov rsi, rbx
jmp 0x1400283cb
lea rax, [rsp + 0x30]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400283c1
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140007ad0
nop
lea r8, [rsp + 0x40]
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001d430
mov rdx, rax
mov rcx, r12
call fcn.140007870
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140028419
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007ea0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140028449
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007ea0
lea rcx, [rdi + 0x60]
call fcn.14001d540
mov rcx, r13
call fcn.14001d540
mov rcx, r12
call fcn.14001d540
nop
mov rax, rdi
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400784c0
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret