Function at 0x180025d00
Capabilities:
Enumerate files on windows
Get thread local storage value
Hash data using sha512
Read file on windows
Set thread local storage value

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x5f8]
sub rsp, 0x6f8
mov rax, qword [0x180039000]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r13, rcx
mov r15, rdx
mov r9, rdx
lea rcx, [rbp + 0x1d0]
lea r8, str._s
mov edx, 0x208
call fcn.18000f09c
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1800260b5
mov qword [rsp + 0x740], rsi
mov ebx, 0x2c
movabs rdi, 0x6a09e667f3bcc908
mov qword [rsp + 0x6f0], r12
nop dword [rax + rax]
test byte [rbp - 0x80], 0x10
jne 0x180026085
lea rax, [rbp - 0x54]
lea r8, str._s_s
lea rcx, [rbp + 0x1d0]
mov r9, r15
mov edx, 0x208
mov qword [rsp + 0x20], rax
call fcn.18000f09c
mov ecx, 0x10110
call sym.dcapi.dll_secure_alloc
mov r12, rax
test rax, rax
jne 0x180025dd8
lea ebx, [rax + 9]
jmp 0x180026081
xor ebx, ebx
lea rcx, [rbp + 0x1d0]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180025e15
lea ebx, [rax + 0xe]
jmp 0x180025f81
movabs rax, 0xbb67ae8584caa73b
lea r9, [rsp + 0x48]
lea rdx, [r12 + 0xd0]
mov qword [r12 + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov r8d, 0x10000
mov qword [r12 + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov rcx, rsi
mov qword [r12 + 0x18], rax
movabs rax, 0x510e527fade682d1
mov dword [r12 + 0x48], ebx
mov qword [r12 + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [r12 + 0x40], rbx
mov qword [r12 + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [r12], rdi
mov qword [r12 + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x20], rbx
mov qword [r12 + 0x38], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180025ef1
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x180025ef1
lea rdx, [r12 + 0xd0]
mov r8d, eax
mov rcx, r12
call fcn.18001df60
lea r9, [rsp + 0x48]
lea rdx, [r12 + 0xd0]
mov r8d, 0x10000
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180025eb1
lea rdx, [r12 + 0x100d0]
mov rcx, r12
call fcn.18001de80
movsxd rdx, dword [r13]
mov eax, pe_nt_image_headers64
sub eax, edx
lea rcx, [rdx + r13 + 4]
xor edx, edx
movsxd r8, eax
call fcn.180011ff0
mov rcx, r12
lea rdx, [r13 + 4]
sub rcx, r13
mov edi, 4
nop word [rax + rax]
mov eax, dword [rcx + rdx + 0x100cc]
add rdx, 0x10
add dword [rdx - 0x10], eax
mov eax, dword [rcx + rdx + 0x100c0]
add dword [rdx - 0xc], eax
mov eax, dword [rcx + rdx + 0x100c4]
add dword [rdx - 8], eax
mov eax, dword [rcx + rdx + 0x100c8]
add dword [rdx - 4], eax
dec rdi
jne 0x180025f30
mov eax, dword [r13]
mov ecx, 0x40
cmp eax, ecx
cmovg ecx, eax
mov dword [r13], ecx
test rsi, rsi
je 0x180025f81
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x18003cd00]
mov qword [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x180025fda
mov qword [rsp + 0x30], rsi
lea rcx, str..dcrypt
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180026019
mov ecx, dword [0x18003cd00]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x4c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 8
mov edx, 0x220064
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180026064
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180026064
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x180026064
mov rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], rcx
jne 0x180026069
cmp qword [rsp + 0x58], rcx
jne 0x180026069
mov rdi, rcx
mov rcx, qword [rsp + 0x68]
xor eax, eax
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualUnlock]
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
movabs rdi, 0x6a09e667f3bcc908
test ebx, ebx
jne 0x18002609a
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180025d90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rsp + 0x6f0]
mov rsi, qword [rsp + 0x740]
jmp 0x1800260c2
mov rdx, r15
mov rcx, r13
call fcn.1800259f0
mov ebx, eax
xor eax, eax
lea rdi, [rbp - 0x80]
mov ecx, 0x250
rep stosb byte [rdi], al
lea rdi, [rbp + 0x1d0]
mov ecx, 0x410
rep stosb byte [rdi], al
mov eax, ebx
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.18000eda0
add rsp, 0x6f8
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret