Function at 0x1401d93d0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Encode data using xor
Get file attributes
Get file size

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
lea r15, [rcx + 0x20]
mov rdi, rcx
mov rcx, r15
mov qword [rbp - 0x11], r15
call qword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401d96d0
mov rax, qword [0x140549208]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, r15
mov qword [rsp + 0xa0], rsi
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], 3
call rax
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1401d96c8
xor edx, edx
mov qword [rsp + 0xa8], rbx
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetFileSize]
mov rcx, rsi
mov ebx, eax
call qword [0x140549178]
test ebx, ebx
je 0x1401d96c0
mov qword [rsp + 0x98], r12
mov rdx, r15
mov qword [rsp + 0x90], r13
lea r12, [rdi + 0x18]
lea r13, [rdi + 0x10]
mov r9, r12
mov r8, r13
call fcn.1401d99b0
test al, al
je 0x1401d96b0
mov eax, dword [r12]
mov rcx, qword [r13]
mov qword [rbp - 0x19], rcx
mov dword [rbp - 0x29], 0
test eax, eax
je 0x1401d9698
mov qword [rsp + 0x88], r14
mov r15d, eax
xor eax, eax
mov word [rbp + 0x67], 0x3731
mov byte [rbp + 0x69], al
nop dword [rax]
movsxd rcx, eax
xor byte [rbp + rcx + 0x67], al
inc eax
cmp eax, 2
jb 0x1401d94d0
lea rcx, [rbp + 0x67]
mov byte [rbp + 0x69], 0
call fcn.1403d6dc0
mov edi, eax
mov dword [rbp + 1], 0x46347930
xor eax, eax
mov dword [rbp + 5], 0x32323246
mov byte [rbp + 0xd], al
xor ecx, ecx
mov dword [rbp + 9], 0x33383c39
nop dword [rax]
movsxd rax, ecx
xor byte [rbp + rax + 1], cl
inc ecx
cmp ecx, 0xc
jb 0x1401d9510
xor eax, eax
mov byte [rbp + 0xd], 0
mov byte [rbp + 0x71], al
xor ecx, ecx
mov word [rbp + 0x6f], 0x3731
nop
movsxd rax, ecx
xor byte [rbp + rax + 0x6f], cl
inc ecx
cmp ecx, 2
jb 0x1401d9530
lea rcx, [rbp + 0x6f]
mov byte [rbp + 0x71], 0
call fcn.1403d6dc0
mov ebx, eax
mov dword [rbp - 0x20], 0x33347930
xor edx, edx
mov word [rbp - 0x1c], 0x30
nop dword [rax]
movsxd rcx, edx
xor byte [rbp + rcx - 0x20], dl
inc edx
cmp edx, 5
jb 0x1401d9560
xor eax, eax
mov byte [rbp - 0x1b], 0
mov byte [rbp + 0x79], al
xor ecx, ecx
mov word [rbp + 0x77], 0x3731
nop
movsxd rax, ecx
xor byte [rbp + rax + 0x77], cl
inc ecx
cmp ecx, 2
jb 0x1401d9580
lea rcx, [rbp + 0x77]
mov byte [rbp + 0x79], 0
call fcn.1403d6dc0
mov r14d, eax
mov dword [rbp - 9], 0x33417930
xor ecx, ecx
mov dword [rbp - 5], 0x42444040
mov word [rbp - 1], 0x4d
nop dword [rax]
nop dword [rax + rax]
movsxd rax, ecx
xor byte [rbp + rax - 9], cl
inc ecx
cmp ecx, 9
jb 0x1401d95c0
xor eax, eax
mov byte [rbp], 0
mov byte [rbp + 0x81], al
xor ecx, ecx
mov word [rbp + 0x7f], 0x3131
movsxd rax, ecx
xor byte [rbp + rax + 0x7f], cl
inc ecx
cmp ecx, 2
jb 0x1401d95e2
lea rcx, [rbp + 0x7f]
mov byte [rbp + 0x81], 0
call fcn.1403d6dc0
mov esi, eax
mov dword [rbp - 0x25], 0x30303132
xor eax, eax
mov byte [rbp - 0x21], al
xor edx, edx
movsxd rcx, edx
xor byte [rbp + rcx - 0x25], dl
inc edx
cmp edx, 4
jb 0x1401d9610
mov r8d, ebx
mov byte [rbp - 0x21], al
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1403d6cb0
mov r8d, edi
lea rcx, [rbp + 1]
xor edx, edx
mov ebx, eax
call fcn.1403d6cb0
movzx ecx, al
mov r8d, esi
movzx edi, bl
xor edx, edx
imul edi, ecx
lea rcx, [rbp - 0x25]
call fcn.1403d6cb0
movsxd rsi, dword [rbp - 0x29]
mov r8d, r14d
movzx ecx, sil
xor edx, edx
movzx ebx, al
imul ebx, ecx
lea rcx, [rbp - 9]
add bl, dil
call fcn.1403d6cb0
mov rdx, qword [rbp - 0x19]
add al, bl
xor byte [rsi + rdx], al
inc esi
mov dword [rbp - 0x29], esi
cmp esi, r15d
jb 0x1401d94c2
mov r15, qword [rbp - 0x11]
mov r14, qword [rsp + 0x88]
mov rcx, r15
call fcn.1403e0638
mov r8, qword [r12]
mov r9, r15
mov rdx, qword [r13]
call fcn.1401d9ae0
mov r12, qword [rsp + 0x98]
mov r13, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop rdi
pop rbp
ret