Function at 0x40ff00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movsd xmm0, qword [0x437b70]
mov eax, 0xffffbc78
mov word [ebp - 0x24], ax
mov eax, 0x31fa
mov dword [ebp - 0x30], 0xc368b5d4
mov dword [ebp - 0x20], 0x35c57484
mov word [ebp - 4], ax
mov eax, 0x1444
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [0x437790]
mov dword [ebp - 0x1c], 0xc1d34373
mov word [ebp - 0x18], ax
mov eax, 0xffffdd7b
mov word [ebp - 8], ax
mov dword [ebp - 0x14], 0x4219bf86
movsd qword [ebp - 0x44], xmm0
movsx eax, word [0x43f39c]
movss xmm0, dword [0x43f1d0]
add eax, 0x6e68eaaf
subss xmm0, dword [0x437518]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40ffa8
dec dword [ebp - 0x18]
movzx eax, word [ebp - 0x18]
movzx ecx, word [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xc8a1c258
add eax, ecx
mov word [ebp - 4], ax
dec dword [ebp - 0x1c]
jmp 0x40ffb7
movsd xmm0, qword [0x43f3a8]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1c], eax
push esi
push edi
push 0x41
push 0x3ce4
call fcn.00409070
mov edi, eax
push 5
push 0x3d27
mov dword [ebp - 0x1c], edi
call fcn.00409070
movsx ecx, byte [edi + 0x3e]
mov esi, eax
push ecx
push esi
lea eax, [ebp - 0x28]
push 4
push eax
call fcn.0041f79b
push 5
push 0x3d27
call fcn.00409070
push esi
push 5
mov edi, eax
call fcn.004092b0
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax + 0x3f]
lea eax, [ebp - 0x2c]
push ecx
push edi
push 4
push eax
call fcn.0041f79b
add esp, 0x40
push 5
push 0x3d27
call fcn.00409070
push edi
push 5
mov esi, eax
call fcn.004092b0
push 0x3d
push esi
lea eax, [ebp - 0x34]
push 4
push eax
call fcn.0041f79b
push esi
push 5
call fcn.004092b0
mov ax, word [0x43f0f4]
add esp, 0x28
movsx edx, word [0x43f530]
movsx ecx, ax
movsx eax, word [ebp - 8]
add edx, ecx
inc word [0x43f0f4]
mov ecx, 0x50b5d87e
inc word [0x43f530]
sub ecx, eax
cmp edx, ecx
jge 0x4100aa
mov ecx, dword [0x43f244]
mov eax, dword [ebp - 0x14]
add eax, 0x157951aa
add ecx, eax
mov eax, dword [0x43f23c]
dec dword [0x43f244]
cmp ecx, eax
je 0x4100aa
dec dword [ebp - 0x14]
mov ecx, 0x1466c465
mov eax, dword [ebp - 0x14]
sub ecx, eax
sub ecx, dword [str.vIvQ_T]
mov word [ebp - 4], cx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x410393
mov ecx, dword [ebp + 8]
xor esi, esi
push ebx
mov ebx, dword [ebp + 0x14]
mov edi, edi
mov al, byte [ecx]
dec edi
mov byte [ebp + esi - 0xc], al
inc ecx
inc esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
cmp esi, 3
jne 0x410179
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 0xb]
mov al, cl
shr al, 2
and cl, 3
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x10], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, byte [ebp - 0xa]
shr al, 6
add dl, al
mov byte [ebp - 0xf], cl
movsx eax, word [0x43f194]
add eax, 0xc96ac236
mov byte [ebp - 0xe], dl
add dword [ebp - 0x30], eax
inc word [0x43f194]
mov al, byte [ebp - 0xa]
and al, 0x3f
xor esi, esi
mov byte [ebp - 0xd], al
lea ebx, [ebx]
cmp byte [ebp + 0x10], 0
je 0x41015a
mov al, byte [ebp + esi - 0x10]
cmp al, 0x3d
jbe 0x41015a
mov ecx, ebx
cmp al, 0x3e
jne 0x41014f
lea eax, [ebp - 0x28]
push eax
call fcn.004198a0
jmp 0x41016b
lea eax, [ebp - 0x2c]
push eax
call fcn.004198a0
jmp 0x41016b
movzx eax, byte [ebp + esi - 0x10]
mov ecx, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.00419880
inc esi
cmp esi, 4
jne 0x410130
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, dword [ebp + 8]
test edi, edi
jne 0x4100c0
test esi, esi
je 0x410392
movzx ecx, word [ebp - 0x18]
movzx eax, word [ebp - 0x24]
imul ecx, eax
mov word [ebp - 0x18], cx
dec dword [ebp - 0x24]
cmp esi, 3
jge 0x4101bc
mov ecx, 3
lea edi, [ebp - 0xc]
sub ecx, esi
add edi, esi
mov edx, ecx
xor eax, eax
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 - 0xc]
xor edi, edi
mov dl, byte [ebp - 0xb]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x10], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
add cl, al
shl dl, 2
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
mov al, cl
and cl, 0x3f
shr al, 6
add dl, al
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xe], dl
test esi, esi
js 0x410351
lea ecx, [ecx]
cmp byte [ebp + 0x10], 0
je 0x410334
mov al, byte [ebp + edi - 0x10]
cmp al, 0x3d
jbe 0x410334
mov ecx, ebx
cmp al, 0x3e
jne 0x410227
lea eax, [ebp - 0x28]
push eax
call fcn.004198a0
jmp 0x410257
lea eax, [ebp - 0x2c]
push eax
call fcn.004198a0
movss xmm1, dword [0x43f068]
movsx eax, word [ebp - 0x18]
addss xmm1, dword [0x4374dc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ebp - 0x18], ax
movsx eax, word [0x43f1cc]
movss xmm0, dword [0x43f17c]
addss xmm0, dword [0x4374e4]
movss xmm2, dword [0x436794]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x437c60]
ucomiss xmm1, xmm0
movss xmm0, dword [0x43f17c]
addss xmm0, xmm2
lahf
movss dword [0x43f17c], xmm0
test ah, 0x44
jnp 0x410348
movsd xmm1, qword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
addsd xmm1, qword [0x436eb0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
ucomisd xmm1, qword [0x436968]
lahf
test ah, 0x44
jnp 0x41030b
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x43f2c0]
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [0x43f2c0]
subsd xmm0, qword [0x436798]
movsd qword [0x43f2c0], xmm0
inc dword [ebp - 0x20]
jmp 0x410348
movss xmm0, dword [0x43f3f0]
mov eax, dword [0x43f420]
movss xmm0, dword [0x43f3f0]
subss xmm0, xmm2
movss dword [0x43f3f0], xmm0
inc dword [0x43f420]
jmp 0x410348
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edi - 0x10]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00419880
inc edi
cmp edi, esi
jle 0x410200
movsd xmm0, qword [0x43f3e0]
mulsd xmm0, qword [0x436868]
movsd qword [0x43f3e0], xmm0
cmp esi, 3
jge 0x410392
mov edi, 3
sub edi, esi
cmp byte [ebp + 0x10], 0
mov ecx, ebx
je 0x410388
lea eax, [ebp - 0x34]
push eax
call fcn.004198a0
jmp 0x41038f
push 0x3d
call fcn.00419880
dec edi
jne 0x410375
pop ebx
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0x41
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0x3c], xmm0
call fcn.004092b0
push 4
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0041df90
push 4
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0041df90
push 4
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0041df90
add esp, 0x2c
pop edi
pop esi
mov esp, ebp
pop ebp
ret