Function at 0x100c0c60
Capabilities:
Encrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x14]
call fcn.100c5090
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, 2
jne 0x100c0c93
mov dword [esi], ebx
mov dword [esi + 4], edi
jmp 0x100c0f1e
test eax, eax
je 0x100c0dfa
mov edx, dword [esp + 0x5c]
mov ebp, dword [edx + 0xf8]
mov esi, dword [edx + 0x108]
mov eax, ebp
xor eax, esi
or eax, dword [edx + 0xfc]
jne 0x100c0e48
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
cmovb ecx, eax
lea ebp, [ecx + ebx]
mov dword [esp], ecx
add edi, ebp
sub edi, esi
jbe 0x100c0d1d
mov eax, dword [edx + 0x100]
sub eax, esi
cmp eax, edi
jb 0x100c0f28
mov ecx, dword [edx + 0x104]
cmp edi, 2
lea eax, [ecx + esi]
jb 0x100c0d13
mov dword [esp + 4], ecx
lea ecx, [edi - 1]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x68]
add esp, 0xc
mov eax, dword [esp + 4]
lea esi, [esi + edi - 1]
add eax, esi
inc esi
mov byte [eax], 0
mov dword [edx + 0x108], esi
cmp ebp, ebx
jb 0x100c0f77
cmp ebp, esi
ja 0x100c0f83
mov eax, dword [edx + 0x104]
mov esi, dword [esp]
add eax, ebx
push esi
push dword [esp + 0x64]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, dword [edx + 0x108]
cmp ecx, ebx
jb 0x100c0f8f
mov eax, ecx
sub eax, ebp
jb 0x100c0f9b
mov ecx, dword [edx + 0x104]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 4
add ebx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
add ebp, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 6
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
lea eax, [edx + 0x128]
push 0
push ecx
push 0
push eax
mov edi, edx
call dword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x100c0e09
mov esi, dword [esp + 0x58]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x100c0f1e
mov byte [esi], 0
mov dword [esi + 4], 0x80090317
jmp 0x100c0f1e
mov eax, dword [esp + 0x20]
mov esi, dword [edi + 0x108]
mov edx, edi
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x100c0e29
mov esi, eax
mov dword [edx + 0x108], eax
mov eax, dword [esp]
xor ebp, ebp
mov dword [edx + 0xfc], 0
mov dword [edx + 0xf8], 0
mov dword [edx + 0x158], eax
cmp esi, ebp
je 0x100c0ef8
lea eax, [edx + 8]
lea ecx, [edx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
nop dword [eax]
mov ecx, esi
sub ecx, ebp
jb 0x100c0f6b
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x100c0f5a
mov edx, dword [edx + 0x104]
mov esi, dword [esp]
add edx, ebp
cmp dword [esi], 2
jne 0x100c0ea0
push ecx
push edx
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.1015d640
add esp, 0x14
jmp 0x100c0ebc
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
lea eax, [esp + 0x14]
push eax
call fcn.100837d0
add esp, 0x10
cmp byte [esp + 8], 5
mov edx, dword [esp + 0x5c]
je 0x100c0f0a
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov edi, eax
shr edi, 0x10
cmp al, 4
jne 0x100c0f0e
add ebp, ebx
mov dword [edx + 0xfc], 0
mov dword [edx + 0xf8], ebp
mov esi, dword [edx + 0x108]
cmp esi, ebp
jne 0x100c0e60
mov eax, dword [edx + 0x158]
mov esi, dword [esp + 0x58]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x100c0f1e
mov ah, 0xd
mov al, 1
mov esi, dword [esp + 0x58]
mov byte [esi + 1], ah
mov word [esi + 2], di
mov byte [esi], al
mov dword [esi + 4], ebx
mov eax, esi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edx + 0x100]
push edi
push esi
push eax
call fcn.101c4450
mov edx, dword [esp + 0x68]
add esp, 0xc
mov esi, dword [edx + 0x108]
mov ecx, dword [edx + 0x104]
cmp edi, 2
lea eax, [ecx + esi]
jae 0x100c0cf2
jmp 0x100c0d13
push 0x101da2a8
push 0x29
push str.assertion_failed:__self.context.is_null__
call fcn.101cb950
push 0x101dea50
push esi
push ebp
call fcn.101cbc60
push 0x101de9d0
push ebp
push ebx
call fcn.101cbd20
push 0x101de9d0
push esi
push ebp
call fcn.101cbcc0
push 0x101de9e0
push ecx
push ebx
call fcn.101cbcc0
push 0x101de9f0
push ecx
push ebp
call fcn.101cbcc0
int3