Function at 0x404e90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movsd xmm0, qword [0x44cc10]
push esi
movsd qword [0x457540], xmm0
movzx eax, word [0x45720c]
push edi
sub eax, 0x664ad46f
push 0x41
mov word [0x45720c], ax
push 0x1fa0
call fcn.0040bcd0
mov edi, eax
push 5
push 0x11f0
mov dword [ebp - 0xc], edi
call fcn.0040bcd0
movsx ecx, byte [edi + 0x3e]
mov esi, eax
push ecx
push esi
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.0041d105
movzx ecx, word [0x45728c]
imul eax, ecx, 0x8d84659
push 5
push 0x11f0
mov word [0x45728c], ax
call fcn.0040bcd0
push esi
push 5
mov edi, eax
call fcn.00404960
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x3f]
lea eax, [ebp - 0x14]
push ecx
push edi
push 4
push eax
call fcn.0041d105
add esp, 0x40
push 5
push 0x11f0
call fcn.0040bcd0
push edi
push 5
mov esi, eax
call fcn.00404960
push 0x3d
push esi
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.0041d105
movsd xmm1, qword [0x457148]
subsd xmm1, qword [0x44d1b8]
movsd xmm0, qword [0x4570d0]
push esi
push 5
subsd xmm1, qword [0x44cbb0]
mulsd xmm0, xmm1
movsd qword [0x4570d0], xmm0
movsd xmm0, qword [0x457148]
subsd xmm0, qword [0x44c738]
movsd qword [0x457148], xmm0
call fcn.00404960
mov eax, dword [ebp + 0xc]
add esp, 0x28
test eax, eax
je 0x40525e
mov edi, dword [ebp - 0xc]
xor esi, esi
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + esi - 4], al
inc esi
mov dword [ebp + 8], ecx
cmp esi, 3
jne 0x40516f
movsd xmm0, qword [0x4573d0]
addsd xmm0, qword [0x44c738]
mov cl, byte [ebp - 4]
mov al, cl
and cl, 3
shr al, 2
shl cl, 4
mov byte [ebp - 8], al
mov byte [ebp - 7], cl
movsd qword [0x4573d0], xmm0
movsd xmm0, qword [0x457560]
subsd xmm0, qword [0x44c738]
movsd qword [0x457560], xmm0
movsd xmm0, qword [0x4573d0]
addsd xmm0, qword [0x44c950]
movsd xmm1, qword [0x457560]
mov eax, dword [0x4574c8]
add eax, 0x4bdfda10
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x4050b3
movss xmm0, dword [0x4572fc]
movsx eax, word [0x4572d4]
movss xmm2, dword [0x44d3fc]
dec word [0x4572d4]
subss xmm2, xmm0
movss xmm0, dword [0x4572fc]
subss xmm0, dword [0x44c730]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x4572fc], xmm0
comiss xmm1, xmm2
jbe 0x4050d2
movss xmm0, dword [0x457370]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x457560]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x457370], xmm0
jmp 0x4050d2
movss xmm0, dword [0x4574fc]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4570a0]
addsd xmm0, xmm1
movsd qword [0x4570a0], xmm0
mov cl, byte [ebp - 3]
movsd xmm0, qword [0x457290]
mov al, cl
addsd xmm0, qword [0x44c910]
and cl, 0xf
shr al, 4
add byte [ebp - 7], al
shl cl, 2
mov byte [ebp - 6], cl
mov cl, byte [ebp - 2]
mov al, cl
movsd qword [0x457050], xmm0
shr al, 6
and cl, 0x3f
add byte [ebp - 6], al
xor esi, esi
mov byte [ebp - 5], cl
cmp byte [ebp + 0x10], 0
movss xmm0, dword [0x4571cc]
addss xmm0, dword [0x457100]
movss dword [0x457100], xmm0
je 0x405153
mov al, byte [ebp + esi - 8]
cmp al, 0x3d
jbe 0x405153
mov ecx, ebx
cmp al, 0x3e
jne 0x405148
lea eax, [ebp - 0x10]
push eax
call fcn.0040e300
jmp 0x405164
lea eax, [ebp - 0x14]
push eax
call fcn.0040e300
jmp 0x405164
movzx eax, byte [ebp + esi - 8]
mov ecx, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.00416630
inc esi
cmp esi, 4
jne 0x405111
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x404fb4
test esi, esi
je 0x40525d
cmp esi, 3
jge 0x4051a1
mov ecx, 3
lea edi, [ebp - 4]
sub ecx, esi
add edi, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov cl, byte [ebp - 4]
xor edi, edi
mov dl, byte [ebp - 3]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 8], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov byte [ebp - 7], cl
mov eax, 0x2a76
mov cl, byte [ebp - 2]
mov word [0x4570e8], ax
mov al, cl
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 5], cl
mov byte [ebp - 6], dl
test esi, esi
js 0x405233
lea esp, [esp]
cmp byte [ebp + 0x10], 0
je 0x40521a
mov al, byte [ebp + edi - 8]
cmp al, 0x3d
jbe 0x40521a
mov ecx, ebx
cmp al, 0x3e
jne 0x40520f
lea eax, [ebp - 0x10]
push eax
call fcn.0040e300
jmp 0x40522e
lea eax, [ebp - 0x14]
push eax
call fcn.0040e300
jmp 0x40522e
mov ecx, dword [ebp - 0xc]
movzx eax, byte [ebp + edi - 8]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00416630
inc edi
cmp edi, esi
jle 0x4051f0
cmp esi, 3
jge 0x40525d
mov edi, 3
sub edi, esi
nop
cmp byte [ebp + 0x10], 0
mov ecx, ebx
je 0x405253
lea eax, [ebp - 0x18]
push eax
call fcn.0040e300
jmp 0x40525a
push 0x3d
call fcn.00416630
dec edi
jne 0x405240
pop ebx
push dword [ebp - 0xc]
push 0x41
call fcn.00404960
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret