Function at 0x421f10
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 0x46280c
mov eax, dword fs:[0]
push eax
mov eax, 0x1008c
call fcn.004412d0
mov eax, dword [0x47a4a4]
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 + 0xc0]
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 0x421f69
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 0x422535
xor ecx, ecx
push 7
mov word [ebp - 0x10080], cx
push 0x467310
lea ecx, [ebp - 0x10084]
mov dword [ebp - 0x1006c], 7
call fcn.004073d0
mov byte [ebp - 4], 1
lea edx, [ebp + 0x20]
push edx
lea eax, [ebp - 0x30]
push str.Successfully_opened
push eax
call fcn.00409700
mov byte [ebp - 4], 2
push 0x4669d8
push eax
lea ecx, [ebp - 0x10060]
push ecx
call fcn.00408820
add esp, 0x18
mov byte [ebp - 4], 3
lea edx, [ebp - 0x10084]
push edx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10048], edi
jb 0x422017
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.0043ff5a
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 0x422045
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043ff5a
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 0x42206f
mov ecx, dword [ebp - 0x10080]
push ecx
call fcn.0043ff5a
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 0x467310
test eax, eax
je 0x42246e
lea ecx, [ebp - 0x10060]
call fcn.00409040
mov byte [ebp - 4], 7
push str.Successfully_acquired_context.
lea ecx, [ebp - 0x10084]
call fcn.00409040
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10060]
push ecx
lea edx, [ebp - 0x10084]
push edx
call fcn.0041ceb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1006c], edi
jb 0x422108
mov eax, dword [ebp - 0x10080]
push eax
call fcn.0043ff5a
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 0x42213b
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.0043ff5a
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 0x467310
lea ecx, [ebp - 0x10060]
test eax, eax
je 0x42240b
call fcn.00409040
mov byte [ebp - 4], 0xb
push str.Successfully_created_hash.
lea ecx, [ebp - 0x30]
call fcn.00409040
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041ceb0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.004052b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.004052b0
push 0xffff
lea edx, [ebp - 0x10043]
push ebx
push edx
mov byte [ebp - 0x10044], bl
call fcn.00440910
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 0x4222b7
lea esp, [esp]
mov ecx, dword [ebp - 0x1008c]
cmp ecx, ebx
je 0x4222b7
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 0x422255
push ebx
lea ecx, [ebp - 0x1008c]
push ecx
push 0x10000
lea edx, [ebp - 0x10044]
push edx
push esi
call edi
cmp eax, ebx
jne 0x422210
jmp 0x4222b7
push 0x467310
lea ecx, [ebp - 0x10060]
call fcn.00409040
mov byte [ebp - 4], 0xf
push str.Failed_to_hash_data.
lea ecx, [ebp - 0x30]
call fcn.00409040
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041ceb0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.004052b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.004052b0
call fcn.0041d8a0
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 0x4223c9
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 0x422369
mov edi, dword [ebp - 0x10094]
push 0x4669cc
mov ecx, edi
call fcn.00409090
xor esi, esi
cmp dword [ebp - 0x10090], ebx
jbe 0x4223c9
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.00407120
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.00407120
inc esi
cmp esi, dword [ebp - 0x10090]
jb 0x422330
jmp 0x4223c9
push 0x467310
lea ecx, [ebp - 0x10060]
call fcn.00409040
mov byte [ebp - 4], 0x11
push str.Failed_to_get_hash_value.
lea ecx, [ebp - 0x30]
call fcn.00409040
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x10060]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041ceb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.004052b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.004052b0
call fcn.0041d8a0
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.00413640
mov eax, dword [ebp - 0x10088]
jmp 0x42262e
call fcn.00409040
mov byte [ebp - 4], 0xd
push str.Failed_to_create_hash.
lea ecx, [ebp - 0x30]
call fcn.00409040
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x10060]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.004052b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10060]
call fcn.004052b0
call fcn.0041d8a0
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 0x422517
lea ecx, [ebp - 0x10084]
call fcn.00409040
mov byte [ebp - 4], 9
push str.Failed_to_acquire_context.
lea ecx, [ebp - 0x10060]
call fcn.00409040
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x10084]
push edx
lea eax, [ebp - 0x10060]
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x10048], edi
jb 0x4224bf
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.0043ff5a
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 0x4224f2
mov eax, dword [ebp - 0x10080]
push eax
call fcn.0043ff5a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1006c], 7
mov dword [ebp - 0x10070], ebx
mov word [ebp - 0x10080], cx
call fcn.0041d8a0
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.00413640
mov eax, esi
jmp 0x42262e
mov esi, 7
push esi
xor edx, edx
push 0x467310
lea ecx, [ebp - 0x10084]
mov dword [ebp - 0x1006c], esi
mov word [ebp - 0x10080], dx
call fcn.004073d0
mov byte [ebp - 4], 4
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x10060]
push str.Failed_to_open
push ecx
call fcn.00409700
mov byte [ebp - 4], 5
push 0x4669d8
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00408820
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10084]
push ecx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x4225af
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043ff5a
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 0x4225d6
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.0043ff5a
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 0x422605
mov eax, dword [ebp - 0x10080]
push eax
call fcn.0043ff5a
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.00413640
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.00440721
mov esp, ebp
pop ebp
ret 0xbc