Function at 0x4efc30
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e6f40
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x4efc73
jmp dword [eax*4 + 0x4efef4]
mov eax, str.SHA1
jmp 0x4efc94
mov eax, 0x77f500
jmp 0x4efc94
mov eax, 0x77f4e0
jmp 0x4efc94
mov eax, 0x77f720
push 0
push 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js case.default.0x4efc73
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 4
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push str.HashDigestLength
push dword [ebp - 0x50]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jns 0x4efcee
push 0
push dword [ebp - 0x50]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
jmp case.default.0x4efc73
push dword [ebp - 0x54]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x64], esi
push 0
test esi, esi
je 0x4efce0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jns 0x4efd49
push 0
push dword [ebp - 0x50]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp case.default.0x4efc73
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x4efd6a
mov ebx, dword [ebx]
lea edx, [ebp - 0x30]
mov ecx, ebx
call fcn.0050b660
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
test eax, eax
jns 0x4efdfd
push dword [ebp - 0x50]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb case.default.0x4efc73
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4efdd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4efeee
push edx
push ecx
call fcn.0067bc93
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x54]
push esi
push dword [ebp - 0x58]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x4efe12
push 0
jmp 0x4efd94
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push dword [ebp - 0x54]
push esi
push eax
call fcn.00555880
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0x10
cmovae ecx, dword [ebp - 0x4c]
call fcn.0050b8a0
mov edx, dword [ebp - 0x38]
mov bl, 1
cmp edx, 0x10
jb 0x4efe88
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4efe66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4efee9
push edx
push ecx
call fcn.0067bc93
add esp, 8
jmp 0x4efe88
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4efe98
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4efea6
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4efee2
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4efed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4efeee
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov al, bl
jmp 0x4efddf
call fcn.00691015
call fcn.00691015
nop
jp 0x4efef2
add byte [eax + case.0x4efc73.0], dl
cmp esp, 0xfc88004e
dec esi
add byte [ecx - 0x77ffb104], al
cld
dec esi
add byte [edi - 0x33ffb104], cl
int3