Function at 0x1000a680
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100263b1
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10031040]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x6c], esi
cmp dword [eax + 0x10], ebx
ja 0x1000a6de
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push ebx
mov eax, 0x1002a9c0
call fcn.10013230
mov eax, esi
jmp 0x1000a8f4
cmp dword [eax + 0x14], 8
jb 0x1000a6e6
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
mov edi, eax
call fcn.1000a590
mov dword [ebp - 4], 1
mov esi, dword [eax]
cmp esi, ebx
je 0x1000a713
cmp dword [esi + 4], ebx
jne 0x1000a70e
mov edx, dword [esi]
push edx
call fcn.10020ce0
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x1000a715
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1000a727
sub ecx, esi
mov esi, ecx
lea ecx, [ebp - 0x60]
call fcn.10012fd0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x1000a782
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x1000a77f
cmp esi, ebx
je 0x1000a77f
mov eax, dword [esi]
cmp eax, ebx
je 0x1000a766
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1000a776
push eax
call fcn.10017e7e
add esp, 4
push esi
call fcn.10017418
add esp, 4
mov dword [ebp - 0x70], ebx
xor eax, eax
mov word [ebp - 0x44], ax
push ebx
mov eax, 0x1002a9c0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
call fcn.10013230
push 0xf0000020
push 1
push ebx
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
push ecx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000a895
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
push edx
push ebx
push ebx
push 0x8003
push eax
mov dword [ebp - 0x64], ebx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000a895
mov eax, dword [ebp - 0x60]
mov edi, 0x10
cmp dword [ebp - 0x4c], edi
jae 0x1000a7f2
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
push ebx
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000a880
push ebx
lea ecx, [ebp - 0x74]
push ecx
xor eax, eax
lea edx, [ebp - 0x28]
push edx
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x64]
push 2
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x16], ebx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1000a880
xor esi, esi
lea ecx, [ecx]
movzx ecx, byte [ebp + esi - 0x28]
push ecx
xor eax, eax
lea edx, [ebp - 0x18]
push str._02x
push edx
lea edx, [eax + 3]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call fcn.10014fd0
lea eax, [ebp - 0x18]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000a860
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10013150
inc esi
cmp esi, edi
jb 0x1000a830
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x68]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [ebp - 0x6c]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x44]
mov word [esi], dx
call fcn.10012a70
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x78], 1
jb 0x1000a8cc
mov eax, dword [ebp - 0x44]
push eax
call fcn.10017418
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], cx
jb 0x1000a8f1
mov edx, dword [ebp - 0x60]
push edx
call fcn.10017418
add esp, 4
mov eax, dword [ebp - 0x6c]
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.10017423
mov esp, ebp
pop ebp
ret