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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f657b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe8
mov eax, dword [0x1014a440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0x926f3097
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x94], 0x3a942d9a
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 0x71b9c9c4
mov dword [ebp - 0x94], 0x5ee264ac
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], 0xb6dd27d1
mov dword [ebp - 0x94], 0x6c43de84
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x98], 0x95d893ae
mov dword [ebp - 0x94], 0x47f2f6c5
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x98], 0xa15d01a7
mov dword [ebp - 0x94], 0xda218ae
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], 0x13d8f0fc
mov dword [ebp - 0x94], 0x388700cf
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], 0xb6dd27d1
mov dword [ebp - 0x94], 0x6c43de84
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], 0x95d893ae
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x94], 0x47f2f6c5
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
movaps xmm1, xmmword [ebp - 0x90]
xorps xmm1, xmmword [ebp - 0xd0]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb8], eax
lea edx, [ecx + 1]
xorps xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x80], xmm1
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009bb0
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000ecf0
push 0
push 0x8000000
push 3
push 0
push 1
mov dword [ebp - 4], 0
push bind
push dword [ebx + 0xc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x94], edi
cmp edi, 0xffffffff
je 0x10009c5a
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10009cfb
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10009cd5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10009cb3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009ca9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100cacb6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x10009d07
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10009c5a
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1000d0b0
nop
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x64]
push 0
push ecx
push dword [ebp - 0xa0]
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
test eax, eax
je 0x1000a094
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10009e08
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push ecx
cmova eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10009d30
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 0xf
jbe 0x10009df1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009de7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x10009c7f
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1000a005
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 2
xor edi, edi
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], edi
jbe 0x10009f6e
mov edx, dword [ebp - 0x48]
cmp edx, 0xf
seta byte [ebp - 0x99]
nop dword [eax + eax]
cmp edx, 0xf
lea ecx, [ebp - 0x5c]
movzx edx, byte [ebp + edi - 0x24]
cmova ecx, eax
mov eax, edx
and eax, 0xf
add ecx, eax
cmp byte [ebp - 0x99], 0
lea eax, [ebp - 0x5c]
cmovne eax, dword [ebp - 0x5c]
shr edx, 4
movzx eax, byte [edx + eax]
sub esp, 8
mov byte [ebp - 0xa4], al
xorps xmm0, xmm0
movzx eax, byte [ecx]
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xa3], al
mov eax, esp
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0xac], 0x60000000
mov dword [ebp - 0xa8], 0x60000001
mov byte [ebp - 4], 2
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xe8]
push 8
push str.:c:c
mov dword [eax], 2
call fcn.10010b40
add esp, 0x10
mov byte [ebp - 4], 4
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0xf
lea ecx, [ebp - 0x88]
push dword [ebp - 0xd8]
cmova eax, dword [ebp - 0xe8]
push eax
call fcn.1000c3d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x10009f5d
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009f53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
inc edi
cmp edi, dword [ebp - 0x60]
jae 0x10009f6e
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
jmp 0x10009e70
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [esi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x10009df1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009fe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x10009c7f
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 0xf
jbe 0x10009df1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a073
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x10009c7f
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 0xf
jbe 0x1000a102
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a0f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a146
push ecx
push edx
call fcn.100cb2cc
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x10009cb3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009ca9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009ca9
call fcn.100d2020
int3