Function at 0x4c5e10
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66681e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6d6ec0]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
call fcn.004ba440
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.004ba440
add esp, 0x10
push 8
push 0
push 0x672494
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x4c5f7c
push 0
lea eax, [ebp - 0x58]
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push str.HashDigestLength
push dword [ebp - 0x48]
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x4c5f7c
mov ebx, dword [edi + 4]
mov ecx, ebx
mov edx, dword [edi]
sub ecx, edx
mov esi, dword [ebp - 0x50]
cmp esi, ecx
jae 0x4c5efe
lea eax, [edx + esi]
jmp 0x4c5f28
jbe 0x4c5f2b
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x4c5f17
lea eax, [ebp - 0x49]
mov ecx, edi
push eax
push esi
call fcn.00495a90
jmp 0x4c5f2b
sub esi, ecx
push esi
push 0
push ebx
call fcn.00621d30
add esp, 0xc
lea eax, [esi + ebx]
mov dword [edi + 4], eax
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push 0
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
js 0x4c5f7c
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x44]
call sub.bcrypt.dll_BCryptHashData
test eax, eax
js 0x4c5f7c
push 0
push dword [ebp - 0x50]
push dword [edi]
push dword [ebp - 0x44]
call sub.bcrypt.dll_BCryptFinishHash
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4c5f89
push eax
call sub.bcrypt.dll_BCryptDestroyHash
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4c5f98
push 0
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4c5fc8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c5fbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c6028
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4c600a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c6000
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c6028
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov eax, edi
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.0061f478
mov esp, ebp
pop ebp
ret
call fcn.00636c1b
int3