Function at 0x100c7d40
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov ebp, ecx
mov eax, dword [edx + 0xe0]
mov ecx, dword [edx + 0xf0]
cmp ecx, eax
jb 0x100c7fdc
mov ecx, dword [edx + 0xec]
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 + 0x128]
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 0x100c7eb4
cmp eax, 0x80090318
je 0x100c7f24
test eax, eax
jne 0x100c7f18
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0xec]
mov dword [esp], ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [edi + 0xf0]
mov dword [edi + 0xd8], 0
mov ecx, eax
sub ecx, esi
mov edx, ecx
add edx, ebp
jb 0x100c8005
cmp edx, ebx
ja 0x100c8011
add esi, ecx
xor ebx, ebx
add ebp, esi
sub ebp, eax
mov eax, 0
cmp dword [edi + 0xd0], ebp
jb 0x100c7fbf
add eax, dword [edi + 0xd4]
push ebp
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [edi + 0xd8], ebp
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0xe0]
jne 0x100c7e70
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp]
mov eax, ecx
sub eax, ebx
jb 0x100c7fe8
test ebx, ebx
je 0x100c7f94
mov edx, dword [edi + 0xf0]
mov esi, edx
sub esi, eax
jb 0x100c7ff9
cmp ebx, ecx
mov dword [edi + 0xf0], 0
jne 0x100c7f77
cmp edx, eax
jne 0x100c7f8e
jmp 0x100c7f94
cmp eax, 0x90317
je 0x100c7f36
cmp eax, 0x90321
jne 0x100c7f18
mov dword [edi + 0x110], 0x10000
mov byte [edi + 0x114], 0
xor ebx, ebx
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0xe0]
jne 0x100c7ee6
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
jb 0x100c7fe8
test ebx, ebx
je 0x100c7f5b
mov edx, dword [edi + 0xf0]
mov esi, edx
sub esi, eax
jb 0x100c7ff9
cmp ebx, ecx
mov dword [edi + 0xf0], 0
jne 0x100c7f3e
cmp edx, eax
jne 0x100c7f55
jmp 0x100c7f5b
mov byte [ebp], 0
mov dword [ebp + 4], eax
jmp 0x100c7fb7
cmp dword [esp + 0x14], 4
mov eax, 1
jne 0x100c7fab
mov eax, dword [esp + 0x10]
jmp 0x100c7fab
mov word [ebp], 0x104
jmp 0x100c7fb7
cmp edx, eax
je 0x100c7f5b
mov ecx, dword [edi + 0xec]
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [edi + 0xf0], esi
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], 0
mov dword [edi + 0x154], 0
jmp 0x100c7fb1
cmp edx, eax
je 0x100c7f94
mov ecx, dword [edi + 0xec]
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [edi + 0xf0], esi
xor eax, eax
test ebx, ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], 0
sete al
mov dword [edi + 0x154], eax
mov word [ebp], 4
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi + 0xd0]
push ebp
push 0
push eax
call fcn.101c4450
add esp, 0xc
mov eax, dword [edi + 0xd8]
jmp 0x100c7e34
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
int3