Function at 0x420eb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x555ab0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov ecx, dword [0x55e860]
mov eax, ecx
imul eax, ecx
push ebx
push esi
push edi
mov edi, edx
cdq
mov esi, 0xc
idiv esi
mov dword [ebp - 0x8c], edi
cmp edx, 3
jne 0x420f5c
xor edx, edx
mov dword [ebp - 0x94], edx
lea edi, [ebp - 0x84]
lea esp, [esp]
xor ebx, ebx
mov eax, ecx
inc ebx
cdq
xor esi, esi
idiv ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa0], edx
lea ecx, [esi + 1]
mov esi, ecx
cmp esi, 0xc
jl 0x420f26
mov ebx, dword [ebp - 0x98]
mov ecx, dword [0x55e860]
add edi, 0xc
cmp ebx, 5
jl 0x420f12
mov edx, dword [ebp - 0x94]
inc edx
mov dword [ebp - 0x94], edx
cmp edx, 2
jl 0x420f10
mov edi, dword [ebp - 0x8c]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mov eax, edi
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x53fa30]
divsd xmm0, qword [0x53f9f0]
movsd qword [esp], xmm0
call fcn.004b1e10
fstp qword [ebp - 0x9c]
movsd xmm0, qword [ebp - 0x9c]
fnstcw word [ebp - 0x86]
mulsd xmm0, qword [0x53f9f8]
movzx eax, word [ebp - 0x86]
mov ebx, dword [0x55e860]
or eax, 0xc00
movsd qword [ebp - 0x9c], xmm0
mov ecx, 9
add esp, 8
fld qword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov eax, ebx
imul eax, ebx
fldcw word [ebp - 0x98]
fistp qword [ebp - 0x9c]
cdq
idiv ecx
fldcw word [ebp - 0x86]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x94], ebx
cmp edx, 5
jne 0x421020
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x50
div ecx
lea ebx, [edx + 1]
mov dword [ebp - 0x94], ebx
mov dword [0x55e860], ebx
cmp dword [ebp - 0xa4], 0
je 0x4211eb
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4211eb
cmp esi, dword [ebp + 0xc]
ja 0x4211eb
xor ecx, ecx
test edi, edi
je 0x4210e6
mov ebx, dword [ebp - 0xa4]
mov esi, eax
cmp ecx, edi
jae 0x421061
movzx edx, byte [ecx + ebx]
inc ecx
jmp 0x421063
xor edx, edx
cmp ecx, edi
jae 0x42106e
movzx edi, byte [ecx + ebx]
inc ecx
jmp 0x421070
xor edi, edi
cmp ecx, dword [ebp - 0x8c]
jae 0x42107f
movzx eax, byte [ecx + ebx]
inc ecx
jmp 0x421081
xor eax, eax
shl edx, 8
add edx, edi
shl edx, 8
add edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
mov edi, dword [ebp - 0x8c]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
add esi, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 3], al
mov eax, edx
shr eax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 2], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 1], al
cmp ecx, edi
jb 0x42105a
mov ebx, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa0]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
xor ecx, ecx
lea eax, [edx + edx*2]
sub edi, eax
cmp dword [edi*4 + 0x53f250], ecx
jle 0x421118
mov eax, dword [ebp - 0x90]
dec eax
add eax, esi
mov byte [eax], 0x3d
inc ecx
lea eax, [eax - 1]
cmp ecx, dword [edi*4 + 0x53f250]
jl 0x421108
mov eax, ebx
imul eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x421129
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 5
jne 0x4211ca
xor edx, edx
mov dword [ebp - 0x88], edx
lea ecx, [ebp - 0x7c]
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov edi, edi
lea edi, [eax + 1]
lea ecx, [edx + 1]
mov eax, ebx
cdq
idiv ecx
mov eax, ebx
mov ecx, ebx
sub ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x8c]
mov esi, edx
cdq
imul esi, ecx
idiv edi
add esi, eax
sub esi, dword [ebp - 0x90]
push esi
push 0x53236c
call fcn.004b0fdf
mov edx, dword [ebp - 0x88]
mov eax, edi
add ebx, 4
add esp, 8
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
cmp eax, 4
jge 0x4211ad
mov ebx, dword [0x55e860]
jmp 0x421150
inc edx
mov dword [ebp - 0x88], edx
cmp edx, 7
jge 0x4211ca
mov ebx, dword [0x55e860]
mov ecx, dword [ebp - 0x8c]
jmp 0x421140
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b00a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004b00a0
mov esp, ebp
pop ebp
ret