Function at 0x10035824
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 [0x10084adc]
xor eax, ebp
mov dword [ebp + 0x624], eax
push 0x14c
mov eax, 0x1005f20f
call fcn.100473d5
mov esi, dword [ebp + 0x630]
mov eax, dword [ebp + 0x634]
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp esi, ebx
je 0x10035917
cmp byte [esi], bl
je 0x10035917
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 0x1003588a
add esi, 4
mov dword [ebp - 0x14], esi
push str.O__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x1003589d
add dword [ebp - 0x14], 4
push str.D__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100358b0
add dword [ebp - 0x14], 4
push str.F__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100358c3
add dword [ebp - 0x14], 4
push str.K__
push dword [ebp - 0x14]
call edi
cmp eax, dword [ebp - 0x14]
jne 0x100358d6
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.10047f00
mov ecx, dword [ebp - 0x34]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x2c], edx
jne 0x10035912
cmp eax, 0x61a8000
jbe 0x1003593c
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.1004501f
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 [0x101bf550]
mov edi, eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x158], eax
je 0x100359a2
push dword [ebp - 0x158]
call fcn.10046e73
pop ecx
cmp edi, 0xffffffff
jne 0x100359f5
lea eax, [ebp + 0x400]
push eax
push str.Msg_:
call fcn.1000d2d4
pop ecx
pop ecx
cmp byte [ebp + 0x638], bl
je 0x100359d6
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10045378
pop ecx
pop ecx
jmp 0x10035917
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.10045378
add esp, 0x10
jmp 0x10035917
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 0x10035a48
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10035a2b
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10045378
pop ecx
pop ecx
jmp 0x10035a3c
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10045378
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10035917
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 0x10035aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10035a7f
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10045378
pop ecx
pop ecx
jmp 0x10035a90
push eax
push str.Error_CryptAcquireContext_failed:__d_n
push dword [ebp - 0x18]
call fcn.10045378
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 0x10035917
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 0x10035b21
push ebx
cmp dword [ebp - 0x28], ebx
je 0x10035b37
push dword [ebp - 0x28]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10035aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
je 0x10035af8
push str.No_Hash
push dword [ebp - 0x18]
call fcn.10045378
pop ecx
pop ecx
jmp 0x10035b09
push eax
push str.Error_CryptHashData_failed:__d_n
push dword [ebp - 0x18]
call fcn.10045378
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 0x10035a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x10035ae7
push eax
push str.Error_ReadFile_failed:__d_n
jmp 0x10035afe
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 0x10035b9e
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jae 0x10035b9e
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.10045378
add esp, 0x14
inc esi
jmp 0x10035b61
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 0x10035be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x638], bl
jne 0x100359c2
push eax
push str.Error_CryptGetHashParam_failed:__d_n
push dword [ebp - 0x18]
call fcn.10045378
add esp, 0xc
jmp 0x10035917
mov al, 1
jmp 0x10035919