Function at 0x10006cb0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d08d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10047018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0xc
call fcn.10006a20
cmp dword [0x1004796c], 8
lea ecx, [ebp - 0x34]
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov eax, 0x10047958
cmovae eax, dword [0x10047958]
push 0
push 0
push ecx
push 0
push 1
push 0
push eax
mov dword [ebp - 0x34], 0
call edi
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10007046
push esi
call fcn.1000f720
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x4c], ebx
call fcn.10011420
add esp, 0x10
mov dword [ebp - 0x20], ebx
push 0
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
cmp dword [0x1004796c], 8
mov eax, 0x10047958
push ecx
cmovae eax, dword [0x10047958]
push ebx
push 1
push 0
push eax
call edi
mov esi, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push 4
push 0x10001
call dword [sym.imp.CRYPT32.dll_CryptMsgOpenToDecode]
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
je 0x100070c2
push 1
push esi
push ebx
push edi
call dword [sym.imp.CRYPT32.dll_CryptMsgUpdate]
test eax, eax
je 0x100070c2
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
xor ebx, ebx
movq qword [ebp - 0x2c], xmm0
xor esi, esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push esi
push esi
push 0x1b
push edi
mov dword [ebp - 0x30], esi
call dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
je 0x10007095
mov edi, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10006e66
cmp edi, 0x7fffffff
ja 0x100070d5
cmp edi, 0x1000
jb 0x10006e3a
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100070da
push eax
call fcn.1000f3a0
add esp, 4
test eax, eax
je 0x100070df
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10006e45
push edi
call fcn.1000f3a0
add esp, 4
mov esi, eax
push edi
lea eax, [esi + edi]
mov dword [ebp - 0x1c], esi
push 0
push esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], eax
call fcn.10011420
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
push esi
push 0
push 0x1b
push dword [ebp - 0x44]
call dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
je 0x10007065
mov edx, dword [ebp - 0x3c]
mov ecx, edx
mov edi, dword [ebp - 0x30]
sub ecx, esi
cmp edi, ecx
jae 0x10006e97
lea eax, [esi + edi]
jmp 0x10006ecd
jbe 0x10006ed3
mov eax, dword [ebp - 0x40]
sub eax, esi
cmp edi, eax
jbe 0x10006eba
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.10007d90
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
jmp 0x10006ed0
sub edi, ecx
push edi
push 0
push edx
call fcn.10011420
mov eax, dword [ebp - 0x3c]
add esp, 0xc
add eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], eax
mov edi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0xa
push dword [ebp - 0x44]
call edi
test eax, eax
je 0x10007065
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10006f0a
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10007d90
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push 0
push 0xa
push dword [ebp - 0x44]
call edi
test eax, eax
je 0x10007065
cmp dword [ebx], 1
jb 0x10006fd7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, str.1.2.840.113549.1.9.16.2.14
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006f60
test dl, dl
je 0x10006f5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006f60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006f40
xor eax, eax
jmp 0x10006f65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10006fa1
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 1
jne 0x10006fa1
mov eax, dword [eax + 8]
push 0
push 0x10048bac
mov dword [ebp - 0x38], 0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push 0
sub eax, esi
push eax
push esi
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptVerifyTimeStampSignature]
test eax, eax
jne 0x10006fb1
mov ecx, dword [ebp - 0x14]
inc edi
add ecx, 0xc
mov dword [ebp - 0x14], ecx
cmp edi, dword [ebx]
jb 0x10006f30
jmp 0x10006fd7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.100072a0
push dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
call dword [sym.imp.CRYPT32.dll_CryptMemFree]
push dword [ebp - 0x44]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
test esi, esi
je 0x10007011
mov ecx, dword [ebp - 0x40]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10007007
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100070df
push ecx
push esi
call fcn.1000f3d0
add esp, 8
mov ecx, dword [ebp - 0x48]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x10007034
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100070df
push ecx
push ebx
call fcn.1000f3d0
push dword [ebp - 0x4c]
call fcn.1000f401
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f392
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10007092
mov ecx, dword [ebp - 0x40]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10007088
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100070df
push ecx
push esi
call fcn.1000f3d0
add esp, 8
mov esi, dword [ebp - 0x48]
test ebx, ebx
je 0x100070bf
sub esi, ebx
mov eax, ebx
cmp esi, 0x1000
jb 0x100070b5
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100070df
push esi
push ebx
call fcn.1000f3d0
add esp, 8
mov ebx, dword [ebp - 0x4c]
push ebx
call fcn.1000f401
add esp, 4
mov eax, 0xc
jmp 0x10007049
call fcn.10003a30
call fcn.10002d80
call fcn.1001481b
int3