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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002cf6d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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 - 0x64], ecx
mov eax, dword [0x10048c00]
mov ecx, dword [0x10048c04]
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x1000641a
mov ebx, dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
push eax
lea ecx, [ebp - 0x40]
call fcn.100076c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
push 0
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push 0
push 6
push dword [ebp - 0x30]
mov dword [ebp - 0x48], 0
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x100063c3
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
xor ebx, ebx
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
test eax, eax
je 0x1000624a
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007a20
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x1c]
push edi
push ebx
push esi
call fcn.10011420
lea ebx, [edi + esi]
add esp, 0xc
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push 0
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push esi
push 6
push dword [ebp - 0x30]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x10006376
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0
push 0
sub ebx, esi
push ebx
push esi
push 8
push 0x10001
mov dword [ebp - 0x60], ebx
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x10006376
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x100062e4
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007a20
push dword [ebp - 0x54]
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.10011420
mov eax, dword [ebp - 0x54]
add esp, 0xc
add eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push 0
push 0
push dword [ebp - 0x60]
push esi
push 8
push 0x10001
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x10006330
lea eax, [ebp - 0x44]
push eax
push 0
push closesocket
push ebx
push 1
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfoEx2]
test eax, eax
je 0x10006330
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x64]
call dword [sym.imp.CRYPTXML.dll_CryptXmlVerifySignature]
test eax, eax
jne 0x10006439
test ebx, ebx
je 0x10006376
mov ecx, dword [ebp - 0x50]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x10006357
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push ecx
push ebx
call fcn.1000f3d0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
test esi, esi
je 0x100063bd
sub edi, esi
mov eax, esi
cmp edi, 0x1000
jb 0x1000639e
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push edi
push esi
call fcn.1000f3d0
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov ebx, dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100063cd
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10006408
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100063fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push ecx
push edx
call fcn.1000f3d0
add esp, 8
mov eax, dword [ebp - 0x58]
add eax, 0x18
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x68]
jne 0x100061b4
mov eax, dword [ebp - 0x5c]
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
mov dword [ebp - 0x5c], 0
test ebx, ebx
je 0x1000646d
mov ecx, dword [ebp - 0x50]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x10006463
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push ecx
push ebx
call fcn.1000f3d0
add esp, 8
test esi, esi
je 0x10006497
sub edi, esi
mov eax, esi
cmp edi, 0x1000
jb 0x1000648d
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push edi
push esi
call fcn.1000f3d0
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100064a5
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1000641a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100064cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100064de
push ecx
push edx
call fcn.1000f3d0
add esp, 8
jmp 0x1000641a
call fcn.1001481b
int3