Function at 0x100c7ac0
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov ebp, ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x30]
cmp ecx, eax
jb 0x100c7cff
mov ecx, dword [edx + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 4
mov edi, edx
xorps xmm0, xmm0
mov dword [esp + 8], 1
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x68]
mov dword [esp + 0xc], ecx
movsd qword [esp + 0x10], xmm0
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x34]
push 0
push 0
push ecx
push eax
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x100c7c07
cmp eax, 0x80090318
je 0x100c7c65
test eax, eax
jne 0x100c7c5c
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0x2c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [edi + 0x30]
mov dword [edi + 0x18], 0
mov ecx, eax
sub ecx, esi
mov edx, ecx
add edx, ebp
jb 0x100c7d28
cmp edx, ebx
ja 0x100c7d34
add esi, ecx
xor ebx, ebx
add ebp, esi
sub ebp, eax
mov eax, 0
cmp dword [edi + 0x10], ebp
jb 0x100c7ce8
add eax, dword [edi + 0x14]
push ebp
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [edi + 0x18], ebp
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0x20]
jne 0x100c7bc9
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp]
mov eax, ecx
sub eax, ebx
jb 0x100c7d0b
test ebx, ebx
je 0x100c7cc3
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100c7d1c
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100c7cac
cmp edx, eax
jne 0x100c7cc0
jmp 0x100c7cc3
cmp eax, 0x90317
je 0x100c7c77
cmp eax, 0x90321
jne 0x100c7c5c
mov dword [edi + 0x50], 0x10000
mov byte [edi + 0x54], 0
xor ebx, ebx
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0x20]
jne 0x100c7c30
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
jb 0x100c7d0b
test ebx, ebx
je 0x100c7c96
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100c7d1c
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100c7c7f
cmp edx, eax
jne 0x100c7c93
jmp 0x100c7c96
mov byte [ebp], 0
mov dword [ebp + 4], eax
jmp 0x100c7ce0
cmp dword [esp + 0x14], 4
mov eax, 1
jne 0x100c7cd4
mov eax, dword [esp + 0x10]
jmp 0x100c7cd4
mov word [ebp], 0x104
jmp 0x100c7ce0
cmp edx, eax
je 0x100c7c96
mov ecx, dword [edi + 0x2c]
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [edi + 0x30], esi
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], 0
mov dword [edi + 0xa8], 0
jmp 0x100c7cda
cmp edx, eax
je 0x100c7cc3
mov ecx, dword [edi + 0x2c]
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [edi + 0x30], esi
xor eax, eax
test ebx, ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], 0
sete al
mov dword [edi + 0xa8], eax
mov word [ebp], 4
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi + 0x10]
push ebp
push 0
push eax
call fcn.101c4450
add esp, 0xc
mov eax, dword [edi + 0x18]
jmp 0x100c7b9c
push 0x101de9c0
push ecx
push eax
call fcn.101cbcc0
push 0x101de970
push 0x1f
push 0x101de94f
call fcn.101cb950
push 0x101da5d0
push edx
push eax
call fcn.101cbcc0
push 0x101de9d0
push edx
push ecx
call fcn.101cbd20
push 0x101de9d0
push ebx
push edx
call fcn.101cbcc0