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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x180]
mov ecx, 0x60
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0
jne 0x10038c4a
xor eax, eax
jmp 0x10038f74
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1006ff30
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0
mov esi, esp
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.100705ff
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
jne 0x10038ccd
mov esi, esp
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100705ff
xor eax, eax
jmp 0x10038f74
mov esi, esp
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.100705ff
test eax, eax
jne 0x10038d00
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov esi, esp
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.100705ff
test eax, eax
jne 0x10038d35
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov esi, esp
push 0
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.100705ff
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10038d64
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov eax, dword [ebp - 0x3c]
push eax
call fcn.1006d67e
add esp, 4
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x54], ecx
mov esi, esp
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.100705ff
test eax, eax
jne 0x10038db5
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov esi, esp
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.100705ff
test eax, eax
jne 0x10038de7
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.100070d0
add esp, 4
cmp dword [ebp - 0x16c], 0
jne 0x10038e14
mov dword [ebp - 0x180], 0
jmp 0x10038e24
mov dword [ebp - 0x54], 0x8123
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x48], 4
mov esi, esp
push 0
lea eax, [ebp - 0x48]
push eax
push 0
push 2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.100705ff
test eax, eax
jne 0x10038e5d
mov dword [ebp - 0x18], 0
jmp 0x10038f24
mov eax, dword [ebp - 0x48]
push eax
call fcn.1006daa9
add esp, 4
mov dword [ebp - 0x78], eax
mov esi, esp
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.100705ff
test eax, eax
je 0x10038f24
xor eax, eax
mov word [ebp - 0x94], ax
xor eax, eax
mov dword [ebp - 0x92], eax
mov dword [ebp - 0x8e], eax
mov dword [ebp - 0x8a], eax
mov dword [ebp - 0x86], eax
mov word [ebp - 0x82], ax
mov dword [ebp - 0xa0], 0
jmp 0x10038ed8
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x48]
jae 0x10038f1d
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0xa0]
movzx ecx, byte [eax]
push ecx
push str._02x
lea edx, [ebp - 0x94]
push edx
call fcn.10022f40
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1006e675
add esp, 0xc
jmp 0x10038ec9
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x30], 0
je 0x10038f3d
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.100705ff
cmp dword [ebp - 0x24], 0
je 0x10038f58
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100705ff
cmp dword [ebp - 0x60], 0
je 0x10038f71
mov esi, esp
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100705ff
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x10038fa8]
call fcn.100705a7
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
add esp, 0x180
cmp ebp, esp
call fcn.100705ff
mov esp, ebp
pop ebp
ret 0xc