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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731af5
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 0x4b770b
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 0x4b777f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4b7745
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 0x4b777f
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 0x4b7806
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x4b7793
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0055f420
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4b77af
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.0048c050
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x4b780c
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b77fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b792b
push edx
push ecx
call fcn.00503df0
add esp, 8
jmp 0x4b780c
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 0x4b784f
cmp dword [ebp - 0x18], 0x100
ja 0x4b784f
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 0x4b78cd
call esi
test eax, eax
jle 0x4b785d
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0055f420
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4b7879
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.0048c050
mov edx, dword [ebp - 0x3c]
add esp, 0x1c
cmp edx, 8
jb 0x4b78cd
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b78c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7930
push edx
push ecx
call fcn.00503df0
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], 0x749c2a
mov dword [eax + 4], 0
call fcn.004b5cb0
mov eax, dword [ebp - 0x10]
add esp, 0x18
test eax, eax
je 0x4b7909
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b7919
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.006fee64
call fcn.006fee64
int3