Function at 0x4927d0
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4e9f40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
xor edi, edi
mov dword [esp + 0x24], esi
cmp eax, edi
je 0x49281f
add eax, 4
jmp 0x492821
xor eax, eax
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
call fcn.0042b580
mov dword [esp + 0x2c], 0x41c480
mov ebp, dword [esp + 0x68]
push ebp
push edi
push esi
mov dword [esp + 0x64], edi
call fcn.004caf20
mov eax, dword [esp + 0x50]
add esp, 0xc
test al, 3
je 0x492885
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x41c480
jb 0x49287e
mov eax, dword [esp + 0x34]
push eax
call fcn.004cada5
add esp, 4
xor eax, eax
jmp 0x492a24
lea edi, [eax + eax*2]
shr edi, 2
lea ecx, [edi + 3]
push ecx
mov dword [esp + 0x24], edi
call fcn.004caa28
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x44]
mov byte [esp + 0x58], 1
test eax, eax
jbe 0x4929c0
mov edi, 2
jmp 0x4928c4
mov ebx, dword [esp + 0x1c]
lea edx, [edi - 2]
cmp edx, eax
jbe 0x4928d0
call fcn.004caf0d
mov eax, dword [esp + 0x34]
mov ebp, 0x10
cmp dword [esp + 0x48], ebp
jae 0x4928e3
lea eax, [esp + 0x34]
lea eax, [edi + eax - 2]
push eax
mov ecx, ebx
call fcn.00492710
lea ecx, [edi - 1]
mov byte [esp + 0x14], al
cmp ecx, dword [esp + 0x44]
jbe 0x492901
call fcn.004caf0d
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x49290f
lea eax, [esp + 0x34]
lea edx, [edi + eax - 1]
push edx
mov ecx, ebx
call fcn.00492710
mov byte [esp + 0x1b], al
cmp edi, dword [esp + 0x44]
jbe 0x49292a
call fcn.004caf0d
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x492938
lea eax, [esp + 0x34]
add eax, edi
push eax
mov ecx, ebx
call fcn.00492710
lea ebp, [edi + 1]
mov bl, al
cmp ebp, dword [esp + 0x44]
jbe 0x492952
call fcn.004caf0d
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x492961
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add ebp, eax
push ebp
call fcn.00492710
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x1b]
sar dl, 4
add cl, cl
and dl, 3
add cl, cl
or dl, cl
mov cl, byte [esp + 0x1b]
mov byte [esi], dl
mov dl, bl
sar dl, 2
shl cl, 4
inc esi
and dl, 0xf
or dl, cl
mov byte [esi], dl
and al, 0x3f
shl bl, 6
inc esi
or al, bl
add edi, 4
mov byte [esi], al
mov eax, dword [esp + 0x44]
lea ecx, [edi - 2]
inc esi
cmp ecx, eax
jb 0x4928c0
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
push 1
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x20], 0x3d
call fcn.0046d6d0
cmp eax, 0xffffffff
je 0x4929e2
sub eax, dword [esp + 0x44]
add edi, eax
mov eax, edi
cmp edi, ebp
jb 0x4929ea
mov eax, ebp
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.004cb570
add esp, 0xc
test esi, esi
je 0x492a06
push esi
call fcn.004cada5
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x41c480
jb 0x492a22
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004cada5
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x48
ret 0xc