Function at 0x1000c220
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb541
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x444
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
jne 0x1000c27c
push 0x133
push 0x1010cacc
push 0x1010cb00
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x1000c299
push 0x134
push 0x1010cb18
push 0x1010cb4c
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x1000c2b6
push 0x135
push 0x1010cb6c
push 0x1010cba0
call fcn.100cb557
add esp, 0xc
mov eax, dword [ebp - 0x448]
cmp dword [eax + 8], 0
jne 0x1000c2de
lea ecx, [ebp - 0x420]
call fcn.1000e1f0
push 0x101508c8
lea ecx, [ebp - 0x420]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x448]
cmp dword [edx + 4], 0
jne 0x1000c306
lea ecx, [ebp - 0x428]
call fcn.1000e170
push 0x101508b8
lea eax, [ebp - 0x428]
push eax
call fcn.100cb4c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x7d0
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x42c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x1000c369
lea ecx, [ebp - 0x434]
call fcn.1000e0f0
push 0x10150888
lea ecx, [ebp - 0x434]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [ebp - 0x418], 0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jae 0x1000c3b2
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
jmp 0x1000c3b9
mov dword [ebp - 0x1c], 0x3e8
push 0x3f0
push 0
lea edx, [ebp - 0x410]
push edx
call fcn.100cac20
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.100cd3b0
add esp, 0xc
cmp dword [ebp - 0x1c], 0x3e8
je 0x1000c3fc
mov dword [ebp - 0x418], 1
push 0x3e8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0
mov edx, dword [ebp - 0x418]
push edx
push 0
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x1000c452
lea ecx, [ebp - 0x43c]
call fcn.1000dff0
push 0x10150868
lea edx, [ebp - 0x43c]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jb 0x1000c474
push 0x17d
push 0x1010cbb8
push 0x1010cbec
call fcn.100cb557
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
add edx, dword [ebp - 0x18]
push edx
call fcn.100cd3b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x418], 0
je 0x1000c39a
push 0x3f0
lea ecx, [ebp - 0x410]
push ecx
call fcn.1000e470
add esp, 8
jmp 0x1000c522
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 0x10