Function at 0x5dbe30
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609468
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x14
push 0x14
call fcn.00555227
add esp, 4
mov dword [ebp - 0x20], eax
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x5dc0ec
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
call fcn.0045e4b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0045e4b0
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x30]
add esi, 3
mov ecx, dword [ebp + 8]
call fcn.0045fbe0
cmp esi, eax
jae 0x5dc0d1
cmp dword [ebp - 0x18], 0
je 0x5dbf01
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x8004
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [ebp - 0x30]
push eax
push 0x68fad0
mov ecx, dword [ebp + 8]
call fcn.0048aef0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
push 0x68fb68
mov ecx, dword [ebp + 8]
call fcn.0048aef0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
call fcn.0045fbe0
cmp dword [ebp - 0x2c], eax
ja 0x5dbf5d
mov ecx, dword [ebp + 8]
call fcn.0045fbe0
cmp dword [ebp - 0x30], eax
jbe 0x5dbf62
jmp 0x5dc0d1
mov ecx, 0x68fad0
call fcn.0045fbe0
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
sub ecx, 2
push ecx
mov ecx, 0x68fad0
call fcn.0045fbe0
add eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0xec]
push edx
mov ecx, dword [ebp + 8]
call fcn.004718a0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x48]
call fcn.0045e5a0
lea ecx, [ebp - 0xec]
call fcn.0045e5e0
lea eax, [ebp - 0x48]
push eax
call fcn.005dbac0
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
push 0x68fad0
mov ecx, dword [ebp + 8]
call fcn.0048aef0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
push 0x68fad0
mov ecx, dword [ebp + 8]
call fcn.0048aef0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jae 0x5dbffd
mov ecx, dword [ebp + 8]
call fcn.0045fbe0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004718a0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0045e5a0
lea ecx, [ebp - 0xd4]
call fcn.0045e5e0
lea ecx, [ebp - 0x60]
call fcn.0045e630
mov dword [ebp - 0x64], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0045fbe0
push eax
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x5dc0cc
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 2
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x5dc0cc
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
push eax
mov ecx, 1
imul edx, ecx, 0
add edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x7c]
call fcn.005dd5a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00472d20
mov ecx, eax
call fcn.0045e610
push 0
lea ecx, [ebp - 0x7c]
call fcn.00461060
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.0045e5e0
jmp 0x5dbedb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0045e5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0045e5e0
cmp dword [ebp - 0x18], 0
je 0x5dc0fc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x14], 0
je 0x5dc10e
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x20], 0
je 0x5dc120
mov eax, dword [ebp - 0x20]
push eax
call fcn.00553e69
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055337c
mov esp, ebp
pop ebp
ret