Function at 0x10033750
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 [0x10074bac]
xor eax, ebp
mov dword [ebp + 0x624], eax
push 0x14c
mov eax, 0x1005aa2a
call fcn.10042b15
mov esi, dword [ebp + 0x630]
mov eax, dword [ebp + 0x634]
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp esi, ebx
je 0x10033843
cmp byte [esi], bl
je 0x10033843
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 0x100337b6
add esi, 4
mov dword [ebp - 0x14], esi
push str.O__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100337c9
add dword [ebp - 0x14], 4
push str.D__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100337dc
add dword [ebp - 0x14], 4
push str.F__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100337ef
add dword [ebp - 0x14], 4
push str.K__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x10033802
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.10043420
mov ecx, dword [ebp - 0x34]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x2c], edx
jne 0x1003383e
cmp eax, 0x61a8000
jbe 0x10033868
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.1004083f
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.1000c2ef
mov eax, dword [eax]
push ebx
push 0x8000000
push 3
push ebx
push 3
push closesocket
push eax
mov byte [ebp - 4], 1
call dword [0x101a7f1c]
mov edi, eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x158], eax
je 0x100338ce
push dword [ebp - 0x158]
call fcn.100425b3
pop ecx
cmp edi, 0xffffffff
jne 0x10033921
lea eax, [ebp + 0x400]
push eax
push str.Msg_:
call fcn.1000c6d3
pop ecx
pop ecx
cmp byte [ebp + 0x638], bl
je 0x10033902
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10040b98
pop ecx
pop ecx
jmp 0x10033843
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.10040b98
add esp, 0x10
jmp 0x10033843
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 0x10033974
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10033957
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10040b98
pop ecx
pop ecx
jmp 0x10033968
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10040b98
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10033843
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 0x100339d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x100339ab
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10040b98
pop ecx
pop ecx
jmp 0x100339bc
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10040b98
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 0x10033843
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 0x10033a4d
push ebx
cmp dword [ebp - 0x28], ebx
je 0x10033a63
push dword [ebp - 0x28]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x100339d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10033a24
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10040b98
pop ecx
pop ecx
jmp 0x10033a35
push eax
push str.Error_CryptHashData_failed:__d_n
push dword [ebp - 0x18]
call fcn.10040b98
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 0x10033968
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x10033a13
push eax
push str.Error_ReadFile_failed:__d_n
jmp 0x10033a2a
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 0x10033aca
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jae 0x10033aca
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.10040b98
add esp, 0x14
inc esi
jmp 0x10033a8d
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 0x10033b11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x100338ee
push eax
push str.Error_CryptGetHashParam_failed:__d_n
push dword [ebp - 0x18]
call fcn.10040b98
add esp, 0xc
jmp 0x10033843
mov al, 1
jmp 0x10033845