Function at 0x4491bb
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x154
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov esi, dword [edx + ecx*4]
movzx eax, word [esi + 8]
cmp ax, 0x4e
je 0x449259
mov ebx, dword [ebp + 0x10]
cmp ax, 0x35
je 0x48e3f4
cmp ax, 0x47
je 0x48e410
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x449234
mov eax, dword [esi + 0xc]
cmp eax, 4
je 0x48e591
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x48e5b4
cmp eax, 5
jge 0x48e5c9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, 5
jne 0x48e2d9
test byte [edx], ah
loop 0x48e417
add byte [ebp - 0x577f001], al
in eax, 3
add byte [edx + 0xf], ch
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
movzx ecx, byte [edx + edi]
bts ecx, eax
inc esi
mov byte [edx + edi], cl
cmp esi, ebx
jbe 0x48e581
rol dword [esi - 0x78], 0xc
cmp bh, byte [ebx]
jbe 0x48e581
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x48e5b0
mov esi, 0x100
cmp edi, esi
jae 0x4cd997
fcompi st(3)
add eax, dword [eax]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
test esi, esi
je 0x48e5e6
div byte [edx + ebx + 0xf]
mov bh, 0x39
movzx edi, word [ecx]
dec esi
movzx eax, byte [edx]
lea ecx, [ecx + 2]
inc edx
cmp ax, di
je 0x48e5c8
sbb eax, eax
and eax, 2
dec eax
pop edi
pop esi
pop ebp
ret
xor eax, eax
jmp 0x48e5e2
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push edi
call 0x4ccbeb
inc edi
movzx eax, word [eax]
test ax, ax
je 0x4ccba7
cmp esi, 0x1000
jge 0x4ccba7
push 0x20
pop ecx
cmp ax, cx
je 0x4ccb3f
push 9
pop ecx
cmp ax, cx
je 0x4ccb3f
push 0x22
pop ecx
cmp ax, cx
je 0x4ccb1e
mov word [ebp + esi*2 - 0x202c], ax
inc esi
jmp 0x4ccad9
mov ecx, dword [ebp + 8]
push edi
call 0x4ccbeb
push 0x22
pop ecx
cmp word [eax], cx
je 0x50bbda
test bl, bl
je 0x4ccb9d
xor bl, bl
test bl, bl
je 0x4ccad9
jmp 0x4ccb9f
cmp bl, 1
je 0x4ccb13
xor eax, eax
lea ecx, [ebp - 0x20]
mov word [ebp + esi*2 - 0x202c], ax
lea eax, [ebp - 0x202c]
push eax
call 0x4d1c31
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call 0x4cd0dd
lea ecx, [ebp - 0x20]
call 0x4d180d
xor esi, esi
xor bh, bh
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call 0x4ccbeb
push 0x20
pop ecx
movzx eax, word [eax]
cmp ax, cx
je 0x4ccb9a
push 9
pop ecx
cmp ax, cx
jne 0x4ccad6
inc edi
jmp 0x4ccb7b
mov bl, 1
mov dword [ebp - 0xc], esi
jmp 0x4ccad9
test esi, esi
je 0x50bbf1
test bl, bl
jne 0x50bc06
xor eax, eax
lea ecx, [ebp - 0x20]
mov word [ebp + esi*2 - 0x202c], ax
lea eax, [ebp - 0x202c]
push eax
call 0x4d1c31
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call 0x4cd0dd
lea ecx, [ebp - 0x20]
call 0x4d180d
pop edi
pop esi
pop ebx
leave
ret 4
add al, ch
shl dword [esi + 0x5c8b0000], 0x24
pop esp
and al, 0x24
push edi
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x3c]
je 0x4cd9d1
cmp al, 0x56
push dword [esp + 0x48]
push dword [esp + 0x50]
je 0x4cd9da
push eax
push ebx
push dword [ebp + 8]
call 0x4cda5c
mov edi, dword [ebp + 0x10]
mov esi, eax
mov ecx, edi
call 0x4d4f1e
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], esi
call 0x4d34e5
test eax, eax
je 0x50c26f
cmp dword [ebp + 8], 0x1d
je 0x4cd9f1
push ebx
call 0x4e7d92
pop ecx
xor esi, esi
lea ecx, [esp + 0x30]
call 0x4d4f1e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc