Function at 0x484810
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0x38
jae 0x484854
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], 0x80
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38
jae 0x484852
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x484838
jmp 0x4848a0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], 0x80
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x40
jae 0x484880
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x484866
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00484c10
add esp, 8
push 0x38
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d6720
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
shl eax, 3
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x48]
adc ecx, dword [edx + 0x4c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov edx, 1
imul eax, edx, 0x3f
mov edx, dword [ebp + 8]
mov byte [edx + eax], cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 8
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x3e
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x10
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x3d
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x18
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x3c
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x20
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x3b
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x28
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x3a
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x30
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x39
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov cl, 0x38
call fcn.004d2e30
mov edx, 1
imul ecx, edx, 0x38
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00484c10
add esp, 8
mov dword [ebp - 4], 0
jmp 0x4849c5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 4
jae 0x484b42
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
shl edx, 3
mov eax, 0x18
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx + 0x50]
mov ecx, eax
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
shl edx, 3
mov eax, 0x18
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx + 0x50]
mov ecx, eax
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 4], dl
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
shl edx, 3
mov eax, 0x18
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx + 0x50]
mov ecx, eax
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 8], dl
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
shl eax, 3
mov ecx, 0x18
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx + 0x50]
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 0xc], dl
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
shl edx, 3
mov eax, 0x18
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx + 0x50]
mov ecx, eax
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 0x10], dl
mov ecx, 4
imul edx, ecx, 5
mov eax, dword [ebp - 4]
shl eax, 3
mov ecx, 0x18
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx + 0x50]
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov ecx, 4
imul edx, ecx, 6
mov eax, dword [ebp - 4]
shl eax, 3
mov ecx, 0x18
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx + 0x50]
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 0x18], dl
mov ecx, 4
imul edx, ecx, 7
mov eax, dword [ebp - 4]
shl eax, 3
mov ecx, 0x18
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx + 0x50]
shr edx, cl
and edx, 0xff
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax + 0x1c], dl
jmp 0x4849bc
mov esp, ebp
pop ebp
ret