Function at 0x6aecc520
Capabilities:
Decrypt data via sspi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6af09160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x4c], ecx
mov eax, dword [esi + 0x420]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x424]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov byte [edx], 0
mov byte [ecx], 0
mov dword [ebp - 0x48], edx
mov byte [eax], 0
mov ecx, dword [esi + 0x424]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 4
test ecx, ecx
je 0x6aecc5d5
mov eax, dword [0x6af0b68c]
test ah, 8
jne 0x6aee8994
push 0
push 0
lea ecx, [ebp - 0x40]
lea eax, [esi + 0x20]
push ecx
push eax
call dword [0x6af0e04c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 1
jne 0x6aecc5ec
lea edi, [ebp - 0x28]
xor eax, eax
jmp 0x6aecc603
pop edi
mov byte [edx], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 8
cmp eax, 5
je 0x6aee89fc
xor eax, eax
cmp ecx, 1
jne 0x6aecc5ff
lea edi, [ebp - 0x1c]
test eax, eax
jne 0x6aecc60c
cmp ecx, 5
je 0x6aecc6be
mov ecx, dword [ebp - 0xc]
test edi, edi
je 0x6aecc698
test eax, eax
jne 0x6aecc624
cmp ecx, 5
je 0x6aecc6c6
test edx, edx
jne 0x6aecc6d6
test eax, eax
jne 0x6aecc6a9
mov eax, dword [esi + 0x43c]
xor ecx, ecx
mov dword [esi + 0x420], eax
mov dword [esi + 0x424], ecx
test edi, edi
je 0x6aecc6e8
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x50]
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x418], eax
mov eax, dword [edi]
add ecx, eax
xor edi, edi
mov dword [esi + 0x41c], eax
cmp ecx, dword [esi + 0x42c]
ja 0x6aecc6ce
test byte [0x6af0b68d], 8
jne 0x6aee8a68
test edi, edi
jne 0x6aee8aa4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.6aee0390
mov esp, ebp
pop ebp
ret 8
cmp ecx, 1
jne 0x6aecc617
lea edi, [ebp - 0x10]
jmp 0x6aecc617
mov ecx, dword [eax]
mov eax, dword [esi + 0x424]
sub eax, ecx
add eax, dword [esi + 0x420]
jmp 0x6aecc638
lea eax, [ebp - 0x1c]
jmp 0x6aecc60c
lea eax, [ebp - 0x10]
jmp 0x6aecc624
mov dword [esi + 0x42c], ecx
jmp 0x6aecc66f
cmp edx, 0x80090318
jne 0x6aee8a04
mov eax, dword [ebp - 0x48]
mov byte [eax], 1
xor edi, edi
jmp 0x6aecc66f
push ecx
push dword [esi + 0x420]
push dword [esi + 0x428]
push ecx
push dword [esi + 0x43c]
push dword [esi + 4]
call fcn.6af0146a
mov eax, dword [0x6af0b68c]
test ah, 8
je 0x6aecc5af
push 0
push 0
push dword [esi + 0x41c]
mov edx, 0x6aeb4598
push dword [esi + 0x418]
push dword [esi + 0x428]
push dword [esi + 0x424]
push dword [esi + 0x43c]
push 0
push dword [esi + 0x20]
push 0
push dword [esi + 0x24]
push dword [esi + 4]
call fcn.6af01653
jmp 0x6aecc5af
lea eax, [ebp - 0x28]
jmp 0x6aecc5f7
cmp edx, 0x90321
jne 0x6aee8a2a
mov eax, dword [esi + 0x43c]
mov dword [esi + 0x420], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x424], 0
jmp 0x6aecc6e5
cmp edx, 0x90317
jne 0x6aee8a61
mov ecx, dword [ebp - 0x44]
mov byte [ecx], 1
test eax, eax
je 0x6aee8a46
mov edi, 0x3a
jmp 0x6aecc66f
mov eax, dword [esi + 0x43c]
mov dword [esi + 0x420], eax
mov dword [esi + 0x424], 0
jmp 0x6aecc6e8
mov edi, edx
jmp 0x6aecc66f
push edi
push edx
push dword [esi + 0x41c]
mov edx, 0x6aeb42b8
push dword [esi + 0x418]
push dword [esi + 0x428]
push dword [esi + 0x424]
push dword [esi + 0x43c]
push 0
push dword [esi + 0x20]
push 0
push dword [esi + 0x24]
push dword [esi + 4]
call fcn.6af01653
jmp 0x6aecc67c
cmp edi, 0x3e5
je 0x6aecc684
cmp edi, 0xea
je 0x6aecc684
test byte [0x6af0b6c8], 4
je 0x6aecc684
push edi
mov edx, 0x6aeb2f5c
mov ecx, 0x2e
call fcn.6af08166
jmp 0x6aecc684