Function at 0x100a3a90
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 0x100a3d30
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 0x100a3c04
cmp eax, 0x80090318
je 0x100a3c74
test eax, eax
jne 0x100a3c68
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 0x100a3d59
cmp edx, ebx
ja 0x100a3d65
add esi, ecx
xor ebx, ebx
add ebp, esi
sub ebp, eax
mov eax, 0
cmp dword [edi + 0xd0], ebp
jb 0x100a3d0f
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 0x100a3bc0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp]
mov eax, ecx
sub eax, ebx
jb 0x100a3d3c
test ebx, ebx
je 0x100a3ce4
mov edx, dword [edi + 0xf0]
mov esi, edx
sub esi, eax
jb 0x100a3d4d
cmp ebx, ecx
mov dword [edi + 0xf0], 0
jne 0x100a3cc7
cmp edx, eax
jne 0x100a3cde
jmp 0x100a3ce4
cmp eax, 0x90317
je 0x100a3c86
cmp eax, 0x90321
jne 0x100a3c68
mov dword [edi + 0x110], 0x10000
mov byte [edi + 0x114], 0
xor ebx, ebx
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0xe0]
jne 0x100a3c36
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
jb 0x100a3d3c
test ebx, ebx
je 0x100a3cab
mov edx, dword [edi + 0xf0]
mov esi, edx
sub esi, eax
jb 0x100a3d4d
cmp ebx, ecx
mov dword [edi + 0xf0], 0
jne 0x100a3c8e
cmp edx, eax
jne 0x100a3ca5
jmp 0x100a3cab
mov byte [ebp], 0
mov dword [ebp + 4], eax
jmp 0x100a3d07
cmp dword [esp + 0x14], 4
mov eax, 1
jne 0x100a3cfb
mov eax, dword [esp + 0x10]
jmp 0x100a3cfb
mov word [ebp], 0x104
jmp 0x100a3d07
cmp edx, eax
je 0x100a3cab
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 0x100a3d01
cmp edx, eax
je 0x100a3ce4
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 1
push 1
push ebp
push 0
push eax
call fcn.101c6630
add esp, 0x14
mov eax, dword [edi + 0xd8]
jmp 0x100a3b84
push 0x101dc8e0
push ecx
push eax
call fcn.101ccc90
push 0x101dc890
push 0x1f
push 0x101dc86f
call fcn.101cc940
push 0x101dd154
push edx
push eax
call fcn.101ccc90
push 0x101dc8f0
push edx
push ecx
call fcn.101cccf0
push 0x101dc8f0
push ebx
push edx
call fcn.101ccc90
int3