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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fea55
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 0x4a57bb
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 0x4a582f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4a57f5
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 0x4a582f
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 0x4a58b6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x4a5843
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0053c9f0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4a585f
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 0x7d
push eax
call fcn.00481110
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x4a58bc
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a58aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a59e2
push edx
push ecx
call fcn.004e7fa0
add esp, 8
jmp 0x4a58bc
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 0x4a5903
cmp dword [ebp - 0x18], 0x100
ja 0x4a5903
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 0x4a5984
call esi
test eax, eax
jle 0x4a5911
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0053c9f0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4a592d
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 0x86
push eax
call fcn.00481110
mov edx, dword [ebp - 0x3c]
add esp, 0x1c
cmp edx, 8
jb 0x4a5984
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a597a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a59e7
push edx
push ecx
call fcn.004e7fa0
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], 0x71376a
mov dword [eax + 4], 0
call fcn.004a3d90
mov eax, dword [ebp - 0x10]
add esp, 0x18
test eax, eax
je 0x4a59c0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a59d0
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.006cc674
call fcn.006cc674
int3