Function at 0x40f240
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movsd xmm0, qword [0x438508]
mov eax, 0xffffb5e6
mov dword [ebp - 0x2c], 0x4dcdda60
movsd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x20], 0xcd50dd8b
mov word [ebp - 4], ax
mov eax, 0x50da
mov dword [ebp - 0x14], 0xe0898bc9
mov dword [ebp - 0x10], 0x4eecd0a5
mov dword [ebp - 0x38], 0x30c2b836
mov dword [ebp - 0x28], 0x57c42a97
mov dword [ebp - 0x1c], 0xced9c54d
mov word [ebp - 0x18], ax
mov eax, dword [0x44047c]
movsd xmm0, qword [0x4403f8]
sub eax, 0x3ed48ed1
push ebx
push esi
push edi
movd xmm1, eax
cvtdq2pd xmm1, xmm1
push 0x41
push 0x27d1
addsd xmm0, xmm1
movsd qword [0x4403f8], xmm0
call fcn.00408c40
mov ebx, eax
push 5
push 0x2cfc
mov dword [ebp - 0x24], ebx
call fcn.00408c40
movsd xmm0, qword [0x440240]
mov esi, eax
cvttsd2si ecx, xmm0
lea eax, [ebp - 0x30]
mov word [0x4403a0], cx
movsx ecx, byte [ebx + 0x3e]
push ecx
push esi
push 4
push eax
call fcn.0041eeab
movss xmm0, dword [0x4405d0]
movss xmm1, dword [0x43867c]
subss xmm1, xmm0
push 5
push 0x2cfc
subss xmm1, dword [0x437dac]
cvttss2si eax, xmm1
mov dword [ebp - 0x28], eax
movss xmm0, dword [0x4405d0]
subss xmm0, dword [0x437140]
movss dword [0x4405d0], xmm0
call fcn.00408c40
push esi
push 5
mov edi, eax
call fcn.00408e90
movsx ecx, byte [ebx + 0x3f]
lea eax, [ebp - 0x34]
push ecx
push edi
push 4
push eax
call fcn.0041eeab
add esp, 0x40
push 5
push 0x2cfc
call fcn.00408c40
push edi
push 5
mov esi, eax
call fcn.00408e90
push 0x3d
push esi
lea eax, [ebp - 0x3c]
push 4
push eax
call fcn.0041eeab
push esi
push 5
call fcn.00408e90
mov ecx, dword [0x44001c]
add esp, 0x28
mov eax, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [0x440178]
movss xmm0, dword [0x440390]
add eax, ecx
movd xmm1, eax
mov eax, dword [ebp + 0xc]
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [0x440390], xmm0
inc dword [0x44001c]
test eax, eax
je 0x40f8c7
mov ebx, dword [ebp + 0x14]
xor esi, esi
movsd xmm4, qword [0x437148]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
dec eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x38]
sub eax, 0x1458bd14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x10]
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 8], al
inc esi
mov dword [ebp + 8], edx
movss dword [ebp - 0x10], xmm0
mov eax, dword [0x44000c]
mov ecx, dword [ebp - 0x38]
add eax, 0x8e4d7c7b
add ecx, eax
mov dword [0x44000c], ecx
cmp esi, 3
jne 0x40f576
movss xmm1, dword [0x44036c]
movsx eax, word [0x440208]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x44036c], xmm1
inc word [0x440208]
mov al, byte [ebp - 8]
shr al, 2
mov byte [ebp - 0xc], al
mov eax, dword [0x440458]
movss xmm0, dword [0x4405d0]
subss xmm0, dword [0x44020c]
mov cl, byte [ebp - 8]
movd xmm1, eax
and cl, 3
cvtdq2ps xmm1, xmm1
shl cl, 4
subss xmm0, dword [0x437ecc]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x440458], eax
movsd xmm1, qword [ebp - 0x44]
subsd xmm1, qword [ebp - 0x44]
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [0x437c88]
mov al, byte [ebp - 7]
shr al, 4
add cl, al
mov byte [ebp - 0xb], cl
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
movsd xmm0, qword [ebp - 0x44]
subsd xmm0, xmm4
lahf
movsd qword [ebp - 0x44], xmm0
test ah, 0x44
jp 0x40f503
movss xmm0, dword [ebp - 0x10]
subss xmm0, dword [0x437140]
movss dword [ebp - 0x10], xmm0
movss xmm1, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [0x440428], xmm1
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov al, cl
and dl, 0xf
shr al, 6
shl dl, 2
and cl, 0x3f
add dl, al
mov byte [ebp - 9], cl
mov byte [ebp - 0xa], dl
xor esi, esi
cmp byte [ebp + 0x10], 0
je 0x40f552
mov al, byte [ebp + esi - 0xc]
cmp al, 0x3d
jbe 0x40f552
add dword [ebp - 0x14], 0xe757edf4
mov ecx, ebx
cmp al, 0x3e
jne 0x40f547
lea eax, [ebp - 0x30]
push eax
call fcn.00418fb0
jmp 0x40f563
lea eax, [ebp - 0x34]
push eax
call fcn.00418fb0
jmp 0x40f563
movzx eax, byte [ebp + esi - 0xc]
mov ecx, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.00418f90
inc esi
cmp esi, 4
jne 0x40f521
movsd xmm4, qword [0x437148]
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40f3e7
test esi, esi
je 0x40f8c5
movss xmm0, dword [ebp - 0x20]
movss xmm5, dword [0x437140]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x4403e0]
cvttsd2si eax, xmm0
mov word [0x440324], ax
movsd xmm0, qword [0x4403e0]
addsd xmm0, xmm4
movsd qword [0x4403e0], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, xmm5
movss dword [ebp - 0x20], xmm0
cmp esi, 3
jge 0x40f6b3
mov ebx, 3
movss xmm3, dword [0x4385dc]
sub ebx, esi
lea edi, [ebp - 8]
mov ecx, ebx
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
lea esp, [esp]
movsx eax, word [0x4401d4]
sub eax, 0x3cdb53d7
movd xmm1, eax
movsx eax, word [ebp - 4]
add eax, dword [ebp - 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x44049c]
comiss xmm1, xmm0
jbe 0x40f690
inc dword [0x4401c0]
mov ecx, 0x792cd622
mov eax, dword [0x4401c0]
sub ecx, eax
mov eax, dword [0x440448]
movsd xmm0, qword [0x440110]
sub eax, 0x7306504b
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
movsd xmm0, qword [0x440110]
addsd xmm0, xmm4
comisd xmm1, xmm2
movsd qword [0x440110], xmm0
jbe 0x40f690
movss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [0x440028], xmm0
movsx eax, word [ebp - 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x2c]
subss xmm0, xmm3
movss dword [ebp - 0x20], xmm0
dec ebx
jne 0x40f600
mov ebx, dword [ebp + 0x14]
movss xmm0, dword [ebp - 0x10]
xor edi, edi
movss xmm1, dword [0x43869c]
mov al, byte [ebp - 8]
subss xmm1, xmm0
shr al, 2
mov byte [ebp - 0xc], al
cvtps2pd xmm0, xmm1
mulsd xmm0, qword [0x440330]
movsd qword [0x440330], xmm0
movss xmm0, dword [ebp - 0x10]
mov dl, byte [ebp - 7]
addss xmm0, xmm5
movzx ecx, byte [ebp - 8]
mov al, dl
and cl, 3
shr al, 4
shl cl, 4
and dl, 0xf
add cl, al
shl dl, 2
movss dword [ebp - 0x10], xmm0
movss xmm1, dword [ebp - 0x2c]
movsx eax, word [ebp - 0x18]
subss xmm1, dword [0x437e3c]
mov byte [ebp - 0xb], cl
mov cl, byte [ebp - 6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov byte [ebp - 0xa], dl
addss xmm1, xmm0
cvttss2si eax, xmm1
movsd xmm1, qword [0x4383c0]
mov word [ebp - 0x18], ax
mov al, cl
movsd xmm0, qword [ebp - 0x44]
and cl, 0x3f
subsd xmm1, xmm0
shr al, 6
add byte [ebp - 0xa], al
mov byte [ebp - 9], cl
cvttsd2si eax, xmm1
mov dword [0x440368], eax
movsd xmm0, qword [ebp - 0x44]
subsd xmm0, xmm4
movsd qword [ebp - 0x44], xmm0
test esi, esi
js 0x40f81e
cmp byte [ebp + 0x10], 0
je 0x40f7c1
mov al, byte [ebp + edi - 0xc]
cmp al, 0x3d
jbe 0x40f7c1
mov ecx, ebx
cmp al, 0x3e
jne 0x40f7a7
lea eax, [ebp - 0x30]
push eax
call fcn.00418fb0
movzx eax, word [0x44007c]
imul eax, eax, 0x585d2c7d
mov word [0x44007c], ax
jmp 0x40f7d5
lea eax, [ebp - 0x34]
push eax
call fcn.00418fb0
movsd xmm0, qword [ebp - 0x44]
cvttsd2si eax, xmm0
mov word [0x440038], ax
jmp 0x40f7d5
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ebp + edi - 0xc]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00418f90
dec dword [ebp - 0x14]
inc edi
movss xmm1, dword [0x440100]
movsx eax, word [ebp - 0x18]
sub eax, dword [ebp - 0x14]
addss xmm1, dword [0x437e48]
inc dword [ebp - 0x18]
sub eax, 0x1208a198
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x40f816
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x437f00]
movss dword [ebp - 0x1c], xmm0
cmp edi, esi
jle 0x40f775
cmp esi, 3
jge 0x40f890
mov edi, 3
sub edi, esi
lea ebx, [ebx]
cmp byte [ebp + 0x10], 0
mov ecx, ebx
je 0x40f843
lea eax, [ebp - 0x3c]
push eax
call fcn.00418fb0
jmp 0x40f863
mov eax, dword [ebp - 0x14]
sub eax, 0x24c1ae06
push 0x3d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x10], xmm0
call fcn.00418f90
dec dword [0x4400c0]
mov ecx, dword [0x4404b0]
mov eax, dword [0x4400c0]
add eax, 0x4ff55dea
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
inc dword [0x4404b0]
dec edi
jne 0x40f830
movsd xmm0, qword [0x4400b8]
mulsd xmm0, qword [0x440180]
mov ebx, dword [ebp - 0x24]
movsd qword [0x440180], xmm0
movsd xmm0, qword [0x4400b8]
addsd xmm0, qword [0x437148]
movsd qword [0x4400b8], xmm0
jmp 0x40f8c7
mov ebx, edi
push ebx
push 0x41
call fcn.00408e90
push 4
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.0041d6a0
push 4
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0041d6a0
push 4
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0041d6a0
mov eax, dword [0x4402ec]
add esp, 0x2c
movss xmm1, dword [ebp - 0x1c]
dec dword [0x4402ec]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
pop edi
pop esi
pop ebx
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x437140]
addss xmm1, dword [0x437dfc]
movss dword [ebp - 0x1c], xmm0
comiss xmm1, dword [0x437df0]
jbe 0x40f95d
movsd xmm1, qword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
addsd xmm1, qword [0x437b88]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x14], eax
mov esp, ebp
pop ebp
ret