Function at 0x427550
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d400c
mov eax, dword fs:[0]
push eax
mov eax, 0x1008c
call fcn.004b4a40
mov eax, dword [0x50f52c]
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 eax, dword [ebp + 0xa4]
mov dword [ebp - 0x10094], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x24]
mov edi, 8
mov dword [ebp - 0x10088], ebx
cmp dword [ebp + 0x38], edi
jae 0x4275a9
lea eax, [ebp + 0x24]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10098], esi
mov dword [ebp - 0x10070], ebx
cmp esi, 0xffffffff
je 0x427b75
xor ecx, ecx
push 7
mov word [ebp - 0x10080], cx
push str.UTILITY
lea ecx, [ebp - 0x10084]
mov dword [ebp - 0x1006c], 7
call fcn.00401860
mov byte [ebp - 4], 1
lea edx, [ebp + 0x20]
push edx
lea eax, [ebp - 0x30]
push str.Successfully_opened
push eax
call fcn.00401a30
mov byte [ebp - 4], 2
push 0x4e253c
push eax
lea ecx, [ebp - 0x10060]
push ecx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 3
lea edx, [ebp - 0x10084]
push edx
push eax
call fcn.00419d40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10048], edi
jb 0x427657
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x10048], 7
mov dword [ebp - 0x1004c], ebx
mov word [ebp - 0x1005c], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x427685
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1006c], edi
jb 0x4276af
mov ecx, dword [ebp - 0x10080]
push ecx
call fcn.004b29fa
add esp, 4
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x10068]
xor edx, edx
push eax
mov dword [ebp - 0x1006c], 7
mov dword [ebp - 0x10070], ebx
mov word [ebp - 0x10080], dx
mov dword [ebp - 0x10068], ebx
mov dword [ebp - 0x10064], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push str.UTILITY
test eax, eax
je 0x427aae
lea ecx, [ebp - 0x10060]
call fcn.004019e0
mov byte [ebp - 4], 7
push str.Successfully_acquired_context.
lea ecx, [ebp - 0x10084]
call fcn.004019e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10060]
push ecx
lea edx, [ebp - 0x10084]
push edx
call fcn.00419d40
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1006c], edi
jb 0x427748
mov eax, dword [ebp - 0x10080]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1006c], 7
mov dword [ebp - 0x10070], ebx
mov word [ebp - 0x10080], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10048], edi
jb 0x42777b
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.004b29fa
add esp, 4
mov edx, dword [ebp - 0x10068]
lea ecx, [ebp - 0x10064]
push ecx
push ebx
push ebx
push 0x8003
xor eax, eax
push edx
mov dword [ebp - 0x10048], 7
mov dword [ebp - 0x1004c], ebx
mov word [ebp - 0x1005c], ax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push str.UTILITY
lea ecx, [ebp - 0x10060]
test eax, eax
je 0x427a4b
call fcn.004019e0
mov byte [ebp - 4], 0xb
push str.Successfully_created_hash.
lea ecx, [ebp - 0x30]
call fcn.004019e0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.00490320
push 0xffff
lea edx, [ebp - 0x10043]
push ebx
push edx
mov byte [ebp - 0x10044], bl
call fcn.004b32f0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea eax, [ebp - 0x1008c]
push eax
push 0x10000
lea ecx, [ebp - 0x10044]
push ecx
push esi
mov dword [ebp - 0x1008c], ebx
call edi
cmp eax, ebx
je 0x4278f7
lea esp, [esp]
mov ecx, dword [ebp - 0x1008c]
cmp ecx, ebx
je 0x4278f7
mov eax, dword [ebp - 0x10064]
push ebx
push ecx
lea edx, [ebp - 0x10044]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x427895
push ebx
lea ecx, [ebp - 0x1008c]
push ecx
push 0x10000
lea edx, [ebp - 0x10044]
push edx
push esi
call edi
cmp eax, ebx
jne 0x427850
jmp 0x4278f7
push str.UTILITY
lea ecx, [ebp - 0x10060]
call fcn.004019e0
mov byte [ebp - 4], 0xf
push str.Failed_to_hash_data.
lea ecx, [ebp - 0x30]
call fcn.004019e0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.00490320
call fcn.0041a730
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10088], eax
xor eax, eax
mov ecx, 8
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x43], ebx
mov dword [ebp - 0x3f], ebx
mov dword [ebp - 0x3b], ebx
mov word [ebp - 0x37], bx
mov byte [ebp - 0x35], bl
movsw word es:[edi], word [esi]
cmp eax, ebx
je 0x427a09
mov ecx, dword [ebp - 0x10064]
push ebx
lea edx, [ebp - 0x10090]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
push ecx
mov dword [ebp - 0x10090], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4279a9
mov edi, dword [ebp - 0x10094]
push 0x4e25d8
mov ecx, edi
call fcn.00409f50
xor esi, esi
cmp dword [ebp - 0x10090], ebx
jbe 0x427a09
lea esp, [esp]
movzx edx, byte [ebp + esi - 0x44]
shr edx, 4
movzx eax, word [ebp + edx*2 - 0x34]
push eax
push 1
mov ecx, edi
call fcn.00416c60
movzx ecx, byte [ebp + esi - 0x44]
and ecx, 0xf
movzx edx, word [ebp + ecx*2 - 0x34]
push edx
push 1
mov ecx, edi
call fcn.00416c60
inc esi
cmp esi, dword [ebp - 0x10090]
jb 0x427970
jmp 0x427a09
push str.UTILITY
lea ecx, [ebp - 0x10060]
call fcn.004019e0
mov byte [ebp - 4], 0x11
push str.Failed_to_get_hash_value.
lea ecx, [ebp - 0x30]
call fcn.004019e0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.00490320
call fcn.0041a730
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10088], eax
mov edx, dword [ebp - 0x10068]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x10064]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x10098]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403750
mov eax, dword [ebp - 0x10088]
jmp 0x427c6e
call fcn.004019e0
mov byte [ebp - 4], 0xd
push str.Failed_to_create_hash.
lea ecx, [ebp - 0x30]
call fcn.004019e0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x10060]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00419d40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.00490320
call fcn.0041a730
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10068]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x427b57
lea ecx, [ebp - 0x10084]
call fcn.004019e0
mov byte [ebp - 4], 9
push str.Failed_to_acquire_context.
lea ecx, [ebp - 0x10060]
call fcn.004019e0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x10084]
push edx
lea eax, [ebp - 0x10060]
push eax
call fcn.00419d40
mov byte [ebp - 4], 9
cmp dword [ebp - 0x10048], edi
jb 0x427aff
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x10048], 7
mov dword [ebp - 0x1004c], ebx
mov word [ebp - 0x1005c], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1006c], edi
jb 0x427b32
mov eax, dword [ebp - 0x10080]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1006c], 7
mov dword [ebp - 0x10070], ebx
mov word [ebp - 0x10080], cx
call fcn.0041a730
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403750
mov eax, esi
jmp 0x427c6e
mov esi, 7
push esi
xor edx, edx
push str.UTILITY
lea ecx, [ebp - 0x10084]
mov dword [ebp - 0x1006c], esi
mov word [ebp - 0x10080], dx
call fcn.00401860
mov byte [ebp - 4], 4
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x10060]
push str.Failed_to_open
push ecx
call fcn.00401a30
mov byte [ebp - 4], 5
push 0x4e253c
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10084]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x427bef
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x10048], edi
jb 0x427c16
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x10048], esi
mov dword [ebp - 0x1004c], ebx
mov word [ebp - 0x1005c], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1006c], edi
jb 0x427c45
mov eax, dword [ebp - 0x10080]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1006c], esi
mov dword [ebp - 0x10070], ebx
mov word [ebp - 0x10080], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403750
mov eax, 0x6e
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.004b3057
mov esp, ebp
pop ebp
ret 0xa0