Function at 0x100ad800
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 0x100ada43
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 0x100ad947
cmp eax, 0x80090318
je 0x100ad9a5
test eax, eax
jne 0x100ad99c
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 0x100ada6c
cmp edx, ebx
ja 0x100ada78
add esi, ecx
xor ebx, ebx
add ebp, esi
sub ebp, eax
mov eax, 0
cmp dword [edi + 0x10], ebp
jb 0x100ada28
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 0x100ad909
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp]
mov eax, ecx
sub eax, ebx
jb 0x100ada4f
test ebx, ebx
je 0x100ada03
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100ada60
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100ad9ec
cmp edx, eax
jne 0x100ada00
jmp 0x100ada03
cmp eax, 0x90317
je 0x100ad9b7
cmp eax, 0x90321
jne 0x100ad99c
mov dword [edi + 0x50], 0x10000
mov byte [edi + 0x54], 0
xor ebx, ebx
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0x20]
jne 0x100ad970
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
jb 0x100ada4f
test ebx, ebx
je 0x100ad9d6
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100ada60
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100ad9bf
cmp edx, eax
jne 0x100ad9d3
jmp 0x100ad9d6
mov byte [ebp], 0
mov dword [ebp + 4], eax
jmp 0x100ada20
cmp dword [esp + 0x14], 4
mov eax, 1
jne 0x100ada14
mov eax, dword [esp + 0x10]
jmp 0x100ada14
mov word [ebp], 0x104
jmp 0x100ada20
cmp edx, eax
je 0x100ad9d6
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 0x100ada1a
cmp edx, eax
je 0x100ada03
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 1
push 1
push ebp
push 0
push eax
call fcn.101c6270
add esp, 0x14
mov eax, dword [edi + 0x18]
jmp 0x100ad8dc
push 0x101dde04
push ecx
push eax
call fcn.101cc950
push 0x101dddb4
push 0x1f
push 0x101ddd93
call fcn.101cc600
push 0x101dd010
push edx
push eax
call fcn.101cc950
push 0x101dde14
push edx
push ecx
call fcn.101cc9b0
push 0x101dde14
push ebx
push edx
call fcn.101cc950
int3