Function at 0x10001348
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
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
mov dword [ebp - 0x18], 0
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x10001390
mov eax, 0x10278241
push eax
push 1
mov ebx, 0x194
call fcn.10003990
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100017e3
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.100039a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10001410
push 0x96
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001423
push ebx
call fcn.1000363c
add esp, 4
cmp dword [ebp - 0x24], 1
mov eax, 0
sete al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100014d2
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.100039a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000149c
push 0x174
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100014af
push ebx
call fcn.1000363c
add esp, 4
cmp dword [ebp - 0x24], 1
mov eax, 0
sete al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100014d2
mov eax, 0x10278274
jmp 0x10001857
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
test eax, eax
je 0x100014f0
mov eax, str.bbs.125.la
jmp 0x1000150e
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x1000150e
push eax
mov ebx, eax
call fcn.100012dd
inc eax
push eax
call fcn.10003642
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001527
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000156c
push 0x293
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10001581
mov eax, 0x10278274
push eax
push 1
mov ebx, 0x198
call fcn.10003b60
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100015ac
mov eax, 0x10278274
push eax
push 1
mov ebx, 0x130
call fcn.10003c40
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100015d7
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10001601
push 0x302
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001611
push ebx
call fcn.1000363c
add esp, 4
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0xc]
push 0x6801
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000164e
push 0x326
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000167a
push 0x360
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1000168f
mov eax, 0x10278241
push eax
push 1
mov ebx, 0x194
call fcn.10003990
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x1bc
call fcn.10003c60
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100016d8
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x100016f8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10003642
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10001709
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000171e
add eax, 8
push eax
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10001757
push 0x42f
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10001786
push 0x486
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100017b2
push 0x4a0
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100017e3
push 0x4ba
push 0x4016829
push 6
call fcn.1000364e
add esp, 0xc
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100017f6
mov eax, 0x10278241
push eax
push 1
mov ebx, 0x168
call fcn.10003d00
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 4], 0
je 0x10001837
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10001832
push eax
mov ebx, eax
call fcn.100012dd
inc eax
push eax
call fcn.10003642
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000183c
mov eax, 0x10278274
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000184f
push ebx
call fcn.1000363c
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x10001857
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10001868
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc