Function at 0xd2e310
Capabilities:
Encrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [str._Sk]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 3
ja case.default.0xd2e342
mov edx, dword [ebp - 0x84]
jmp dword [edx*4 + 0xd2e63c]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00d12340
jmp 0xd2e628
push 0x2733
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x80]
mov edx, dword [eax + 0x34]
call edx
or eax, 0xffffffff
jmp 0xd2e628
jmp 0xd2e382
or eax, 0xffffffff
jmp 0xd2e628
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x9c]
add ecx, 0x24
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0xd2e5f4
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x9c]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00bf5500
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
call fcn.00d2f040
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 4], 7
mov ecx, dword [ebp - 0x80]
mov esi, dword [ecx + 0x9c]
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov edx, dword [esi + 0x44]
mov dword [eax], edx
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 4], 1
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push 2
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 4], 6
mov edx, dword [ebp - 0x80]
mov esi, dword [edx + 0x9c]
push 2
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov ecx, dword [esi + 0x48]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov esi, dword [esi]
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x54]
call fcn.00d2f020
add esi, dword [eax]
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 0x64]
call fcn.00cf6100
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 0x64]
call fcn.00d2ee60
push 0
lea ecx, [ebp - 0x64]
call fcn.00d2ef50
mov esi, eax
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 8], esi
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
call fcn.00d2ef50
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 8], esi
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov ecx, dword [esi]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00d2ef50
mov esi, eax
push 2
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov dword [eax + 8], esi
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
push eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov ecx, dword [eax + 8]
push ecx
call fcn.00cdc600
add esp, 0xc
push 0
lea ecx, [ebp - 0x54]
call fcn.00cff550
push eax
push 0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x9c]
add eax, 8
push eax
call sub.Secur32.dll_EncryptMessage
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0xd2e572
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0xd5e318
mov ecx, dword [ebp - 0x80]
call fcn.00d2e030
mov dword [ebp - 0x74], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00d2ee40
lea ecx, [ebp - 0x54]
call fcn.00d2f090
mov eax, dword [ebp - 0x74]
jmp 0xd2e628
push 0
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov esi, eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00d2f020
mov esi, dword [esi]
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x54]
call fcn.00d2f020
add esi, dword [eax]
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 4]
call fcn.00d085c0
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
push edx
lea ecx, [ebp - 0x64]
call fcn.00d2ef50
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.00d2ef50
push eax
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 4]
call fcn.00d2f4a0
lea ecx, [ebp - 0x64]
call fcn.00d2ee40
lea ecx, [ebp - 0x54]
call fcn.00d2f090
jmp 0xd2e398
mov ecx, dword [ebp - 0x80]
call fcn.00d2e220
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0xd2e625
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x78], 4
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 0x34]
call eax
or eax, 0xffffffff
jmp 0xd2e628
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00cd8a41
mov esp, ebp
pop ebp
ret 8