Function at 0x10035f10
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 0x100bd0e1
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x100e70dc]
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 edi, edx
mov esi, ecx
mov dword [ebp - 0x43c], esi
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
mov dword [ebp - 4], eax
cmp edi, 0xffffffff
jne 0x10035fb7
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x430]
push eax
call fcn.10003390
mov ecx, dword [ebp - 0x41c]
cmp ecx, 8
jb 0x10036236
inc ecx
push ecx
push dword [ebp - 0x430]
lea ecx, [ebp - 0x430]
call fcn.10004440
jmp 0x10036236
mov dword [ebp - 0x418], 0
push 0xf0000000
push 1
push 0x100dbd40
push 0
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push eax
call ebx
test eax, eax
jne 0x1003601c
push eax
push 1
push 0x100dbd40
push eax
lea eax, [ebp - 0x418]
push eax
call ebx
test eax, eax
jne 0x1003601c
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x430]
push eax
call fcn.10003390
jmp 0x10036218
mov dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 2
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100360b0
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x430]
push eax
call fcn.10003390
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x10036076
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x10036089
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x10036236
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.10004440
jmp 0x10036236
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.100953e0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x438]
add esp, 0xc
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call ebx
test eax, eax
je 0x10036130
nop dword [eax + eax]
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x10036130
push 0
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10036168
push 0
lea eax, [ebp - 0x438]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call ebx
test eax, eax
jne 0x100360f0
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x43c]
push 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0
push eax
push 4
push dword [ebp - 0x414]
mov dword [ebp - 0x43c], 4
call edi
test eax, eax
jne 0x1003618b
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x430]
push eax
call fcn.10003390
jmp 0x10036207
push dword [ebp - 0x434]
lea ecx, [ebp - 0x430]
call fcn.100139e0
cmp dword [ebp - 0x41c], 8
lea ecx, [ebp - 0x434]
push 0
push ecx
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push eax
push 2
push dword [ebp - 0x414]
call edi
test eax, eax
jne 0x100361e3
lea ecx, [ebp - 0x430]
call fcn.10034b10
lea eax, [ebp - 0x430]
mov ecx, esi
push eax
call fcn.10003400
jmp 0x10036207
cmp dword [ebp - 0x41c], 8
lea edx, [ebp - 0x430]
push dword [ebp - 0x420]
cmovae edx, dword [ebp - 0x430]
mov ecx, esi
call fcn.10035e20
add esp, 4
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x10036218
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x1003622b
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x430]
call fcn.10004380
mov eax, esi
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.1007bf25
mov esp, ebp
pop ebp
ret