Function at 0x4b2f40
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 0x6122d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4b3009
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp dword [edi + 0x14], 0x14
jae 0x4b2fba
push dword [edi + 0x10]
mov ecx, edi
push 0x14
call fcn.00403b10
cmp dword [edi + 0x14], 0x10
jb 0x4b2fc4
mov eax, dword [edi]
jmp 0x4b2fc6
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 0x4b2fea
mov eax, dword [edi]
jmp 0x4b2fec
mov eax, edi
mov byte [eax + 0x14], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4b318a
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4b318a
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x8004
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4b30b9
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [edi + 0x14], 0x14
jae 0x4b3055
push dword [edi + 0x10]
mov ecx, edi
push 0x14
call fcn.00403b10
cmp dword [edi + 0x14], 0x10
jb 0x4b305f
mov eax, dword [edi]
jmp 0x4b3061
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 0x4b3085
mov eax, dword [edi]
jmp 0x4b3087
mov eax, edi
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b30a0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b318a
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4b318a
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4b30c4
mov esi, dword [esi]
push 0
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4b3032
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
push dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4b3032
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push 0
push eax
lea edx, [edx + 1]
lea ecx, [ebp - 0x34]
call fcn.004b31b0
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, edi
test eax, eax
jne 0x4b314b
push eax
push 0x14
call fcn.0041fd30
jmp 0x4b3165
cmp dword [ebp - 0x38], 0x14
je 0x4b315c
push 0
push 0x14
call fcn.0041fd30
jmp 0x4b3165
lea eax, [ebp - 0x34]
push eax
call fcn.00416e70
lea ecx, [ebp - 0x34]
call fcn.00401720
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b3182
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.004ad8a0
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.005cd355
mov esp, ebp
pop ebp
ret