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

Disassembly:
push ebp
sub esp, 0x624
lea ebp, [esp - 4]
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x624], eax
push 0x14c
mov eax, 0x1005ed5f
call fcn.10046f25
mov esi, dword [ebp + 0x630]
mov eax, dword [ebp + 0x634]
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp esi, ebx
je 0x10035780
cmp byte [esi], bl
je 0x10035780
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.L__
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call edi
cmp eax, esi
jne 0x100356f3
add esi, 4
mov dword [ebp - 0x14], esi
push str.O__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x10035706
add dword [ebp - 0x14], 4
push str.D__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x10035719
add dword [ebp - 0x14], 4
push str.F__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x1003572c
add dword [ebp - 0x14], 4
push str.K__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x1003573f
add dword [ebp - 0x14], 4
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push 1
push ebx
push ebx
push dword [ebp - 0x38]
call fcn.10047a50
mov ecx, dword [ebp - 0x34]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x2c], edx
jne 0x1003577b
cmp eax, 0x61a8000
jbe 0x100357a5
mov eax, dword [ebp - 0x18]
mov byte [eax], bl
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x624]
xor ecx, ebp
call fcn.10044b6f
add ebp, 0x628
leave
ret
push dword [ebp - 0x14]
mov esi, str.0123456789abcdef
lea edi, [ebp + 0x610]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
movsb byte es:[edi], byte [esi]
call fcn.1000cd01
mov eax, dword [eax]
push ebx
push 0x8000000
push 3
push ebx
push 3
push bind
push eax
mov byte [ebp - 4], 1
call dword [0x101be54c]
mov edi, eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x158], eax
je 0x1003580b
push dword [ebp - 0x158]
call fcn.100469c3
pop ecx
cmp edi, 0xffffffff
jne 0x1003585e
lea eax, [ebp + 0x400]
push eax
push str.Msg_:
call fcn.1000d2d4
pop ecx
pop ecx
cmp byte [ebp + 0x638], bl
je 0x1003583f
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10044ec8
pop ecx
pop ecx
jmp 0x10035780
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x14]
push str.Error_opening_file__s_n_s_n
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0x10
jmp 0x10035780
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100358b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10035894
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10044ec8
pop ecx
pop ecx
jmp 0x100358a5
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10035780
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1003590f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x100358e8
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10044ec8
pop ecx
pop ecx
jmp 0x100358f9
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x10035780
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x400
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x1003598a
push ebx
cmp dword [ebp - 0x28], ebx
je 0x100359a0
push dword [ebp - 0x28]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1003590f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10035961
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10044ec8
pop ecx
pop ecx
jmp 0x10035972
push eax
push str.Error_CryptHashData_failed:__d_n
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0xc
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x100358a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x10035950
push eax
push str.Error_ReadFile_failed:__d_n
jmp 0x10035967
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x600]
push eax
push 2
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne byte [ebp - 0x19]
cmp byte [ebp - 0x19], bl
je 0x10035a07
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jae 0x10035a07
movzx eax, byte [ebp + esi + 0x600]
mov ecx, eax
and ecx, 0xf
movsx ecx, byte [ebp + ecx + 0x610]
shr eax, 4
movsx eax, byte [ebp + eax + 0x610]
push ecx
push eax
push dword [ebp - 0x18]
push str._s_c_c
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0x14
inc esi
jmp 0x100359ca
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x19], bl
jne 0x10035a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x1003582b
push eax
push str.Error_CryptGetHashParam_failed:__d_n
push dword [ebp - 0x18]
call fcn.10044ec8
add esp, 0xc
jmp 0x10035780
mov al, 1
jmp 0x10035782