Function at 0x44d6bb
Capabilities:
Encrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [esp + 0x64]
lea edi, [esp + 8]
mov ebp, ecx
mov esi, edx
mov ecx, edi
mov dword [edx + 0x1c], eax
call fcn.0044d92d
mov eax, dword [edi]
cmp eax, 2
jne 0x44d6fc
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
cmp al, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
je 0x44d8d3
jmp 0x44d8e5
test eax, eax
je 0x44d873
mov eax, dword [esi + 0x50]
xor eax, dword [esi + 0x60]
or eax, dword [esi + 0x54]
jne 0x44d8b3
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov dword [esp + 0x40], eax
cmp edx, edi
mov eax, edi
cmovb eax, edx
push 0x4dc2e4
mov dword [esp + 0x3c], eax
push eax
call fcn.0044154d
pop ecx
pop ecx
cmp edi, edx
jb 0x44d91b
mov edi, dword [esp + 0x40]
mov dword [esp], eax
mov eax, edx
mov ebp, edx
mov edx, dword [esi + 0x60]
add eax, edi
add ebx, eax
cmp edx, ebx
jae 0x44d776
mov edx, ebx
lea ecx, [esi + 0x58]
mov ebx, eax
call fcn.0044e50f
mov edx, dword [esi + 0x60]
mov eax, ebx
mov ecx, dword [esi + 0x5c]
push 0x4dc9a4
push eax
push edi
mov ebx, eax
call fcn.0044e54b
add esp, 0xc
mov ecx, eax
push 0x4dc9b4
push ebp
push dword [esp + 8]
call fcn.00431a6b
add esp, 0xc
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x60]
push 0x4dc9c4
push edi
call fcn.0044e568
pop ecx
pop ecx
test eax, eax
mov ecx, dword [esi + 0x5c]
mov dword [esp], eax
cmove edx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x60]
push 0x4dc9d4
push ebx
push edi
call fcn.0044e54b
add esp, 0xc
mov ebp, edx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x60]
test eax, eax
mov edi, eax
cmove ebp, eax
push 0x4dc9e4
push ebx
call fcn.0044d668
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
test eax, eax
cmove edx, eax
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
mov dword [esp + 8], ecx
mov ecx, dword [esp]
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 6
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 8]
and dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
lea ecx, [esi + 0x80]
push 0
push eax
push 0
push ecx
call dword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x44d889
mov ebp, dword [esp + 4]
and dword [esp + 8], 0
mov ebx, eax
xor eax, eax
jmp 0x44d8e1
and dword [esp + 8], 0
mov dword [esp + 0xc], 0x80090317
mov ebx, 0x80090317
xor eax, eax
jmp 0x44d8e5
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 4]
add eax, dword [esp + 8]
add eax, dword [esp + 0x20]
cmp dword [esi + 0x60], eax
jb 0x44d8a1
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x38]
and dword [esi + 0x54], 0
and dword [esi + 0x50], 0
mov dword [esi + 0xb0], eax
lea edi, [esp + 8]
mov edx, esi
mov ecx, edi
call fcn.0044e44b
cmp byte [edi], 4
je 0x44d8cd
mov eax, dword [esp + 8]
cmp al, 4
jne 0x44d8d9
mov ebx, dword [esi + 0xb0]
mov byte [ebp], 4
jmp 0x44d90c
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov edi, eax
call fcn.00417174
cmp al, 0xd
jne 0x44d909
and dword [esi + 0x1c], 0
lea eax, [esp + 8]
mov byte [ebp], 5
push eax
call fcn.0042684b
pop eax
jmp 0x44d913
mov dword [ebp], edi
and dword [esi + 0x1c], 0
mov dword [ebp + 4], ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x3e
pop edx
mov ecx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
push 0x4dc994
call fcn.004a0350