Function at 0x478c50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5419d3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x1c]
lea ecx, [eax*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
add edx, 0x20
shr eax, 0x1f
add eax, edx
push eax
mov dword [ebp - 0x68], eax
call fcn.0050b6cf
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
add esp, 4
cmp dword [ebp + 0x20], 0x10
movups xmmword [ebp - 0x54], xmm0
cmovae ecx, dword [ebp + 0xc]
xor edx, edx
movups xmm0, xmmword [0x56a188]
mov dword [ebp - 0xd4], eax
xor esi, esi
mov al, byte [0x56a1b8]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x14], al
movups xmm0, xmmword [0x56a198]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], ecx
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x56a1a8]
movups xmmword [ebp - 0x24], xmm0
test eax, eax
jle 0x479377
mov edi, eax
neg edi
mov dword [ebp - 0xd8], edi
movzx eax, byte [esi + ecx]
shr eax, 2
movzx eax, byte [ebp + eax - 0x54]
cmp edi, 0xffffffff
jne 0x478d6e
mov edi, dword [ebp - 0xd0]
mov byte [edx + edi], al
movzx eax, byte [esi + ecx]
and eax, 3
add eax, eax
movzx eax, byte [ebp + eax*8 - 0x54]
mov byte [edx + edi + 1], al
mov eax, edi
mov word [edx + eax + 2], 0x3d3d
jmp 0x478e1a
cmp edi, 0xfffffffe
mov edi, dword [ebp - 0xd0]
mov byte [edx + edi], al
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [esi + ecx]
movzx eax, byte [esi + eax + 1]
jne 0x478dc1
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [edx + ecx + 1], al
mov ecx, dword [ebp - 0xdc]
movzx eax, byte [esi + ecx + 1]
and eax, 0xf
movzx eax, byte [ebp + eax*4 - 0x54]
mov byte [edx + edi + 2], al
mov eax, edi
mov byte [edx + eax + 3], 0x3d
jmp 0x478e1a
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [edx + ecx + 1], al
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [esi + eax + 1]
movzx eax, byte [esi + eax + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [edx + ecx + 2], al
mov ecx, dword [ebp - 0xdc]
movzx eax, byte [esi + ecx + 2]
and eax, 0x3f
movzx eax, byte [ebp + eax - 0x54]
mov byte [edx + edi + 3], al
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd8]
add esi, 3
add edi, 3
add edx, 4
mov dword [ebp - 0xd8], edi
cmp esi, dword [ebp - 0xd4]
jl 0x478d34
test edx, edx
jle 0x479371
cmp edx, dword [ebp - 0x68]
jge 0x479371
mov ecx, eax
mov byte [edx + eax], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x478e55
mov esi, dword [ebp - 0xd0]
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0xc]
call fcn.00408de0
push esi
call fcn.0050b6d8
mov eax, dword [ebp + 0x1c]
add esp, 4
mov esi, dword [ebp + 0x20]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x478eb0
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
cmp byte [eax + ecx], 0x3d
jne 0x478ea8
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
mov byte [eax + ecx], 0x7c
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
inc ecx
cmp ecx, eax
jb 0x478e86
lea ecx, [ebp - 0x64]
cmp esi, 0x10
push ecx
lea edx, [ebp + 0xc]
cmovae edx, edi
lea ecx, [ebp - 0xc8]
push eax
call fcn.0043d5c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc8]
push eax
call fcn.00417c50
push 0xfde9
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0042bb90
add esp, 0x18
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x1c]
and ecx, 0x80000001
jns 0x478f08
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov byte [ebp - 4], 4
xor esi, esi
cmp dword [ebp - 0xa0], esi
jbe 0x478fd5
nop
mov eax, esi
and eax, 1
cmp eax, ecx
jne 0x478fc8
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x88]
cmovae eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0x84]
mov dl, byte [eax + esi]
mov byte [ebp - 0x68], dl
cmp ecx, edi
jae 0x478fa6
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x478fc2
push dword [ebp - 0x68]
mov byte [ebp - 0xd8], 0
push dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040f6e0
mov ecx, dword [ebp - 0xd4]
inc esi
cmp esi, dword [ebp - 0xa0]
jb 0x478f50
movups xmm3, xmmword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
movq xmm2, qword [ebp - 0xa0]
movups xmm1, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xb0], xmm3
movq xmm0, qword [ebp - 0x88]
movd eax, xmm3
movq qword [ebp - 0xa0], xmm0
cmp dword [ebp - 0x9c], 0x10
mov dword [ebp - 0xb0], eax
mov esi, dword [ebp + 0x20]
cmovae ecx, eax
mov edi, dword [ebp - 0xa0]
mov eax, esi
mov edx, dword [ebp + 0x1c]
sub eax, edx
movq qword [ebp - 0x88], xmm2
push edi
movups xmmword [ebp - 0x98], xmm1
push ecx
cmp edi, eax
ja 0x479063
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
lea esi, [eax + edx]
push esi
call fcn.0050d000
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x479073
mov byte [ebp - 0x68], 0
lea ecx, [ebp + 0xc]
push dword [ebp - 0x68]
push edi
call fcn.00409dc0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
push dword [ebp + 0x1c]
call fcn.0040e920
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0xc]
mov edi, dword [ebp + 0xc]
cmp edx, 0x10
mov eax, dword [ebp + 0x1c]
cmovae ecx, edi
add eax, ecx
cmp edx, 0x10
lea ecx, [ebp + 0xc]
mov esi, eax
cmovae ecx, edi
cmp esi, ecx
je 0x47911c
mov dl, byte [eax - 1]
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
mov byte [ebp - 0x68], dl
cmp ecx, edi
jae 0x4790f8
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
lea eax, [esi - 1]
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
jmp 0x4790b6
push dword [ebp - 0x68]
mov byte [ebp - 0xd4], 0
push dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040f6e0
mov edx, dword [ebp + 0x20]
lea eax, [esi - 1]
mov edi, dword [ebp + 0xc]
jmp 0x4790b6
mov edi, dword [ebp - 0x70]
cmp edi, 5
jbe 0x479169
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
cmovae eax, edx
cmovae ecx, edx
mov al, byte [eax + 5]
mov byte [ebp - 0xc9], al
lea eax, [ebp - 0x80]
cmovae eax, edx
mov dl, byte [ebp - 0xc9]
movzx eax, byte [edi + eax - 5]
mov byte [ecx + 5], al
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x70]
cmovae ecx, dword [ebp - 0x80]
mov byte [eax + ecx - 5], dl
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x4791ad
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
cmovae eax, edx
cmovae ecx, edx
mov al, byte [eax]
mov byte [ebp - 0xc9], al
lea eax, [ebp - 0x80]
cmovae eax, edx
mov dl, byte [ebp - 0xc9]
movzx eax, byte [edi + eax - 1]
mov byte [ecx], al
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x70]
cmovae ecx, dword [ebp - 0x80]
mov byte [eax + ecx - 1], dl
mov edx, 0x569588
lea ecx, [ebp - 0x80]
call fcn.0043d870
mov esi, dword [ebp - 0xe0]
movups xmm0, xmmword [ebp - 0x80]
mov byte [ebp - 0x80], 0
mov dword [ebp - 0xe4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 4], 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x47924f
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x479245
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479405
push edx
push ecx
call fcn.0050b342
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x4792a8
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47929e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47940a
push edx
push ecx
call fcn.0050b342
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x479307
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4792fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47940f
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov byte [ebp - 4], al
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x47935b
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x479351
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479414
push edx
push ecx
call fcn.0050b342
add esp, 8
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov eax, esi
jmp 0x4793e8
mov edi, dword [ebp - 0xe0]
push dword [ebp - 0xd0]
call fcn.0050b6d8
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 0xe4], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4793d4
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4793ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479419
push edx
push ecx
call fcn.0050b342
add esp, 8
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov eax, edi
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.0050b067
mov esp, ebp
pop ebp
ret 0x24
call fcn.0050f749
call fcn.0050f749
call fcn.0050f749
call fcn.0050f749
call fcn.0050f749
int3