Function at 0x4056c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd5ef39
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xda90c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push 0x41
push 0
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
call fcn.00d382e0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
mov al, cl
add al, 0x41
mov byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x1a
jl 0x405710
xor ecx, ecx
mov al, cl
add al, 0x61
mov byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 0x1a
jl 0x405720
xor ecx, ecx
mov al, cl
add al, 0x30
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x405730
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov word [ebp - 0x16], 0x2f2b
mov dword [edi + 0x10], 0
jb 0x40576a
mov eax, dword [edi]
jmp 0x40576c
mov eax, edi
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 1
test eax, eax
je 0x405a15
mov ecx, dword [ebp + 0xc]
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 0x5c], al
inc ebx
mov ah, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov dh, byte [ebp - 0x5c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x62], dl
mov byte [ebp - 0x63], dh
cmp ebx, 3
jne 0x405882
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x60], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x5f], 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 - 0x5e], cl
mov byte [ebp - 0x5d], al
xor ebx, ebx
nop
movzx eax, byte [ebp + ebx - 0x60]
mov ecx, dword [edi + 0x10]
mov dl, byte [ebp + eax - 0x54]
mov eax, ecx
not eax
mov byte [ebp - 0x61], dl
cmp eax, 1
jbe 0x4058b7
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4058b7
cmp dword [edi + 0x14], esi
jae 0x40583a
push ecx
push esi
mov ecx, edi
call fcn.00405520
mov dl, byte [ebp - 0x61]
test esi, esi
je 0x40586d
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x405855
mov eax, dword [edi]
jmp 0x405857
test esi, esi
jne 0x40582d
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x40584e
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x40586d
mov eax, edi
mov byte [eax], 0
jmp 0x40586d
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x405867
mov eax, dword [edi]
jmp 0x405869
mov eax, edi
mov byte [eax + esi], 0
inc ebx
cmp ebx, 4
jl 0x4057f0
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dl, byte [ebp - 0x62]
mov dh, byte [ebp - 0x63]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x405790
test ebx, ebx
je 0x405a15
mov eax, ebx
cmp ebx, 3
jge 0x4058c6
cmp eax, 3
jae 0x4058c1
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x40589f
mov cl, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov dh, byte [ebp - 0x5c]
jmp 0x4058c9
push 0xd61620
call fcn.00ce5a0a
call fcn.00ce6f55
mov cl, byte [ebp - 0x55]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x60], 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 - 0x5f], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x5d], cl
mov byte [ebp - 0x5e], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp - 0x5c], edx
test eax, eax
jle 0x40599a
nop word [eax + eax]
movzx eax, byte [ebp + edx - 0x60]
mov ecx, dword [edi + 0x10]
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x4058b7
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4058b7
cmp dword [edi + 0x14], esi
jae 0x405952
push ecx
push esi
mov ecx, edi
call fcn.00405520
mov edx, dword [ebp - 0x5c]
test esi, esi
je 0x40598b
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x40596d
mov eax, dword [edi]
jmp 0x40596f
test esi, esi
jne 0x405945
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x405966
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x40598b
mov eax, edi
mov byte [eax], 0
jmp 0x40598b
mov eax, edi
mov dl, byte [ebp - 0x55]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x405982
mov eax, dword [edi]
jmp 0x405984
mov eax, edi
mov edx, dword [ebp - 0x5c]
mov byte [esi + eax], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 0x5c], edx
cmp edx, eax
jl 0x405910
cmp ebx, 3
jge 0x405a15
nop
mov ecx, dword [edi + 0x10]
inc ebx
mov eax, ecx
not eax
cmp eax, 1
jbe 0x4058b7
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4058b7
cmp dword [edi + 0x14], esi
jae 0x4059dc
push ecx
push esi
mov ecx, edi
call fcn.00405520
test esi, esi
je 0x405a10
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x4059f7
mov eax, dword [edi]
jmp 0x4059f9
test esi, esi
jne 0x4059cf
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x4059f0
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x405a10
mov eax, edi
mov byte [eax], 0
jmp 0x405a10
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x405a0a
mov eax, dword [edi]
jmp 0x405a0c
mov eax, edi
mov byte [eax + esi], 0
cmp ebx, 3
jl 0x4059a0
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 - 0x10]
xor ecx, ebp
call fcn.00ce7031
mov esp, ebp
pop ebp
ret 0xc