Function at 0x442520
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576c56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x40
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push 0x50
movups xmmword [ebp - 0x4c], xmm0
call fcn.00547e47
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, eax
mov dword [ebp - 0x3c], 0x40
add esp, 4
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], 0x4f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x596708]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x596718]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [0x596728]
movups xmmword [edx + 0x30], xmm0
mov byte [edx + 0x40], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x4427e8
nop word [eax + eax]
mov ecx, dword [ebp - 0x14]
dec eax
mov dword [ebx + 8], eax
movzx eax, word [ecx]
add ecx, 2
mov word [ebp + esi*2 - 0x2c], ax
inc esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x2c]
cmp esi, 3
jne 0x4426c1
mov esi, dword [ebp - 0x28]
mov eax, ecx
mov ecx, dword [ebp - 0x2a]
shr eax, 2
and eax, 0x3f
shr ecx, 4
mov word [ebp - 0x34], ax
and ecx, 0xf
mov eax, dword [ebp - 0x2c]
and eax, 3
shl eax, 4
add ecx, eax
mov eax, dword [ebp - 0x2a]
mov word [ebp - 0x32], cx
and eax, 0xf
mov ecx, esi
and esi, 0x3f
shr ecx, 6
and ecx, 3
mov word [ebp - 0x2e], si
xor esi, esi
lea eax, [ecx + eax*4]
mov word [ebp - 0x30], ax
nop word [eax + eax]
movzx eax, word [ebp + esi*2 - 0x34]
mov ecx, dword [edi + 0x10]
mov al, byte [eax + edx]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x4426a1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x442694
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4426b3
push dword [ebp - 0x18]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.00424a00
mov edx, dword [ebp - 0x4c]
inc esi
cmp esi, 4
jl 0x442670
mov ecx, dword [ebp - 0x2c]
xor esi, esi
mov eax, dword [ebx + 8]
test eax, eax
jne 0x442600
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4427e8
cmp esi, 3
jge 0x4426fc
lea edx, [esi + esi]
mov ecx, 6
sub ecx, edx
lea edi, [ebp - 0x2c]
shr ecx, 1
add edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, ecx
shr eax, 2
and ecx, 3
and eax, 0x3f
shl ecx, 4
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x2a]
shr eax, 4
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x2a]
mov word [ebp - 0x32], ax
and ecx, 0xf
mov eax, edx
and edx, 0x3f
shr eax, 6
and eax, 3
mov word [ebp - 0x2e], dx
lea eax, [eax + ecx*4]
mov word [ebp - 0x30], ax
lea eax, [esi + 1]
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x44279f
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [ebp - 0x4c]
movzx eax, word [ebp + esi*2 - 0x34]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x442784
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x442777
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x442796
push dword [ebp - 0x18]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.00424a00
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x442750
mov esi, dword [ebp - 0x14]
cmp esi, 3
jge 0x4427e8
mov eax, 3
sub eax, esi
mov dword [ebp - 0x18], eax
nop
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x4427d1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4427c9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x4427e2
push 0x3d
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.00424a00
sub dword [ebp - 0x18], 1
jne 0x4427b0
push 0x50
push dword [ebp - 0x4c]
call fcn.00547d61
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret