Function at 0x403370
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413820
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x468
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x46c], esi
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
jbe 0x4033df
mov eax, dword [eax]
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x403620
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x403620
lea eax, [ebp - 0x440]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x403620
push 0
lea eax, [ebp - 0x44c]
push eax
push 0x400
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4034b0
nop word [eax + eax]
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x4034b0
push 0
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x44c]
push eax
push 0x400
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403470
push 0
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0x20
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
mov dword [ebp - 0x454], 0
movups xmmword [ebp - 0x464], xmm0
mov dword [ebp - 0x450], 0xf
mov byte [ebp - 0x464], 0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x448], eax
jbe 0x4035f3
nop word [eax + eax]
movzx eax, byte [ebp + eax - 0x34]
push eax
push str._02x
lea eax, [ebp - 0x43c]
push 3
push eax
call fcn.00401080
lea esi, [ebp - 0x43c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403565
mov edx, dword [ebp - 0x450]
sub esi, ecx
mov ecx, dword [ebp - 0x454]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x4035b4
lea eax, [esi + ecx]
cmp edx, 0xf
mov dword [ebp - 0x454], eax
lea edi, [ebp - 0x464]
cmova edi, dword [ebp - 0x464]
lea eax, [ebp - 0x43c]
add edi, ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4035d4
lea eax, [ebp - 0x43c]
mov byte [ebp - 0x46c], 0
push eax
push dword [ebp - 0x46c]
lea ecx, [ebp - 0x464]
push esi
call fcn.004065c0
mov eax, dword [ebp - 0x468]
inc eax
mov dword [ebp - 0x468], eax
cmp eax, dword [ebp - 0x448]
jb 0x403540
mov esi, dword [ebp - 0x470]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x464]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x454]
movq qword [esi + 0x10], xmm0
jmp 0x40362c
push 0x415323
mov ecx, esi
call fcn.00404d00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041263b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc