Function at 0x5dc660
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 0x609529
mov eax, dword fs:[0]
push eax
sub esp, 0x134
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 byte [ebp - 0x11], 1
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x5dc6d0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x5dc6d0
mov dword [ebp - 0x138], 1
jmp 0x5dc6da
mov dword [ebp - 0x138], 0
mov dl, byte [ebp - 0x138]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x5dc79a
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x5dc79a
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0x8004
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x5dc79a
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x5dc79a
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x5dc79a
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
call fcn.00555227
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5dc79a
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 2
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x5dc79a
mov dword [ebp - 0x138], 1
jmp 0x5dc7a4
mov dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
mov byte [ebp - 0x11], al
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00460da0
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x5dc93f
push 0
push 0x68fb30
lea ecx, [ebp - 0x3c]
call fcn.0048aef0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
call fcn.0045fbe0
cmp dword [ebp - 0x40], eax
jbe 0x5dc824
push 0x68fab8
mov ecx, 0x68fb68
call fcn.0045e610
push 0x68fb00
mov ecx, 0x68fb30
call fcn.0045e610
push 0
push 0x68fb30
lea ecx, [ebp - 0x3c]
call fcn.0048aef0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
call fcn.0045fbe0
cmp dword [ebp - 0x40], eax
jbe 0x5dc83a
mov byte [ebp - 0x11], 0
jmp 0x5dc93f
mov eax, dword [ebp - 0x40]
add eax, 1
push eax
push 0x633e3c
lea ecx, [ebp - 0x3c]
call fcn.00477340
mov dword [ebp - 0x44], eax
mov ecx, 0x68fb30
call fcn.0045fbe0
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
push ecx
mov ecx, 0x68fb30
call fcn.0045fbe0
add eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004718a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.005db740
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
push eax
mov ecx, 1
imul edx, ecx, 0
add edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x8c]
call fcn.005dd5a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.0045fbe0
push eax
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004718a0
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0045e640
test eax, eax
jne 0x5dc8fa
mov dword [ebp - 0x13c], 1
jmp 0x5dc904
mov dword [ebp - 0x13c], 0
mov dl, byte [ebp - 0x13c]
mov byte [ebp - 0x11], dl
lea ecx, [ebp - 0x12c]
call fcn.0045e5e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.0045e5e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0045e5e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0045e5e0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x5dcb53
lea ecx, [ebp - 0x94]
call fcn.0045ec80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.0045ecb0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.005dbbd0
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.0045ec80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.0045ecb0
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00460da0
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x13c]
push eax
call fcn.005dbe30
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.0045e5e0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00461390
lea ecx, [ebp - 0x9c]
call fcn.00473df0
mov esi, eax
lea ecx, [ebp - 0x94]
call fcn.00473df0
cmp esi, eax
jne 0x5dca1f
mov dword [ebp - 0x138], 1
jmp 0x5dca29
mov dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
mov byte [ebp - 0x11], al
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00461390
jmp 0x5dca51
lea ecx, [ebp - 0xa4]
call fcn.00472da0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x5dcb35
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0045eca0
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045ed80
movzx ecx, al
test ecx, ecx
je 0x5dcb35
lea ecx, [ebp - 0xa4]
call fcn.0045ed50
push eax
lea ecx, [ebp - 0x94]
call fcn.00472d20
mov ecx, eax
call fcn.0045fbe0
push eax
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045ed50
add eax, 0x18
mov ecx, eax
call fcn.004718a0
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x13c]
push edx
lea ecx, [ebp - 0xa4]
call fcn.0045ed50
push eax
lea ecx, [ebp - 0x94]
call fcn.00472d20
mov ecx, eax
call fcn.0045e640
test eax, eax
jne 0x5dcb0e
mov dword [ebp - 0x140], 1
jmp 0x5dcb18
mov dword [ebp - 0x140], 0
mov al, byte [ebp - 0x140]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.0045e5e0
jmp 0x5dca46
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.0045da60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0045da60
cmp dword [ebp - 0x20], 0
je 0x5dcb65
mov eax, dword [ebp - 0x20]
push eax
call fcn.00553e69
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x5dcb75
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x18], 0
je 0x5dcb87
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x12], al
mov cl, byte [ebp - 0x12]
mov byte [ebp - 0x12d], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0045e5e0
mov al, byte [ebp - 0x12d]
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