Function at 0x180026320
Capabilities:
Create new key via cryptacquirecontext
Get file size
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x250
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x180170038]
xor rax, rsp
mov qword [rbp + 0x1e8], rax
xor ebx, ebx
lea rcx, [rbp + 0x120]
call fcn.180026000
nop
lea rcx, [rbp + 0xc8]
call fcn.180026000
mov rdi, rax
lea rcx, [rbp + 0xa8]
call fcn.180025d80
nop
lea r8d, [rbx + 1]
lea rdx, [0x180153774]
mov rcx, rax
call fcn.180041c20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r9, rdi
lea r8, [rbp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.180045bc0
nop
lea rcx, [rbp + 0x40]
call fcn.180014700
nop
lea rcx, [rbp + 0xa8]
call fcn.180014700
nop
lea rcx, [rbp + 0xc8]
call fcn.180014700
movabs rax, 0x9a3cf86f62691291
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x53b33af110d7869d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x5eb69b2937ed39c3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xd39b327a2e74c141
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xdaa896e88e1751af
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rcx, 0x5b2a82a0079abe72
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs r14, 0xfb59ca0d5b5877a5
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs r15, 0x65d5099429e6beae
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs r12, 0x3a8ea91b07d85ca7
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rsi, 0xeafe074a1741a720
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0xe899f289ba2164c9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x140]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x160]
vmovdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rcx, qword [rbp + 0x100]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180026689
movabs rax, 0xdb3da3613a2e19ec
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x33f56cf84d88dfe6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x3a8ea91b62ad30c6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0x20], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rbx
lea rax, [rbp + 0x20]
mov r8, rdi
vzeroupper
inc r8
cmp byte [rax + r8], 0
jne 0x180026632
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.18000a1e0
lea rax, [rbp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x40]
xor ecx, ecx
call fcn.180097260
nop
lea rcx, [rbp + 0x40]
call fcn.180014770
jmp 0x18002689c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
je 0x180026893
mov ecx, r14d
call fcn.18011f224
mov rsi, rax
mov dword [rbp + 0xec], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xec]
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18002688b
cmp dword [rbp + 0xec], r14d
jne 0x18002688b
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
lea rcx, [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x18002688b
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x18002675a
mov rcx, rsi
call fcn.18011f0d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x18002689c
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, rsi
test eax, eax
jne 0x1800267a6
call fcn.18011f0d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x18002689c
call fcn.18011f0d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0xe8], socket
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0xe8]
lea r8, [rbp + 0x1d0]
mov edx, 2
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rbp + 0xf0]
test eax, eax
je 0x18002678c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], rax
mov byte [rbp + 0x1c8], al
cmp dword [rbp + 0xe8], eax
jbe 0x180026863
nop word [rax + rax]
mov eax, ebx
movzx r9d, byte [rbp + rax + 0x1d0]
lea ecx, [rbx + rbx]
lea rax, [rbp + 0x1a0]
add rcx, rax
lea r8, str._02x
mov edx, 3
call fcn.180023b50
inc ebx
cmp ebx, dword [rbp + 0xe8]
jb 0x180026830
lea rax, [rbp + 0x1a0]
lea r8, [rbp + 0x60]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180026884
inc rax
test ecx, ecx
jne 0x180026871
test edx, edx
sete bl
jmp 0x18002689e
mov rcx, rsi
call fcn.18011f0d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
lea rcx, [rbp + 0x100]
call fcn.180014700
nop
lea rcx, [rbp + 0x120]
call fcn.180014700
movzx eax, bl
mov rcx, qword [rbp + 0x1e8]
xor rcx, rsp
call fcn.18011eb40
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret