Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x41001c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0xff
push ebx
push esi
mov esi, 4
push edi
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], 0x3e
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], 0x3f
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], 3
mov dword [ebp - 0x340], 0x35
mov dword [ebp - 0x33c], 0x36
mov dword [ebp - 0x338], 0x3c
mov dword [ebp - 0x334], 0x38
mov dword [ebp - 0x330], 0x39
mov dword [ebp - 0x32c], 0x3a
mov dword [ebp - 0x328], 0x3b
mov dword [ebp - 0x324], 0x37
mov dword [ebp - 0x320], 0x3d
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], 0x12
mov dword [ebp - 0x2fc], 1
mov dword [ebp - 0x2f8], 0x24
mov dword [ebp - 0x2f4], 0x34
mov dword [ebp - 0x2f0], esi
mov dword [ebp - 0x2ec], 5
mov dword [ebp - 0x2e8], 6
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x2e0], 8
mov dword [ebp - 0x2dc], 9
mov dword [ebp - 0x2d8], 0xa
xor ecx, ecx
mov dword [ebp - 0x2d4], 0xb
mov dword [ebp - 0x2d0], 0xc
mov dword [ebp - 0x2cc], 0xd
mov dword [ebp - 0x2c8], 0x2b
mov dword [ebp - 0x2c4], 0xf
mov dword [ebp - 0x2c0], 0x10
mov dword [ebp - 0x2bc], 0x11
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2b4], 0x13
mov dword [ebp - 0x2b0], 0x14
mov dword [ebp - 0x2ac], 0x17
mov dword [ebp - 0x2a8], 0x16
mov dword [ebp - 0x2a4], 0x15
mov dword [ebp - 0x2a0], 0x18
mov dword [ebp - 0x29c], 0x19
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 0x1a
mov dword [ebp - 0x27c], 0x1b
mov dword [ebp - 0x278], 0x1c
mov dword [ebp - 0x274], 0x1d
mov dword [ebp - 0x270], 0x1e
mov dword [ebp - 0x26c], 0x1f
mov dword [ebp - 0x268], 0x20
mov dword [ebp - 0x264], 0x21
mov dword [ebp - 0x260], 0x22
mov dword [ebp - 0x25c], 0x23
mov dword [ebp - 0x258], 2
mov dword [ebp - 0x254], 0x25
mov dword [ebp - 0x250], 0x26
mov dword [ebp - 0x24c], 0x27
mov dword [ebp - 0x248], 0x2f
mov dword [ebp - 0x244], 0x29
mov dword [ebp - 0x240], 0x2a
mov dword [ebp - 0x23c], 0xe
mov dword [ebp - 0x238], 0x2c
mov dword [ebp - 0x234], 0x2d
mov dword [ebp - 0x230], 0x2e
mov dword [ebp - 0x22c], 0x28
mov dword [ebp - 0x228], 0x30
mov dword [ebp - 0x224], 0x31
mov dword [ebp - 0x220], 0x32
mov dword [ebp - 0x21c], 0x33
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov ebx, 0x511da0
mov edx, 0x411da0
jmp 0x4016d0
movsx edi, byte [ebx]
mov edi, dword [ebp + edi*4 - 0x404]
inc ebx
cmp edi, eax
je 0x4016fd
shl ecx, 6
or ecx, edi
dec esi
jne 0x4016fd
mov byte [edx + 2], cl
shr ecx, 8
mov byte [edx + 1], cl
shr ecx, 8
mov byte [edx], cl
add edx, 3
xor ecx, ecx
lea esi, [ecx + 4]
cmp ebx, 0x611da0
jne 0x4016d0
mov eax, edx
sub eax, 0x411da0
dec esi
je 0x401729
dec esi
jne 0x401737
pop edi
shr ecx, 4
pop esi
inc eax
mov byte [edx], cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401efc
mov esp, ebp
pop ebp
ret
shr ecx, 2
mov byte [edx + 1], cl
shr ecx, 8
add eax, 2
mov byte [edx], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401efc
mov esp, ebp
pop ebp
ret