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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413508
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x38], ecx
mov eax, dword [0x41982c]
movq xmm0, qword [str.CTu_CTu_CTu]
push 0
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 6
push ebx
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x34], 0
call edi
test eax, eax
je 0x40185d
mov eax, dword [ebp - 0x28]
inc eax
push eax
call fcn.004025ef
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x401879
mov eax, dword [ebp - 0x28]
inc eax
push eax
push 0
push esi
call fcn.00403a60
add esp, 0xc
lea eax, [ebp - 0x28]
push 0
push 0
push eax
push esi
push 6
push ebx
push dword [ebp - 0x38]
call edi
test eax, eax
je 0x401895
push dword [ebp - 0x28]
push esi
call dword [sym.imp.smime3.dll_CERT_DecodeCertFromPackage]
mov edi, eax
add esp, 8
mov dword [ebp - 0x40], edi
test edi, edi
je 0x4018b1
push edi
call dword [sym.imp.nss3.dll_CERT_MakeCANickname]
add esp, 4
mov dword [ebp - 0x34], eax
call dword [sym.imp.nss3.dll_CERT_GetDefaultCertDB]
mov dword [ebp - 0x38], eax
call dword [sym.imp.nss3.dll_PK11_GetInternalKeySlot]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4018cd
push 0xc
call dword [sym.imp.nss3.dll_PORT_ZAlloc]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x4018e9
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.nss3.dll_CERT_DecodeTrustString]
add esp, 8
test eax, eax
jne 0x401905
push dword [ebp - 0x30]
call dword [sym.imp.nss3.dll_PK11_IsFriendly]
add esp, 4
test eax, eax
je 0x401921
push 0
push dword [ebp - 0x34]
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.nss3.dll_PK11_ImportCert]
add esp, 0x14
test eax, eax
jne 0x40193d
push dword [ebp - 0x34]
call dword [sym.imp.nss3.dll_PORT_Free]
add esp, 4
push ebx
push edi
push dword [ebp - 0x38]
call dword [sym.imp.nss3.dll_CERT_ChangeCertTrust]
add esp, 0xc
test eax, eax
jne 0x401959
push ebx
call dword [sym.imp.nss3.dll_PORT_Free]
add esp, 4
push edi
call dword [sym.imp.nss3.dll_CERT_DestroyCertificate]
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.nss3.dll_PK11_FreeSlot]
add esp, 4
push 1
push esi
call fcn.004025be
add esp, 8
xor eax, eax
jmp 0x401841
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004025ad
mov esp, ebp
pop ebp
ret
push 0x41aba8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2c], 0xffffd8ee
push eax
mov dword [ebp - 0x44], str.BASE64
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], 0xffffd8f0
push eax
mov dword [ebp - 0x48], 0x419840
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2c], 0xffffd8ee
push eax
mov dword [ebp - 0x4c], str.BASE64
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], 0xffffd8d2
push eax
mov dword [ebp - 0x50], 0x419850
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x54]
mov dword [ebp - 0x2c], 0xffffd8d1
push eax
mov dword [ebp - 0x54], 0x419860
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], 0xffffd8f0
push eax
mov dword [ebp - 0x58], 0x419840
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0xffffd8cf
push eax
mov dword [ebp - 0x5c], 0x419874
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x2c], 0xffffd8cb
push eax
mov dword [ebp - 0x60], str.slot_not_friend
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x64]
mov dword [ebp - 0x2c], 0xffffd8d0
push eax
mov dword [ebp - 0x64], 0x419890
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x2c], 0xffffd8ce
push eax
mov dword [ebp - 0x68], 0x4198a0
call fcn.00403c3c
int3