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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
mov esi, eax
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
cmp ecx, edx
jb 0x4a1cb9
cmp ecx, eax
jb 0x4a1cb9
mov dword [esp + 0x14], 0
test eax, eax
jne 0x4a1b9d
mov eax, edx
push 4
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0x14]
push eax
push ecx
mov dword [esp + 0x20], ecx
call dword [sym.imp.SHLWAPI.dll_HashData]
cmp dword [esi], 0x4034b50
jne 0x4a1cb9
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 4]
jne 0x4a1cb9
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.MSVCR100.dll_malloc]
push edi
mov dword [esp + 0x24], edi
call ebx
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x4a1cb9
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4a1cc2
push esi
mov dword [esp + 0x18], esi
call ebx
mov edx, dword [esp + 0x14]
add esp, 4
push esi
mov ebx, eax
push edx
push ebx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0xc]
add esp, 0xc
push 0
push eax
mov eax, 0x100
call fcn.004a17e0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x20]
push edx
mov esi, eax
push esi
push 1
push 0
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_free]
call ebx
mov eax, dword [esp + 0x20]
add esp, 4
cmp edi, eax
jne 0x4a1c83
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push esi
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call ebx
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
push eax
lea edx, [esp + 0x18]
push edx
xor eax, eax
mov ecx, esi
call fcn.00420740
add esp, 0xc
test eax, eax
je 0x4a1d23
mov edi, dword [esp + 0x10]
call fcn.00420710
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call ebx
add esp, 4
push esi
call ebx
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
jne 0x4a1ce2
mov edx, dword [esp + 0x10]
push edi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
xor eax, eax
call fcn.00420740
add esp, 0xc
test eax, eax
je 0x4a1d1d
mov edi, dword [esp + 0x10]
call fcn.00420710
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.MSVCR100.dll_free]
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
push 1
lea eax, [esp + 0x2c]
mov edx, edi
call fcn.00420450
add esp, 4
test eax, eax
je 0x4a1d7a
mov eax, dword [esi]
push eax
call ebx
add esp, 4
call fcn.00420710
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a1cb9
push eax
call ebx
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00420710
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a1d8d
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret