Function at 0x416ae0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c74c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
cmp byte [edx], 0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x416b3f
xor ecx, ecx
jmp 0x416b4d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416b44
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004511b0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00451080
lea ecx, [ebp - 0x98]
call fcn.00409440
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00457540
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x84], 0x10
jb 0x416bbc
push dword [ebp - 0x98]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov dword [ebp - 0x84], 0xf
cmovae esi, dword [ebp - 0x44]
mov edx, esi
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x416be7
mov dword [edi + 0x14], 0xf
sub edx, ecx
mov dword [edi + 0x10], 0
mov byte [edi], al
mov dword [ebp - 0x7c], 1
mov ebx, 0
je 0x416ec9
mov al, byte [esi]
dec edx
mov byte [ebp + ebx - 0x64], al
inc esi
mov ah, byte [ebp - 0x62]
inc ebx
mov ch, byte [ebp - 0x63]
mov cl, byte [ebp - 0x64]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x5d], ah
mov byte [ebp - 0x6b], ch
mov byte [ebp - 0x6a], cl
cmp ebx, 3
jne 0x416d1b
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x67], cl
mov cl, ch
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x66], cl
mov byte [ebp - 0x65], al
xor ebx, ebx
nop
cmp dword [0x55dbd4], 0x10
mov ecx, 0x55dbc0
movzx eax, byte [ebp + ebx - 0x68]
cmovae ecx, dword [0x55dbc0]
mov dl, byte [eax + ecx]
or eax, 0xffffffff
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov byte [ebp - 0x69], dl
cmp eax, 1
jbe 0x416d4d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x416d4d
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x416cc0
push ecx
push esi
mov ecx, edi
call fcn.00454630
mov dl, byte [ebp - 0x69]
jmp 0x416cd5
test esi, esi
jne 0x416cd7
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x416cd0
mov eax, dword [edi]
jmp 0x416cd2
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x416d03
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x416ceb
mov eax, dword [edi]
jmp 0x416ced
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x416cfd
mov eax, dword [edi]
jmp 0x416cff
mov eax, edi
mov byte [eax + esi], 0
inc ebx
cmp ebx, 4
jl 0x416c70
mov edx, dword [ebp - 0x74]
xor ebx, ebx
mov esi, dword [ebp - 0x70]
mov ch, byte [ebp - 0x6b]
mov cl, byte [ebp - 0x6a]
test edx, edx
jne 0x416c12
test ebx, ebx
je 0x416ec9
mov eax, ebx
cmp ebx, 3
jge 0x416d5c
cmp eax, 3
jae 0x416d57
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, 3
jl 0x416d35
mov dl, byte [ebp - 0x62]
mov ch, byte [ebp - 0x63]
mov cl, byte [ebp - 0x64]
jmp 0x416d5f
push str.string_too_long
call fcn.0046c935
call fcn.00488218
mov dl, byte [ebp - 0x5d]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x67], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x65], dl
xor edx, edx
mov byte [ebp - 0x66], ch
lea eax, [ebx + 1]
mov dword [ebp - 0x64], edx
test eax, eax
jle 0x416e44
lea ecx, [ecx]
cmp dword [0x55dbd4], 0x10
mov ecx, 0x55dbc0
movzx eax, byte [ebp + edx - 0x68]
cmovae ecx, dword [0x55dbc0]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x5d], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x416d4d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x416d4d
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x416dec
push ecx
push esi
mov ecx, edi
call fcn.00454630
mov edx, dword [ebp - 0x64]
jmp 0x416e01
test esi, esi
jne 0x416e03
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x416dfc
mov eax, dword [edi]
jmp 0x416dfe
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x416e35
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x416e17
mov eax, dword [edi]
jmp 0x416e19
mov eax, edi
mov dl, byte [ebp - 0x5d]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x416e2c
mov eax, dword [edi]
jmp 0x416e2e
mov eax, edi
mov edx, dword [ebp - 0x64]
mov byte [esi + eax], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 0x64], edx
cmp edx, eax
jl 0x416da0
cmp ebx, 3
jge 0x416ec9
lea ecx, [ecx]
mov ecx, dword [edi + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc ebx
cmp eax, 1
jbe 0x416d4d
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x416d4d
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x416e80
push ecx
push esi
mov ecx, edi
call fcn.00454630
jmp 0x416e95
test esi, esi
jne 0x416e97
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x416e90
mov eax, dword [edi]
jmp 0x416e92
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x416ec4
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x416eab
mov eax, dword [edi]
jmp 0x416ead
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x416ebe
mov eax, dword [edi]
jmp 0x416ec0
mov eax, edi
mov byte [esi + eax], 0
cmp ebx, 3
jl 0x416e50
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00451080
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
dec eax
je 0x416f36
xor edi, edi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmp esi, 0x10
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax + edi]
lea eax, [ebp - 0x2c]
cmovae eax, edx
mov al, byte [eax + edi + 1]
mov byte [ecx + edi], al
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + edi + 1], bl
add edi, 3
mov eax, dword [ebp - 0x1c]
dec eax
cmp edi, eax
jb 0x416ef4
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x416f49
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00451080
cmp dword [ebp - 0x18], 0x10
jb 0x416f5a
push dword [ebp - 0x2c]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x416f7d
push dword [ebp - 0x44]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x416fa0
push dword [ebp - 0x5c]
call fcn.00485250
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret