Function at 0x42b970
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54be47
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6fb4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xac], 0
test byte [ebp + 0xc], 1
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0x9c], eax
movzx eax, byte [0x5947e0]
mov byte [ebp - 0x58], al
movzx eax, byte [0x594828]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x54]
cmove eax, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx]
movups xmmword [ebp - 0x98], xmm0
push 0
movups xmm0, xmmword [0x5947b0]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0xa8], 0
movups xmm0, xmmword [0x5947c0]
lea ecx, [eax + 2]
mov eax, 0x55555556
imul ecx
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x5947d0]
movups xmmword [ebp - 0x68], xmm0
mov esi, edx
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
shr esi, 0x1f
add esi, edx
movups xmmword [ebp - 0x54], xmm0
shl esi, 2
movups xmm0, xmmword [0x5947f8]
movups xmmword [ebp - 0x44], xmm0
lea eax, [esi + 1]
movups xmm0, xmmword [0x594808]
push eax
push 4
movups xmmword [ebp - 0x34], xmm0
push 1
movups xmm0, xmmword [0x594818]
movups xmmword [ebp - 0x24], xmm0
call fcn.00403540
mov edx, dword [ebp - 0x9c]
add esp, 0x10
mov dword [edx], eax
test eax, eax
jne 0x42ba9d
call fcn.00425c40
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx]
mov dword [eax + 4], esi
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
add ecx, eax
mov byte [ecx + esi], 0
mov eax, dword [edx]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xac], 1
mov eax, dword [eax]
cmp eax, 1
je 0x42bacd
test eax, eax
jne 0x42bad5
mov eax, dword [edx]
cmp dword [eax + 0xc], 0x10
je 0x42baf0
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
shr eax, 0x1f
push eax
mov eax, dword [ecx + 4]
mov ecx, edx
inc eax
push eax
call fcn.0042ae40
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
add esi, eax
cmp dword [ebp - 0xa4], edi
jle 0x42bbe9
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
add edx, ecx
movzx ecx, byte [edx + edi]
inc edi
shl ecx, 0x10
cmp edi, dword [ebp - 0xa4]
jne 0x42bb2c
mov dword [ebp - 0xa8], 2
jmp 0x42bb51
movzx eax, byte [edx + edi]
inc edi
shl eax, 8
or ecx, eax
cmp edi, dword [ebp - 0xa4]
jne 0x42bb4a
mov dword [ebp - 0xa8], 1
jmp 0x42bb51
movzx eax, byte [edx + edi]
inc edi
or ecx, eax
mov edx, ecx
mov eax, ecx
and eax, 0x3f
shr edx, 6
mov dword [ebp - 0xb8], eax
and edx, 0x3f
mov eax, ecx
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0xa0]
shr eax, 0x12
shr ecx, 0xc
and ecx, 0x3f
movzx eax, byte [eax + edx]
mov byte [esi], al
mov eax, edx
mov edx, dword [ebp - 0xb4]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0xa8]
mov byte [esi + 1], al
add esi, 2
cmp ecx, 1
jle 0x42bbaa
test byte [ebp + 0xc], 2
jne 0x42bbd7
mov byte [esi], 0x3d
inc esi
jmp 0x42bbba
mov eax, dword [ebp - 0xa0]
mov al, byte [edx + eax]
mov byte [esi], al
inc esi
test ecx, ecx
jle 0x42bbc5
test byte [ebp + 0xc], 2
jne 0x42bbd7
mov byte [esi], 0x3d
jmp 0x42bbd6
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xa0]
mov al, byte [eax + ecx]
mov byte [esi], al
inc esi
cmp edi, dword [ebp - 0xa4]
jl 0x42bb03
mov edx, dword [ebp - 0x9c]
test byte [ebp + 0xc], 2
je 0x42bc3b
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, 1
je 0x42bbfc
test eax, eax
jne 0x42bc04
mov eax, dword [edx]
cmp dword [eax + 0xc], 0x10
je 0x42bc1f
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
shr eax, 0x1f
push eax
mov eax, dword [ecx + 4]
mov ecx, edx
inc eax
push eax
call fcn.0042ae40
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edx]
sub esi, dword [ecx + 0xc]
sub esi, ecx
cmp esi, dword [ecx + 4]
jge 0x42bc3b
push esi
mov ecx, edx
call fcn.0042b490
mov eax, dword [ebp - 0x9c]
jmp 0x42bc3d
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00524900
mov esp, ebp
pop ebp
ret 8