Function at 0x180032400
Capabilities:
Check if file exists
Delete file
Get file attributes
Hash data using sha256

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov byte [rsp + 0x100], 0
xor eax, eax
mov qword [r11 - 0xc7], rax
mov qword [r11 - 0xbf], rax
mov qword [r11 - 0xb7], rax
mov qword [r11 - 0xaf], rax
mov qword [r11 - 0xa7], rax
mov qword [r11 - 0x9f], rax
mov qword [r11 - 0x97], rax
mov dword [rsp + 0x139], eax
mov word [rsp + 0x13d], ax
mov byte [rsp + 0x13f], al
lea rdx, [r11 - 0xc8]
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x180032490
mov edi, WSAGetLastError
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1800cc600
xor r11d, r11d
mov dword [rsp + 0x64], r11d
mov dword [rsp + 0x68], 0x6a09e667
mov dword [rsp + 0x6c], 0xbb67ae85
mov dword [rsp + 0x70], 0x3c6ef372
mov dword [rsp + 0x74], 0xa54ff53a
mov dword [rsp + 0x78], 0x510e527f
mov dword [rsp + 0x7c], 0x9b05688c
mov dword [rsp + 0x80], 0x1f83d9ab
mov dword [rsp + 0x84], 0x5be0cd19
mov dword [rsp + 0xc8], r11d
mov ebx, 0x40
lea rsi, [rsp + 0x100]
mov dword [rsp + 0x60], ebx
nop dword [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.18004ea90
test eax, eax
jne 0x180032569
add rsi, 0x40
sub rbx, 0x40
cmp rbx, 0x40
jae 0x180032520
test rbx, rbx
je 0x180032557
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.1800cbb10
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x60]
call fcn.18004f5d0
lea rax, [rsp + 0x60]
nop
mov byte [rax], 0
inc rax
sub rdi, 1
jne 0x180032570
lea rdx, [rsp + 0x160]
lea r8, [rsp + 0x141]
lea r9d, [rdi + 8]
lea r10, [0x180127ad0]
nop word [rax + rax]
movzx eax, byte [r8 - 1]
movzx ecx, word [r10 + rax*2]
mov word [rsp + 0x20], cx
mov byte [rdx], cl
movzx eax, byte [rsp + 0x21]
mov byte [rdx + 1], al
movzx eax, byte [r8]
movzx ecx, word [r10 + rax*2]
mov word [rsp + 0x20], cx
mov byte [rdx + 2], cl
movzx eax, byte [rsp + 0x21]
mov byte [rdx + 3], al
movzx eax, byte [r8 + 1]
movzx ecx, word [r10 + rax*2]
mov word [rsp + 0x20], cx
mov byte [rdx + 4], cl
movzx eax, byte [rsp + 0x21]
mov byte [rdx + 5], al
movzx eax, byte [r8 + 2]
movzx ecx, word [r10 + rax*2]
mov word [rsp + 0x20], cx
mov byte [rdx + 6], cl
movzx eax, byte [rsp + 0x21]
mov byte [rdx + 7], al
add rdx, 8
add r8, 4
sub r9, 1
jne 0x1800325a0
mov byte [rdx], r9b
mov byte [rsp + 0x180], r9b
xor ecx, ecx
call fcn.1800ca7e8
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.180031c30
nop
lea rcx, [rsp + 0x30]
call fcn.180002b30
mov rdi, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, 2
test eax, eax
je 0x1800326a5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18003266a
test al, 0x10
jne 0x1800326a5
lea rcx, [rsp + 0x30]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800326a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
sub ecx, eax
neg ecx
sbb eax, eax
je 0x1800326a5
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov eax, 1
jmp 0x18003274a
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xd0]
call fcn.180031d70
lea rcx, [rsp + 0xd0]
call fcn.180002b30
mov rdi, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180032730
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800326e9
test al, 0x10
jne 0x180032730
lea rcx, [rsp + 0xd0]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x180032730
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub ebx, eax
neg ebx
sbb eax, eax
je 0x180032730
lea rcx, [rsp + 0xd0]
call fcn.180002b10
nop
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov eax, 1
jmp 0x18003274a
lea rcx, [rsp + 0xd0]
call fcn.180002b10
nop
lea rcx, [rsp + 0x30]
call fcn.180002b10
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret