Function at 0x4aead0
Capabilities:
Decrypt data via sspi

Disassembly:
sub esp, 0x70
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [esp + 0x88], ebx
je 0x4aeaeb
lea eax, [esi + 0x50]
mov dword [esp + 8], eax
jmp 0x4aeaf2
lea ecx, [esi + 0x48]
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
lea edx, [esp + 0x28]
push edx
push 4
push eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
jge 0x4aeb12
pop esi
xor eax, eax
pop ebx
add esp, 0x70
ret 0x10
push edi
push 0x38
lea ecx, [esp + 0x48]
push ebx
push ecx
mov dword [esp + 0x4c], ebx
call fcn.0053ff80
mov eax, dword [esi + 0x64]
add esp, 0xc
xor edi, edi
cmp eax, ebx
je 0x4aebb4
mov edi, dword [esp + 0x84]
cmp edi, eax
mov edx, dword [esi + 0x60]
jge 0x4aeb78
mov eax, dword [esp + 0x80]
push edi
push edx
push edi
push eax
call fcn.0053f74e
sub dword [esi + 0x64], edi
mov eax, dword [esi + 0x64]
mov esi, dword [esi + 0x60]
push eax
lea ecx, [esi + edi]
push ecx
push ebx
push esi
call fcn.0053fb29
add esp, 0x20
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret 0x10
push eax
mov eax, dword [esp + 0x84]
push edx
push edi
push eax
call fcn.0053f74e
mov ecx, dword [esi + 0x64]
mov edx, dword [esp + 0x98]
mov dword [edx], ecx
mov eax, dword [esi + 0x60]
push eax
call fcn.004ff96a
add esp, 0x14
pop edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret 0x10
mov eax, dword [esp + 0x34]
lea eax, [eax + eax*4]
add eax, eax
push ebp
push eax
mov dword [esp + 0x24], eax
call fcn.004ff95f
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x4aec04
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x20]
push eax
push ecx
sub edx, edi
push edx
lea eax, [edi + ebp]
push eax
call fcn.0053f74e
mov ecx, dword [esi + 0x58]
add edi, dword [esi + 0x5c]
push ecx
call fcn.004ff96a
add esp, 0x14
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
jmp 0x4aec31
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [edi + ebp]
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.004ae270
test eax, eax
je 0x4aee15
add edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4aecb4
mov edx, dword [esp + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x50]
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 4
call sub.Secur32.dll_DecryptMessage
mov dword [esp + 0x14], eax
cmp eax, 0x80090318
je 0x4aebd1
cmp eax, 0x90317
je 0x4aecb4
cmp eax, ebx
je 0x4aec9b
cmp eax, 0x90321
jne 0x4aee15
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
xor ebp, ebp
mov dword [esp + 0x10], ebx
cmp ecx, 1
jne 0x4aecbe
lea ebp, [esp + 0x44]
jmp 0x4aecda
mov esi, 1
jmp 0x4aee17
cmp ecx, 5
jne 0x4aeccb
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp edx, 1
jne 0x4aecd4
lea ebp, [esp + 0x50]
cmp dword [esp + 0x10], ebx
jne 0x4aece7
cmp edx, 5
jne 0x4aece7
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x60]
cmp ebp, ebx
jne 0x4aecf8
cmp ecx, 1
jne 0x4aecf8
lea ebp, [esp + 0x5c]
cmp dword [esp + 0x10], ebx
jne 0x4aed0b
cmp ecx, 5
jne 0x4aed0b
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
cmp ebp, ebx
jne 0x4aed1c
cmp ecx, 1
jne 0x4aed1c
lea ebp, [esp + 0x68]
cmp dword [esp + 0x10], ebx
jne 0x4aed2f
cmp ecx, 5
jne 0x4aed6a
lea edx, [esp + 0x68]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x58]
push eax
call fcn.004ff96a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
lea edi, [eax + 0xa]
push edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], eax
call fcn.004ff95f
mov edx, dword [esi + 0x5c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ecx + 8]
push edx
push edi
push eax
mov dword [esi + 0x58], eax
call fcn.0053f74e
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 0x90321
jne 0x4aed88
mov eax, dword [esp + 0x90]
push eax
mov ecx, esi
call fcn.004ae680
test eax, eax
je 0x4aee11
cmp ebp, ebx
je 0x4aee06
mov ecx, dword [ebp]
mov eax, dword [esp + 0x88]
cmp ecx, eax
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov dword [ebx], ecx
jg 0x4aedc4
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
push edx
call fcn.0053f74e
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov esi, 1
jmp 0x4aee17
mov ecx, dword [ebp + 8]
push eax
push ecx
push eax
push edx
mov dword [ebx], eax
call fcn.0053f74e
mov eax, dword [ebp]
sub eax, dword [ebx]
mov ecx, dword [esi + 0x60]
push ecx
mov dword [esi + 0x64], eax
call fcn.004ff96a
mov edi, dword [esi + 0x64]
add edi, 0x64
push edi
call fcn.004ff95f
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x64]
mov dword [esi + 0x60], eax
add ecx, dword [ebx]
push edx
push ecx
push edi
push eax
call fcn.0053f74e
add esp, 0x28
mov ebp, dword [esp + 0x18]
mov esi, 1
jmp 0x4aee17
mov ebp, dword [esp + 0x18]
mov esi, ebx
push ebp
call fcn.004ff96a
add esp, 4
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x70
ret 0x10