Function at 0x100a3d80
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 0x100a3fc3
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 0x100a3ec7
cmp eax, 0x80090318
je 0x100a3f25
test eax, eax
jne 0x100a3f1c
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 0x100a3fec
cmp edx, ebx
ja 0x100a3ff8
add esi, ecx
xor ebx, ebx
add ebp, esi
sub ebp, eax
mov eax, 0
cmp dword [edi + 0x10], ebp
jb 0x100a3fa8
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 0x100a3e89
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp]
mov eax, ecx
sub eax, ebx
jb 0x100a3fcf
test ebx, ebx
je 0x100a3f83
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100a3fe0
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100a3f6c
cmp edx, eax
jne 0x100a3f80
jmp 0x100a3f83
cmp eax, 0x90317
je 0x100a3f37
cmp eax, 0x90321
jne 0x100a3f1c
mov dword [edi + 0x50], 0x10000
mov byte [edi + 0x54], 0
xor ebx, ebx
cmp dword [esp + 0x2c], 5
mov ecx, dword [edi + 0x20]
jne 0x100a3ef0
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
jb 0x100a3fcf
test ebx, ebx
je 0x100a3f56
mov edx, dword [edi + 0x30]
mov esi, edx
sub esi, eax
jb 0x100a3fe0
cmp ebx, ecx
mov dword [edi + 0x30], 0
jne 0x100a3f3f
cmp edx, eax
jne 0x100a3f53
jmp 0x100a3f56
mov byte [ebp], 0
mov dword [ebp + 4], eax
jmp 0x100a3fa0
cmp dword [esp + 0x14], 4
mov eax, 1
jne 0x100a3f94
mov eax, dword [esp + 0x10]
jmp 0x100a3f94
mov word [ebp], 0x104
jmp 0x100a3fa0
cmp edx, eax
je 0x100a3f56
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 0x100a3f9a
cmp edx, eax
je 0x100a3f83
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.101c6630
add esp, 0x14
mov eax, dword [edi + 0x18]
jmp 0x100a3e5c
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