Function at 0x4be480
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73e1c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
mov byte [ebp - 4], 1
call edi
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4be4eb
call esi
push 0
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4be55f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4be525
call esi
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4be55f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4be5e6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x4be573
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0056bca0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4be58f
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 4]
push str.failed_to_create_MD5_hash:__s
push 1
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x69
push eax
call fcn.00491a40
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x4be5ec
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4be5da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be70b
push edx
push ecx
call fcn.00512900
add esp, 8
jmp 0x4be5ec
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 4
push eax
push 4
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x4be62f
cmp dword [ebp - 0x18], 0x100
ja 0x4be62f
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x150]
push eax
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4be6ad
call esi
test eax, eax
jle 0x4be63d
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0056bca0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4be659
mov eax, dword [eax]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp + 4]
push str.failed_to_retrieve_MD5_hash_with_length__u:__s
push 1
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x72
push eax
call fcn.00491a40
mov edx, dword [ebp - 0x3c]
add esp, 0x1c
cmp edx, 8
jb 0x4be6ad
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4be6a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be710
push edx
push ecx
call fcn.00512900
add esp, 8
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x150]
mov esi, dword [ebp + 8]
push str.:02x
sub esp, 8
mov eax, esp
push ecx
push edx
push esi
mov dword [eax], 0x757eea
mov dword [eax + 4], 0
call fcn.004bca90
mov eax, dword [ebp - 0x10]
add esp, 0x18
test eax, eax
je 0x4be6e9
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4be6f9
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0070b6e4
call fcn.0070b6e4
int3