Function at 0x4410b0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x120
xor eax, eax
push ebx
mov dword [esp + 0x12], eax
push ebp
push esi
mov dword [esp + 0x1e], eax
push edi
mov edi, dword [esp + 0x134]
or ecx, 0xffffffff
mov dword [esp + 0x26], eax
xor ebp, ebp
mov dword [esp + 0x24], ecx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x2a], ax
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0xa
and ecx, 3
mov dword [esp + 0x18], ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], 0
push ecx
mov word [esp + 0x24], bp
mov byte [esp + 0x31], 4
lea edi, [esp + 0x38]
mov ebx, 1
call fcn.005054a0
mov esi, eax
add esp, 8
test esi, esi
je 0x441153
push 0
push edi
mov byte [esi], 0
call fcn.00431ec0
add esp, 8
cmp eax, ebp
jle 0x44113e
mov ebp, eax
lea edi, [esi + 1]
push 0xa
push edi
inc ebx
call fcn.005054a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44112a
push 0
push edi
call fcn.00431ec0
add esp, 8
cmp eax, ebp
jle 0x441164
mov ebp, eax
cmp word [0x8e5304], 0
jne 0x4411ea
lea eax, [ebp + 0x5f]
push 1
cdq
and edx, 0x3f
push 4
add eax, edx
mov edx, dword [0x51cc78]
mov esi, eax
lea eax, [ebx - 1]
lea ecx, [edx + 2]
mov word [0x8e5304], 1
sar esi, 6
imul ecx, eax
shl esi, 6
mov eax, 0x280
add ecx, 0x60
sub eax, esi
push ecx
cdq
sub eax, edx
push esi
mov edi, eax
mov eax, 0x1e0
sub eax, ecx
mov dword [0x51da90], 0xfffffffe
cdq
sub eax, edx
mov dword [0x8e419c], esi
sar eax, 1
sar edi, 1
push eax
push edi
mov dword [0x8e4744], ecx
mov dword [0x8e474c], edi
mov dword [0x8e4b9c], eax
call fcn.004d15e0
add esp, 0x18
mov dword [0x8e5308], eax
mov ecx, dword [0x8e419c]
mov edx, dword [0x51cc78]
add edx, 2
push 0xffffffffffffffff
lea eax, [ecx - 0x42]
lea ecx, [ebx - 1]
imul edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [0x8e4b9c]
add ecx, edx
mov edx, dword [0x8e474c]
sar eax, 1
add eax, edx
lea edx, [ecx + 0x4e]
push edx
add ecx, 0x3d
lea edx, [eax + 0x42]
push edx
push ecx
push eax
call fcn.004d1a20
add esp, 0x14
test eax, eax
je 0x44128e
mov al, byte [0xc1f474]
mov cl, 1
test cl, al
mov byte [esp + 0x13], cl
je 0x441292
push 0xf0
push 0x140
push 0x4f
mov dword [esp + 0x20], 1
call fcn.004f5670
mov eax, dword [0x8e5308]
add esp, 0xc
test eax, eax
je 0x441367
push eax
call fcn.004012c0
add esp, 4
mov dword [0x8e5308], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
mov cl, byte [esp + 0x13]
mov eax, dword [0x8e5308]
test eax, eax
je 0x441367
cmp dword [eax + 0x170], 1
jl 0x441367
mov edi, dword [0x8e419c]
lea esi, [esp + 0x30]
mov eax, edi
sub eax, ebp
xor ebp, ebp
cdq
sub eax, edx
sar eax, 1
test ebx, ebx
mov dword [esp + 0x18], eax
jle 0x441321
jmp 0x4412cf
mov eax, dword [esp + 0x18]
mov ecx, dword [0x51cc78]
mov edx, dword [0x8e4b9c]
add ecx, 2
push 0
imul ecx, ebp
push 0
push esi
lea ecx, [ecx + edx + 0x1e]
mov edx, dword [0x8e474c]
push 0
push 0
push 2
add edx, eax
push ecx
push edx
call fcn.0043c140
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
inc ebp
cmp ebp, ebx
lea esi, [esi + ecx + 1]
jl 0x4412cb
mov edi, dword [0x8e419c]
mov cl, byte [esp + 0x13]
neg cl
sbb ecx, ecx
lea eax, [esp + 0x1c]
and ecx, 2
push eax
add ecx, 0x3b568
push 0
push ecx
mov ecx, dword [0x51cc78]
add ecx, 2
mov edx, dword [0x8e4b9c]
imul ecx, dword [esp + 0x38]
sar edi, 1
lea eax, [ecx + edx + 0x45]
mov edx, dword [0x8e474c]
push 0xdf
add edi, edx
push eax
push edi
call fcn.004ec130
add esp, 0x18
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret