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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 1
jg 0x1002c816
mov dword [ebp - 0x18], esp
push 0
push 1
push 0x100aa45a
push 0x100aa45a
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c496
push 0x5c
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c4f6
mov dword [ebp - 0x18], esp
push 0
push 1
push 0x100aa45a
push 0x100aa45a
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c4e4
push 0xbf
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c4f6
jmp 0x1002c816
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c535
push 0x171
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c578
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c573
push 0x1b4
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
jmp 0x1002c816
push OleUIBusyA
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1002c58d
mov eax, 0x100aa368
push eax
push 1
mov ebx, 0x194
call fcn.1007eb30
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1002c5ba
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1002c5e4
push 0x250
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1002c653
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c61d
push 0x27f
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c64e
push 0x299
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
jmp 0x1002c816
mov dword [ebp - 0x18], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1002c669
add eax, 8
push eax
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c698
push 0x2ef
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.1007e9c0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002c6cb
push ebx
call fcn.1007e29b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1002c6e5
add eax, 8
push eax
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c714
push 0x390
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c783
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c74d
push 0x3d1
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c77e
push 0x3eb
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
jmp 0x1002c816
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
call fcn.1002c862
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002c7af
push ebx
call fcn.1007e29b
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c7df
push 0x46a
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002c810
push 0x484
push 0x4020641
push 6
call fcn.1007e2a1
add esp, 0xc
pop ecx
jmp 0x1002c44a
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002c835
push eax
mov ebx, eax
call fcn.10001321
inc eax
push eax
call fcn.1007e295
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1002c83a
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002c84b
push ebx
call fcn.1007e29b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002c85b
push ebx
call fcn.1007e29b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc