Function at 0x416200
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c635
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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 - 0x7c], edi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
cmp word [edx], ax
jne 0x41626a
xor ecx, ecx
jmp 0x41627f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416270
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.00454a30
lea edx, [ebp - 0x94]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00468940
mov byte [ebp - 4], 3
cmp dword [ebp - 0x80], 8
jb 0x4162b9
push dword [ebp - 0x94]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x18
mov dword [ebp - 0x84], 0
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 - 0xb0]
call fcn.00409440
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00457540
add esp, 4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.00468870
cmp dword [ebp - 0xb4], 0x10
jb 0x41633e
push dword [ebp - 0xc8]
call fcn.00485250
add esp, 4
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x9c], 0x10
jb 0x416374
push dword [ebp - 0xb0]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov byte [edi], 0
xor ebx, ebx
mov dword [ebp - 0x74], 1
test eax, eax
je 0x416679
nop
dec eax
mov dword [ebp - 0x70], eax
mov al, byte [ecx]
add ecx, 2
mov byte [ebp + ebx - 0x64], al
inc ebx
mov ah, byte [ebp - 0x62]
mov dl, byte [ebp - 0x63]
mov dh, byte [ebp - 0x64]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0x5d], ah
mov byte [ebp - 0x6a], dl
mov byte [ebp - 0x6b], dh
cmp ebx, 3
jne 0x4164c9
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x68], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x67], cl
mov cl, dl
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
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 0x4164fe
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4164fe
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x416471
push ecx
push esi
mov ecx, edi
call fcn.00454630
mov dl, byte [ebp - 0x69]
jmp 0x416486
test esi, esi
jne 0x416488
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x416481
mov eax, dword [edi]
jmp 0x416483
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x4164b4
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x41649c
mov eax, dword [edi]
jmp 0x41649e
mov eax, edi
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x4164ae
mov eax, dword [edi]
jmp 0x4164b0
mov eax, edi
mov byte [esi + eax], 0
inc ebx
cmp ebx, 4
jl 0x416421
mov ecx, dword [ebp - 0x78]
xor ebx, ebx
mov dl, byte [ebp - 0x6a]
mov dh, byte [ebp - 0x6b]
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4163c0
test ebx, ebx
je 0x416679
mov eax, ebx
cmp ebx, 3
jge 0x41650d
cmp eax, 3
jae 0x416508
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, 3
jl 0x4164e6
mov cl, byte [ebp - 0x62]
mov dl, byte [ebp - 0x63]
mov dh, byte [ebp - 0x64]
jmp 0x416510
push str.string_too_long
call fcn.0046c935
call fcn.00488218
mov cl, byte [ebp - 0x5d]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0x67], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x65], cl
mov byte [ebp - 0x66], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp - 0x64], edx
test eax, eax
jle 0x4165f4
mov edi, edi
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 0x4164fe
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4164fe
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x41659c
push ecx
push esi
mov ecx, edi
call fcn.00454630
mov edx, dword [ebp - 0x64]
jmp 0x4165b1
test esi, esi
jne 0x4165b3
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x4165ac
mov eax, dword [edi]
jmp 0x4165ae
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x4165e5
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x4165c7
mov eax, dword [edi]
jmp 0x4165c9
mov eax, edi
mov dl, byte [ebp - 0x5d]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x4165dc
mov eax, dword [edi]
jmp 0x4165de
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 0x416550
cmp ebx, 3
jge 0x416679
lea ecx, [ecx]
mov ecx, dword [edi + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc ebx
cmp eax, 1
jbe 0x4164fe
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4164fe
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x416630
push ecx
push esi
mov ecx, edi
call fcn.00454630
jmp 0x416645
test esi, esi
jne 0x416647
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x416640
mov eax, dword [edi]
jmp 0x416642
mov eax, edi
mov byte [eax], 0
test esi, esi
setne al
test al, al
je 0x416674
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x41665b
mov eax, dword [edi]
jmp 0x41665d
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x41666e
mov eax, dword [edi]
jmp 0x416670
mov eax, edi
mov byte [eax + esi], 0
cmp ebx, 3
jl 0x416600
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], 9
mov eax, dword [ebp - 0x1c]
dec eax
je 0x4166e6
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 0x4166a4
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x4166f9
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00451080
cmp dword [ebp - 0x18], 0x10
jb 0x41670a
push dword [ebp - 0x2c]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x41672d
push dword [ebp - 0x44]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x416752
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