Function at 0x1002a3c1
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
sub esp, 0xf0
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push 0x14
mov eax, 0x1005cf9d
call fcn.10031c17
mov eax, dword [ebp + 0xfc]
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
push 0x7e
lea eax, [ebp + 0x71]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x70], bl
call fcn.10031d30
mov ecx, dword [ebp + 0x120]
mov eax, 0x8003
add esp, 0xc
sub ecx, eax
je 0x1002a42a
dec ecx
je 0x1002a4ce
mov dword [ebp + 0x120], eax
mov dword [ebp - 0x10], 0x10
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.10007674
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 1
call fcn.10001537
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x54]
call fcn.1000131a
push ebx
lea ecx, [ebp + 0x1c]
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x34], 0xf
call fcn.10001bab
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 7
call fcn.100011bf
cmp dword [ebp + 0x11c], edi
mov byte [ebp - 4], 3
jne 0x1002a4df
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100076f1
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.10001fe1
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.10001c21
cmp dword [ebp + 0x34], 0x10
mov esi, dword [ebp + 0x30]
jb 0x1002a4da
mov eax, dword [ebp + 0x20]
jmp 0x1002a525
mov dword [ebp - 0x10], 0x14
jmp 0x1002a431
lea eax, [ebp + 0x20]
jmp 0x1002a525
cmp dword [ebp + 0x11c], 2
jne 0x1002a528
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.1000710d
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.10001537
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.1000131a
mov esi, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x3c]
add esi, esi
cmp dword [ebp + 0x50], 8
jae 0x1002a525
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x14], eax
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.100011bf
cmp esi, ebx
mov byte [ebp - 4], 6
jne 0x1002a552
mov ecx, dword [ebp - 0x20]
push 0x100604d0
call fcn.10001681
jmp 0x1002a63f
push 0xf0000020
push edi
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1002a620
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [ebp + 0x120]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1002a620
push ebx
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1002a620
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x70]
push eax
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
lea ecx, [ebp]
je 0x1002a616
call fcn.1000939a
push ebx
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], 7
call fcn.100011bf
xor esi, esi
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 7
jbe 0x1002a606
movzx eax, byte [ebp + esi + 0x70]
push eax
lea eax, [ebp + 0x54]
push 0x10070a70
push eax
call fcn.10007397
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.100049b8
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x1002a5da
push ebx
push edi
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.1000131a
jmp 0x1002a620
push 0x10070a6c
call fcn.10001664
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
call fcn.1000163e
push ebx
push edi
lea ecx, [ebp]
call fcn.1000131a
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.1000131a
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.10001c21
push ebx
push edi
lea ecx, [ebp + 0x100]
call fcn.1000131a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.10031c08
add ebp, 0xf4
leave
ret