Function at 0x101134bc
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp + 0x10], 0x6611
jne 0x1011353b
mov dword [ebp + 0x10], 0x660e
cmp dword [ebp + 0x10], 0x6611
je 0x10113573
cmp dword [ebp + 0x10], 0x660e
je 0x10113573
cmp dword [ebp + 0x10], 0x660f
je 0x10113573
cmp dword [ebp + 0x10], 0x6610
je 0x10113573
xor eax, eax
jmp 0x10113578
mov eax, 1
test eax, eax
je 0x1011358c
mov dword [ebp - 4], 0x18
jmp 0x10113593
mov dword [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
jne 0x101135a4
mov dword [ebp + 0x1c], 1
cmp dword [ebp + 0x24], 0
jne 0x101135b5
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x3c], esp
push 0xf0000000
push dword [ebp - 4]
push 0x101a6ad8
push 0x101a6ad8
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x101135f4
push 0x22e
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10113657
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 4]
push 0x101a6ad8
push 0x101a6ad8
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113640
push 0x289
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10113657
mov eax, 0x101a6c00
jmp 0x10113dea
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1011366c
mov eax, 0x101a6c00
push eax
push 1
mov ebx, 0x198
call fcn.10158b40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10113696
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x101136b6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10157203
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x101136c7
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push 0
push 2
push 8
call fcn.10113228
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x101136f9
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10113e54
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10158b40
add esp, 0x10
mov dword [ebp - 0x40], eax
push dword [ebp - 0xc]
push dword [ebp - 0x40]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.1000e6a4
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1011374c
push ebx
call fcn.1015720f
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10113760
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10113777
mov eax, 0x101a6c00
push eax
push 1
mov ebx, 0x194
call fcn.10158c30
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101137ab
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x101137d5
push 0x447
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x1011381d
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113813
push 0x47c
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 0x101a6c00
jmp 0x10113dea
push 0x80000301
push 0
push dword [ebp + 0x24]
push 1
mov ebx, 0x198
call fcn.10158b40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10113850
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x3c], esp
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1011386d
add eax, 8
push eax
push 4
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1011389c
push 0x544
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10113910
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x101138d5
push 0x578
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113906
push 0x592
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 0x101a6c00
jmp 0x10113dea
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x1bc
call fcn.10158c40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10113945
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x3c], esp
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10113966
add eax, 8
push eax
push 8
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113995
push 0x65e
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x101139ba
mov eax, 0x101a6c00
push eax
push 3
mov ebx, 0x19c
call fcn.10159210
add esp, 0x28
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
cmp ecx, 0x80000101
jne 0x101139ee
and eax, 0xff
jmp 0x10113a43
cmp ecx, 0x80000201
jne 0x101139f9
cwde
jmp 0x10113a43
cmp ecx, 0x80000301
je 0x10113a43
cmp ecx, 0x80000401
je 0x10113a43
mov dword [ebp - 0x4c], eax
cmp ecx, 0x80000501
je 0x10113a33
cmp ecx, 0x80000601
je 0x10113a38
push 0x6ad
push 0x4367c55
push 2
call fcn.101571f7
add esp, 0xc
fld dword [ebp - 0x4c]
jmp 0x10113a3e
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.1000121c
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fdiv qword [0x101a69f8]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.1000121c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10113ad4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113a99
push 0x741
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113aca
push 0x75b
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 0x101a6c00
jmp 0x10113dea
mov eax, 0x101a6c00
xor ecx, ecx
test eax, eax
je 0x10113ae2
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x10113af5
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10113b0c
dec eax
test ecx, ecx
je 0x10113b0c
call fcn.10007aa4
add esp, 0xc
test eax, eax
jne 0x10113b52
push 0x80000301
push 0
push dword [ebp - 0x28]
push 1
mov ebx, 0x1bc
call fcn.10158c40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10113b4c
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x3c], esp
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x10113b66
add eax, 8
push eax
push 1
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113b95
push 0x857
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10113c09
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113bce
push 0x88b
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113bff
push 0x8a5
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 0x101a6c00
jmp 0x10113dea
lea eax, [ebp - 0x10]
push eax
call fcn.10113e54
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x1bc
call fcn.10158c40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10113c4e
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10113e78
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10113e78
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
xor eax, eax
call dword [0x10215914]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x10113c9c
push 0x9c8
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
push 0
push 1
push 0
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113cde
push 0xa39
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10113d52
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113d17
push 0xac5
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113d48
push 0xadf
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 0x101a6c00
jmp 0x10113dea
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113d7e
push 0xb3f
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10113daf
push 0xb59
push 0x4367c55
push 6
call fcn.101571f7
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0x2c]
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10113dcc
mov eax, 0x101a6c00
push eax
push 2
mov ebx, 0x1a0
call fcn.10158c70
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x10113dea
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10113dfb
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10113e0b
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10113e1b
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10113e2b
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10113e3b
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10113e4b
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24