Function at 0x46ff84
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get common file path
Get file attributes
Hash data with md5
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xab8]
sub rsp, 0xb90
xor r12d, r12d
lea rax, [rbp - 8]
mov edx, 0x104
mov qword [rbp - 0x18], rax
mov r15, rcx
mov dword [rbp - 0xc], edx
lea rcx, [0x0048d7e0]
mov dword [rbp + 0x214], edx
mov qword [rbp - 0x20], rcx
lea rax, [rbp + 0x218]
mov qword [rbp + 0x200], rcx
lea r8d, [r12 + 0x58]
xor edx, edx
mov dword [rbp - 0x10], r12d
lea rcx, [rbp - 0x80]
mov word [rbp - 8], r12w
mov qword [rbp + 0x208], rax
mov dword [rbp + 0x210], r12d
mov word [rbp + 0x218], r12w
call fcn.00424830
lea rax, [rbp - 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r12 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x470040
mov edx, dword [rbp - 0xc]
call fcn.004293f8
mov dword [rbp - 0x10], eax
jmp 0x470044
mov dword [rbp - 0x10], r12d
mov rcx, qword [rbp + 0x208]
test rcx, rcx
je 0x4700aa
mov edi, dword [0x004b9090]
mov eax, dword [rbp + 0x214]
cmp edi, eax
jb 0x470063
lea edi, [rax - 1]
mov rdx, qword [0x004b9088]
mov eax, edi
lea rbx, [rax + rax]
mov r8, rbx
call fcn.00424180
mov rax, qword [rbp + 0x208]
mov dword [rbp + 0x210], edi
mov word [rbx + rax], r12w
mov rcx, qword [rbp + 0x208]
test rcx, rcx
je 0x4700aa
mov edx, dword [rbp + 0x210]
inc edx
call fcn.0043a080
mov rcx, qword [rbp + 0x208]
mov r8d, dword [rbp + 0x210]
mov rdx, rcx
add r8d, r8d
mov byte [rbp - 0x28], r12b
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x70], 0x67452301
mov dword [rsp + 0x74], 0xefcdab89
mov dword [rsp + 0x78], 0x98badcfe
mov dword [rsp + 0x7c], 0x10325476
call fcn.00460f78
lea rcx, [rsp + 0x70]
call fcn.0046105c
mov rdi, qword [rbp + 0x208]
or r13, 0xffffffffffffffff
mov r14d, dword [rbp + 0x214]
test rdi, rdi
je 0x47015d
cmp byte [rbp - 0x28], r12b
je 0x470152
cmp r14d, 0x21
jb 0x470152
mov ebx, r12d
lea rsi, [rbp - 0x38]
movzx r8d, byte [rsi]
lea ecx, [rbx + rbx]
mov edx, r14d
mov dword [rsp + 0x20], r8d
sub edx, ecx
lea r9, [0x00486270]
lea rcx, [rdi + rcx*2]
mov r8, r13
call fcn.004020a8
inc ebx
inc rsi
cmp ebx, 0x10
jb 0x47011d
mov word [rdi + 0x40], r12w
jmp 0x47015d
mov rax, qword [rbp + 0x208]
mov word [rax], r12w
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rbp - 0x10]
test rdx, rdx
je 0x470296
lea eax, [rcx + 0xc]
cmp eax, dword [rbp - 0xc]
jae 0x4701a9
movups xmm0, xmmword [str.MetaQuotes_]
movups xmmword [rdx + rcx*2], xmm0
movsd xmm1, qword [0x00498478]
movsd qword [rdx + rcx*2 + 0x10], xmm1
mov eax, dword [rbp - 0x10]
add eax, 0xc
mov dword [rbp - 0x10], eax
mov ecx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x470296
mov r9, qword [r15 + 0xa8]
add r9, 0xa64
je 0x470207
mov rbx, r13
inc rbx
cmp word [r9 + rbx*2], r12w
jne 0x4701c5
test ebx, ebx
je 0x470207
lea eax, [rcx + rbx]
cmp eax, dword [rbp - 0xc]
jae 0x470207
lea rcx, [rdx + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, r9
call fcn.00424180
mov eax, dword [rbp - 0x10]
add eax, ebx
mov dword [rbp - 0x10], eax
mov ecx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x470296
lea eax, [rcx + 1]
cmp eax, dword [rbp - 0xc]
jae 0x47023d
movzx eax, word [0x0048d7c4]
mov word [rdx + rcx*2], ax
mov eax, dword [rbp - 0x10]
inc eax
mov dword [rbp - 0x10], eax
mov ecx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x470296
mov rax, qword [rbp + 0x208]
test rax, rax
je 0x470296
mov rbx, r13
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x470251
test ebx, ebx
je 0x470296
lea eax, [rcx + rbx]
cmp eax, dword [rbp - 0xc]
jae 0x470296
mov eax, ecx
mov r8d, ebx
add r8, r8
lea rcx, [rdx + rax*2]
mov rdx, qword [rbp + 0x208]
call fcn.00424180
mov eax, dword [rbp - 0x10]
add eax, ebx
mov dword [rbp - 0x10], eax
mov ecx, eax
mov rax, qword [rbp - 0x18]
mov word [rax + rcx*2], r12w
mov rdx, qword [rbp - 0x18]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4704f1
lea rax, [0x004837b8]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x30], rax
lea rdx, [0x004985e0]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x44], select
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov word [rsp + 0x48], r12w
call fcn.00403ec4
cmp dword [rbp - 0x10], 1
lea rax, [0x004985d8]
mov qword [rsp + 0x30], rax
mov bl, 1
lea rax, [rbp + 0x438]
mov dword [rbp + 0x430], r12d
mov qword [rbp + 0x428], rax
lea rax, [0x0048e198]
mov qword [rbp + 0x420], rax
mov dword [rbp + 0x434], 0x200
mov word [rbp + 0x438], r12w
jb 0x4704f1
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x4704f1
cmp word [r8], r12w
je 0x4704f1
cmp dword [rbp - 0x10], 3
jbe 0x4704f1
mov r9, qword [rsp + 0x38]
lea r14, [0x00491de8]
mov rdx, r14
lea rcx, [rbp + 0x420]
call fcn.004012e8
mov rcx, qword [rbp + 0x428]
lea rdx, [rbp + 0x840]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov esi, 0x80
cmp rax, r13
je 0x4704be
test byte [rbp + 0x840], 0x10
je 0x470444
cmp word [rbp + 0x86c], 0x2e
movzx eax, word [rbp + 0x86e]
jne 0x4703d5
test ax, ax
je 0x47049d
cmp word [rbp + 0x86c], 0x2e
jne 0x4703d5
cmp ax, 0x2e
jne 0x4703d5
cmp word [rbp + 0x870], r12w
je 0x47049d
mov r8, qword [rbp - 0x18]
lea r9, [rbp + 0x86c]
mov rdx, r14
lea rcx, [rbp + 0x420]
call fcn.004012e8
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x420]
call fcn.0041e35c
mov rcx, qword [rbp + 0x428]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47049d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47049a
mov rcx, qword [rbp + 0x428]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbp + 0x428]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x470496
mov r8, qword [rbp - 0x18]
lea r9, [rbp + 0x86c]
mov rdx, r14
lea rcx, [rbp + 0x420]
call fcn.004012e8
mov rcx, qword [rbp + 0x428]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x47049d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47049a
mov rcx, qword [rbp + 0x428]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbp + 0x428]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x47049d
mov bl, r12b
lea rdx, [rbp + 0x840]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x470390
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x4704f1
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4704f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4704f1
mov rcx, qword [rbp - 0x18]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x70]
call fcn.00460f44
lea r11, [rsp + 0xb90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret