Function at 0x4929c0
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 0x511658
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x567680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x492a8b
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp dword [edi + 0x14], 0x14
jae 0x492a3c
push dword [edi + 0x10]
mov ecx, edi
push 0x14
call fcn.004010b0
cmp dword [edi + 0x14], 0x10
jb 0x492a46
mov eax, dword [edi]
jmp 0x492a48
mov eax, edi
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
mov dword [eax + 0x10], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0x14
jb 0x492a6c
mov eax, dword [edi]
jmp 0x492a6e
mov eax, edi
mov byte [eax + 0x14], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x492c6b
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x492c6b
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x492b3b
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [edi + 0x14], 0x14
jae 0x492ad7
push dword [edi + 0x10]
mov ecx, edi
push 0x14
call fcn.004010b0
cmp dword [edi + 0x14], 0x10
jb 0x492ae1
mov eax, dword [edi]
jmp 0x492ae3
mov eax, edi
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
mov dword [eax + 0x10], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0x14
jb 0x492b07
mov eax, dword [edi]
jmp 0x492b09
mov eax, edi
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x492b22
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x492c6b
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x492c6b
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x492b46
mov esi, dword [esi]
push 0
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x492ab4
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x492ab4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x2c]
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00492900
add esp, 8
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x492c37
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp dword [edi + 0x14], 0x14
jae 0x492be2
push dword [edi + 0x10]
mov ecx, edi
push 0x14
call fcn.004010b0
cmp dword [edi + 0x14], 0x10
jb 0x492bec
mov eax, dword [edi]
jmp 0x492bee
mov eax, edi
xorps xmm0, xmm0
movq qword [eax], xmm0
movq qword [eax + 8], xmm0
mov dword [eax + 0x10], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0x14
jb 0x492c12
mov eax, dword [edi]
jmp 0x492c14
mov eax, edi
lea ecx, [ebp - 0x28]
mov byte [eax + 0x14], 0
call fcn.00491090
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x492c63
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x2c], 0
jmp 0x492c63
cmp dword [ebp - 0x34], 0x14
mov ecx, edi
je 0x492c4a
push 0
push 0x14
call fcn.0041a390
jmp 0x492c53
lea eax, [ebp - 0x28]
push eax
call fcn.00414d20
lea ecx, [ebp - 0x28]
call fcn.00491090
lea ecx, [ebp - 0x2c]
call fcn.00492980
lea ecx, [ebp - 0x30]
call fcn.004929a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9514
mov esp, ebp
pop ebp
ret