Function at 0x44429d
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4442fd
xor edx, edx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], ebx
jbe 0x44444b
mov esi, dword [ebp + 8]
push 4
pop ecx
lea eax, [eax + edx + 0x1c]
add esi, ecx
mov edi, eax
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x4442f0
inc dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [edx + eax + 0x18]
mov eax, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x18]
jb 0x4442c2
jmp 0x44444b
lea esi, [eax + 0x18]
mov eax, dword [eax + 0x14]
mov dword [ebp + 0x10], eax
xor ebx, ebx
jmp 0x44430c
cmp esi, ebx
je 0x44444b
mov dword [ebp + 0x10], 0x10
cmp esi, ebx
je 0x44444b
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x44444b
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x444441
push ebx
push dword [ebp + 0x10]
push esi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
call esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
add edi, 0x1c
push ebx
push 0x20
push edi
push dword [ebp - 8]
call esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x3e8
jb 0x444364
push 0x20
pop edi
push ebx
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
pop esi
push esi
push dword [ebp - 8]
mov dword [ebp + 0x10], edi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x444438
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x34]
push eax
push 0x6610
push dword [ebp - 0x10]
call fcn.004029aa
add esp, 0x18
test eax, eax
je 0x444425
push ebx
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x444407
mov eax, dword [ebp + 0xc]
add eax, 0xffffffc4
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x44441a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR_kuhl_m_lsadump_sec_aes256___CryptDecrypt__0x_08x__n
jmp 0x444413
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR_kuhl_m_lsadump_sec_aes256___CryptSetKeyParam__0x_08x__n
call fcn.00407017
pop ecx
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x444438
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR_kuhl_m_lsadump_sec_aes256___kull_m_crypto_hkey__0x_08x__n
call fcn.00407017
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret