Function at 0x47f190
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549df8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x607070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x3c], eax
xor esi, esi
mov eax, 0xaaaaaaab
mov dword [ebp - 4], 0
mul dword [ebp + 0x10]
movq qword [ebp - 0x20], xmm0
xor ebx, ebx
mov dword [ebp - 0x18], 0
shr edx, 1
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x20], edi
lea eax, [edx + edx*2]
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 0x10]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x18], ebx
mov eax, ecx
and ecx, 1
shr eax, 1
and eax, 1
lea eax, [eax + ecx*2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
xor ecx, ecx
lea eax, [ecx + 3]
mov dword [ebp - 0x40], eax
cmp eax, edx
ja 0x47f43d
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
mov al, byte [ecx + edx]
mov dl, byte [ecx + edx + 1]
mov cl, byte [ecx + edi + 2]
lea edi, [ebp - 0x21]
mov byte [ebp - 0x22], cl
movzx ecx, al
mov eax, ecx
mov byte [ebp - 0x2e], dl
shr eax, 2
cmp edi, esi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x21], al
jae 0x47f2a1
lea ecx, [ebp - 0x21]
cmp edi, ecx
mov ecx, dword [ebp - 0x2c]
ja 0x47f2a1
lea eax, [ebp - 0x21]
sub eax, edi
mov dword [ebp - 0x34], eax
cmp esi, ebx
jne 0x47f298
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x2e]
test esi, esi
je 0x47f2c6
mov al, byte [eax + edi]
jmp 0x47f2c4
cmp esi, ebx
jne 0x47f2c0
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x2d]
mov dl, byte [ebp - 0x2e]
test esi, esi
je 0x47f2c6
mov byte [esi], al
movzx edx, dl
and ecx, 3
mov eax, edx
mov dword [ebp - 0x2c], edx
add ecx, ecx
shr eax, 4
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f31e
cmp edi, ecx
ja 0x47f31e
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x34], eax
cmp esi, ebx
jne 0x47f315
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x47f340
mov al, byte [eax + edi]
jmp 0x47f33e
cmp esi, ebx
jne 0x47f33a
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x2d]
test esi, esi
je 0x47f340
mov byte [esi], al
movzx ecx, byte [ebp - 0x22]
and edx, 0xf
mov eax, ecx
mov dword [ebp - 0x2c], ecx
shr eax, 6
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [eax + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea edx, [ebp - 0x21]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp edx, esi
jae 0x47f397
cmp edi, edx
ja 0x47f397
mov eax, edx
sub eax, edi
mov dword [ebp - 0x34], eax
cmp esi, ebx
jne 0x47f38e
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
test esi, esi
je 0x47f3b9
mov al, byte [eax + edi]
jmp 0x47f3b7
cmp esi, ebx
jne 0x47f3b3
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f3b9
mov byte [esi], al
and ecx, 0x3f
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f40f
cmp edi, ecx
ja 0x47f40f
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x34], eax
cmp esi, ebx
jne 0x47f3f7
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
test esi, esi
je 0x47f42e
mov al, byte [eax + edi]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0x10]
mov byte [esi], al
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x47f221
cmp esi, ebx
jne 0x47f428
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f42e
mov byte [esi], al
mov ecx, dword [ebp - 0x40]
inc esi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x47f221
mov eax, dword [ebp - 0x28]
cmp eax, 2
jne 0x47f5f2
add ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x21]
mov dword [ebp - 0x2c], ecx
movzx eax, byte [ecx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp edx, esi
jae 0x47f498
cmp edi, edx
ja 0x47f498
mov eax, edx
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f48f
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test esi, esi
je 0x47f4ba
mov al, byte [eax + edi]
jmp 0x47f4b8
cmp esi, ebx
jne 0x47f4b4
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x22]
mov ecx, dword [ebp - 0x2c]
test esi, esi
je 0x47f4ba
mov byte [esi], al
movzx eax, byte [ecx]
inc esi
and eax, 3
mov dword [ebp - 0x1c], esi
shl eax, 4
lea ecx, [ebp - 0x21]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f507
cmp edi, ecx
ja 0x47f507
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f4fe
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x47f526
mov al, byte [eax + edi]
jmp 0x47f524
cmp esi, ebx
jne 0x47f520
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f526
mov byte [esi], al
inc esi
cmp byte [ebp - 0x2f], 0
mov dword [ebp - 0x1c], esi
je 0x47f775
lea eax, [ebp - 0x21]
mov byte [ebp - 0x21], 0x3d
cmp eax, esi
jae 0x47f56c
cmp edi, eax
ja 0x47f56c
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f561
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x47f589
mov al, byte [edi + eax]
mov byte [esi], al
jmp 0x47f589
cmp esi, ebx
jne 0x47f582
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test esi, esi
je 0x47f589
mov byte [esi], 0x3d
inc esi
mov byte [ebp - 0x21], 0x3d
lea eax, [ebp - 0x21]
mov dword [ebp - 0x1c], esi
cmp eax, esi
jae 0x47f5cc
cmp edi, eax
ja 0x47f5cc
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f5ba
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x47f5c3
mov al, byte [eax + edi]
mov byte [esi], al
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x47f775
cmp esi, ebx
jne 0x47f5e2
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test esi, esi
je 0x47f5e9
mov byte [esi], 0x3d
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x47f775
cmp eax, 1
jne 0x47f775
mov edx, dword [ebp + 0xc]
add edx, ecx
lea ecx, [ebp - 0x21]
mov dword [ebp - 0x2c], edx
movzx eax, byte [edx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f64c
cmp edi, ecx
ja 0x47f64c
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f643
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x47f66e
mov al, byte [eax + edi]
jmp 0x47f66c
cmp esi, ebx
jne 0x47f668
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f66e
mov byte [esi], al
movzx ecx, byte [edx]
inc esi
movzx eax, byte [edx + 1]
and ecx, 3
add ecx, ecx
shr eax, 4
mov dword [ebp - 0x1c], esi
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f6c5
cmp edi, ecx
ja 0x47f6c5
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f6bc
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x47f6e7
mov al, byte [eax + edi]
jmp 0x47f6e5
cmp esi, ebx
jne 0x47f6e1
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f6e7
mov byte [esi], al
movzx eax, byte [edx + 1]
lea ecx, [ebp - 0x21]
and eax, 0xf
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
cmp ecx, esi
jae 0x47f733
cmp edi, ecx
ja 0x47f733
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x28], eax
cmp esi, ebx
jne 0x47f72a
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x47f752
mov al, byte [eax + edi]
jmp 0x47f750
cmp esi, ebx
jne 0x47f74c
push ecx
lea ecx, [ebp - 0x20]
call fcn.004807e0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x22]
test esi, esi
je 0x47f752
mov byte [esi], al
inc esi
cmp byte [ebp - 0x2f], 0
mov dword [ebp - 0x1c], esi
je 0x47f775
lea eax, [ebp - 0x22]
mov byte [ebp - 0x22], 0x3d
push eax
lea ecx, [ebp - 0x20]
call fcn.00480360
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x47f790
mov eax, dword [edx]
jmp 0x47f792
mov eax, edx
mov byte [eax], 0
mov eax, esi
mov ecx, dword [edx + 0x10]
sub eax, edi
mov dword [ebp - 0x28], ecx
cmp ecx, eax
ja 0x47f7cf
cmp dword [edx + 0x14], eax
je 0x47f7cf
push 1
push eax
mov ecx, edx
call fcn.00433ca0
mov edx, dword [ebp - 0x38]
test al, al
je 0x47f7cf
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x10], eax
cmp dword [edx + 0x14], 0x10
jb 0x47f7c9
mov ecx, dword [edx]
jmp 0x47f7cb
mov ecx, edx
mov byte [ecx + eax], 0
push dword [ebp - 0x28]
mov ecx, edx
push esi
push edi
call fcn.004808e0
test edi, edi
je 0x47f7e8
sub ebx, edi
push ebx
push edi
call fcn.00433aa0
mov eax, dword [ebp - 0x38]
jmp 0x47f803
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fef09
mov esp, ebp
pop ebp
ret 0x10