Function at 0x417700
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c3ee
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x44f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x38], 0
mov dword [esi + 0x10], 0
lea ecx, [ecx + 2]
mov dword [esi + 0x14], 0
mul ecx
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr edx, 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
shl edx, 2
mov dword [ebp - 0x28], eax
mov byte [esi], 0
mov dword [ebp - 4], 0
mov ecx, esi
push edx
mov dword [ebp - 0x38], 1
call fcn.00411e70
mov eax, dword [ebp + 8]
test eax, eax
je 0x417a1a
mov ecx, 1
mov dword [ebp - 0x2c], 1
sub ecx, ebx
lea edi, [ebx + 1]
mov dword [ebp - 0x44], ecx
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 0x30], eax
nop
movzx eax, byte [edi - 1]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x14]
shr eax, 2
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], bl
cmp ecx, edx
jae 0x4177f3
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4177e9
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x417806
push dword [ebp - 0x10]
mov byte [ebp - 0x3c], 0
mov ecx, esi
push dword [ebp - 0x3c]
push 1
call fcn.00408e00
mov ecx, dword [ebp + 8]
mov al, byte [edi - 1]
mov edx, dword [esi + 0x14]
cmp dword [ebp - 0x2c], ecx
jae 0x41795f
movzx ecx, al
movzx eax, byte [edi]
and ecx, 3
shl ecx, 4
add ecx, dword [ebp - 0x28]
shr eax, 4
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x14], bl
cmp ecx, edx
jae 0x417850
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417846
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x417863
push dword [ebp - 0x14]
mov byte [ebp - 0x40], 0
mov ecx, esi
push dword [ebp - 0x40]
push 1
call fcn.00408e00
movzx ecx, byte [edi]
mov eax, dword [ebp - 0x44]
and ecx, 0xf
mov edx, dword [esi + 0x14]
add eax, edi
shl ecx, 2
cmp eax, dword [ebp + 8]
jae 0x417907
movzx eax, byte [edi + 1]
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], bl
cmp ecx, edx
jae 0x4178af
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4178a5
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x4178c2
push dword [ebp - 0x18]
mov byte [ebp - 0x48], 0
mov ecx, esi
push dword [ebp - 0x48]
push 1
call fcn.00408e00
movzx eax, byte [edi + 1]
mov ecx, dword [ebp - 0x28]
and eax, 0x3f
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x4178f8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4178eb
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x417a09
push dword [ebp - 0x1c]
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x4c]
jmp 0x417a00
mov eax, dword [ebp - 0x28]
mov bl, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x20], bl
cmp ecx, edx
jae 0x417930
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417926
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x417943
push dword [ebp - 0x20]
mov byte [ebp - 0x50], 0
mov ecx, esi
push dword [ebp - 0x50]
push 1
call fcn.00408e00
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jb 0x4179e0
mov byte [ebp - 0x54], 0
push 0x3d
push dword [ebp - 0x54]
jmp 0x417a00
mov ecx, dword [ebp - 0x28]
movzx eax, al
and eax, 3
add eax, eax
mov bl, byte [ecx + eax*8]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x24], bl
cmp ecx, edx
jae 0x417990
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417986
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x4179a3
push dword [ebp - 0x24]
mov byte [ebp - 0x58], 0
mov ecx, esi
push dword [ebp - 0x58]
push 1
call fcn.00408e00
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x4179c4
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4179bc
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x4179d6
push 0x3d
mov byte [ebp - 0x5c], 0
mov ecx, esi
push dword [ebp - 0x5c]
push 1
call fcn.00408e00
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x4179f7
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4179ef
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x417a09
mov byte [ebp - 0x34], 0
push 0x3d
push dword [ebp - 0x34]
push 1
mov ecx, esi
call fcn.00408e00
add dword [ebp - 0x2c], 3
add edi, 3
sub dword [ebp - 0x30], 1
jne 0x4177c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret