Function at 0x1000b1d0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002085d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1002c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x1000b4aa
cmp eax, 0x104
jg 0x1000b4aa
mov dword [ebp - 0x24], 0x100275c8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
call dword [eax + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x20]
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x100277e8
push eax
call edi
test eax, eax
jne 0x1000b27d
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 4]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x100277e8
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x1000b27d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000b471
mov dword [ebp - 0x2c], 0x100275d0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
call dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1000b2bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000b451
push 0
push 0x1c
push 0x1002ca00
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1000b2e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000b451
mov dword [ebp - 0x34], 0x100275d8
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x34]
call dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x28]
push 0x6801
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000b325
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000b431
push 0x104
call fcn.1000fd2f
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
mov eax, dword [esi + 4]
cmp eax, 0x104
jge 0x1000b34f
test eax, eax
jle 0x1000b4c1
jmp 0x1000b354
mov eax, 0x104
push eax
push dword [esi]
push edi
call fcn.100115d0
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 1
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1000b38b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000b41d
mov esi, dword [ebp - 0x10]
shr esi, 1
call fcn.10002610
mov ecx, eax
test ecx, ecx
je 0x1000b4cd
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x1000b4d7
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
cmp esi, dword [ebx - 8]
jg 0x1000b4dc
xor eax, eax
mov dword [ebx - 0xc], esi
push esi
push edi
mov edx, esi
mov word [ebx + esi*2], ax
mov ecx, ebx
call fcn.10002bf0
add esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.100095d0
mov byte [ebp - 4], 3
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b400
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, edi
test ecx, ecx
je 0x1000b41b
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1000b410
xor esi, esi
mov byte [ebp - 4], 2
push edi
call fcn.1000fd2a
add esp, 4
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0x100275d8
test eax, eax
je 0x1000b44a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0x100275d0
test eax, eax
je 0x1000b46a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x100275c8
test eax, eax
je 0x1000b48f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 0x20], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.10001a30
push 0x80004005
call fcn.10001a10
call fcn.10002b30
push 0x80070057
call fcn.10001a10
int3